Re: monitoring serial consoles (was Re: erorrs from spec_getpages)

2003-10-18 Thread Dmitry Morozovsky
On Sat, 18 Oct 2003, Dan Langille wrote:

DL Moving this thread over to -questions, please don't include
DL [EMAIL PROTECTED] in the reply

agrred [but the please don't drop me from CC list, as I do not read
-question ;)]

DL  That's why I always try to set up logged serial console for any machine with
DL  more than marginal importance. BTW, comms/conserver-com port is of great use
DL  for this purpose!
DL
DL I have an 8 port serial Boca card here, which I have yet to get
DL running.  How does comms/conserver-com work?  I couldn't determine
DL that from the FAQ.  Does it need any hardware?  How does it monitor
DL the serial console?  Do you connect two boxes together via their
DL serial ports?  Box A reports on Box B, and vice versa?
DL
DL Or does it just monitor the serial console and report back to a
DL central server?

For two machines each capable of 2 serial ports (usually, but it's not that
obvious with modern mobos and/or server/19/compact platforms), I'd connect
each sio0/com1 to other's sio1/com2 with null-modem cable, enable serial
console and getty at ttyd0.

For servers cluster, one of machines should be elected as comserver and
equipped with pultiport card, other's sio0's connected to its multiport, and
its own sio0 -- to sio1 somewhere.

each machine with remote console target then runs comserver. In the simplest
case of thw machines each conserver.cf would be like

-- 8 --
# name:path:baud:logfile:mark:break
LOGDIR=/var/log
com1:/dev/cuaa0:9600p::30ma
#
%%
# Access part
#
trusted: localhost host.domain.tld
#allow: localhost woozle.rinet.ru host.domain.tld
refuse: 0.0.0.0/0
-- 8 --

conservers could also be cascaded, but that's another beast story ;-)

DL  I assumed here that usually you have more than one machine per physical
DL  location; otherwise, I'd set up remote logging, preferrably to two different
DL  machines via two different interfaces, but such ideal network design is
DL  *rarely* reqchable ;-)
DL
DL I have one location which has only one box.  That box and the
DL bandwidth is kindly donated by BCHosting.com, and hosts
DL freebsddiary.org, freshports.org, etc.  It does about 45GB a month
DL (at last check).  I'd like to have a serial console there.  But if it
DL could the console remotely, that would be good.

well, there are devices which do real _remote_ console job; I suppose you can
politely ask BCHosting if they can setup such remote console for you; it can
greatly simplify remote upgrades, for example. However, not any (read: rare)
non-rackmount mobo is able to redirect, say, BIOS output to com port, so that
you can't remotely tweak ACPI and/or memory timings...

Good colocation support is almost always great; if you have good hardware
support _in_addition_ to that, you can sleep much better ;-P

Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- [EMAIL PROTECTED] ***

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


monitoring serial consoles (was Re: erorrs from spec_getpages)

2003-10-18 Thread Dan Langille
Moving this thread over to -questions, please don't include 
[EMAIL PROTECTED] in the reply

On 18 Oct 2003 at 19:39, Dmitry Morozovsky wrote:

 On Sat, 18 Oct 2003, Dan Langille wrote:
 
 [snip]
 
 DL  Well I was in impression you've swapped out the disk, not cable, hence my
 DL  assumption. Sure it may be wrong cable; however, I suppose at least some ATA
 DL  errors should be logged somewhere before spec_getpages...
 DL
 DL They may have been, but they were not in /var/log/messages.  If they
 DL were on the console, they were scrolled off the top.  I couldn't
 DL scroll up because the keyboard hadn't been attached at boot, and I
 DL had not modified the kernel to allow for that situation.
 
 That's why I always try to set up logged serial console for any machine with
 more than marginal importance. BTW, comms/conserver-com port is of great use
 for this purpose!

I have an 8 port serial Boca card here, which I have yet to get 
running.  How does comms/conserver-com work?  I couldn't determine 
that from the FAQ.  Does it need any hardware?  How does it monitor 
the serial console?  Do you connect two boxes together via their 
serial ports?  Box A reports on Box B, and vice versa?

Or does it just monitor the serial console and report back to a 
central server?

 I assumed here that usually you have more than one machine per physical
 location; otherwise, I'd set up remote logging, preferrably to two different
 machines via two different interfaces, but such ideal network design is
 *rarely* reqchable ;-)

I have one location which has only one box.  That box and the 
bandwidth is kindly donated by BCHosting.com, and hosts 
freebsddiary.org, freshports.org, etc.  It does about 45GB a month 
(at last check).  I'd like to have a serial console there.  But if it 
could the console remotely, that would be good.

Cheers
-- 
Dan Langille : http://www.langille.org/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]