ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Konstantin Pavlov <thresh@altlinux.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] I: netconsole
Date: Mon, 7 Dec 2009 11:53:24 +0300
Message-ID: <20091207085324.GA21141@snowwhite.immo> (raw)
In-Reply-To: <200912071245.24169.a_s_y@sama.ru>

[-- Attachment #1: Type: text/plain, Size: 1214 bytes --]

On Mon, Dec 07, 2009 at 12:45:23PM +0400, Sergey wrote:
> On Tuesday 03 November 2009, Vladimir V. Kamarzin wrote:
> 
> > Кто не в курсе - этот самый модуль позвляет удобно логировать зависания ядра
> > (kernel panic) без фотографирования монитора или подключения serial console
> > через com-port. Достаточно настроить netconsole и удалённый syslog-демон, и
> > вот он - лог паники.
>  
> Вот теперь бы его настроить...

Ну например глянуть в
/usr/share/doc/kernel-doc-*/networking/netconsole.txt

> И как проверить ?

tcpdump'ом.

> Наличие MAC в настройках наводит на мысль, что syslog-сервер должен быть в одном сегменте ethernet,
> хотя, в принципе, с броадкастом должен и до маршрутизатора долететь...

в netconsole.txt этот вопрос освещен.

> Пока сделал такой конфиг:
> 
> # local machine
> SRCIP=10.1.1.182
> DEV=""
> SRCPORT=54321
> 
> # remote syslog address, port and mac
> TGTIP=10.1.3.13
> TGTPORT=514
> TGTMAC=""
> 
> DEV= пустой, так как VLAN. 

У меня почти везде bond-устройства и я указывал первый интерфейс, что туда
входит.  Не уверен, что будет работать с vlan'ами, впрочем.

-- 
<swi> ldv не патчит. Он просто хмуро смотрит на код и тот правится сам

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-12-07  8:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03 13:07 Vladimir V. Kamarzin
2009-12-07  8:45 ` Sergey
2009-12-07  8:53   ` Konstantin Pavlov [this message]
2009-12-07  9:14     ` Sergey
2009-12-07  9:18       ` Konstantin Pavlov
2009-12-07  9:39         ` Sergey
2009-12-07  9:46           ` Sergey
2009-12-07  8:57   ` Sergey
2009-12-07 12:19 ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091207085324.GA21141@snowwhite.immo \
    --to=thresh@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git