On 03/04/2014 12:37 PM, Dewey Hylton wrote:
thanks, keith. i eventually remembered to check the man page, and
made a successful connection. i am currently trying to figure the
best way of mangling grub to enable this, all without going onsite.
Do this:
1) add this before your "title" lines
serial --unit=1 --speed=115200 --word=8 --parity=no --stop=1
2) add this to each entry
console=ttyb
I don't remember if it needs to be console=ttyb,115200n8 ... if you bug
me enough I'll go look it up (have this on some other systems)
Note though, if you mess up your grub line (the serial bit), you can
actually actively prevent a machine from ever reaching the boot menu.
Really. What I recommend is this
1) use the
ipmitool -I lanplus -H machine_ipmi_addr -U ADMIN -P ADMIN sol \
activate
and log in. Note which tty you are on. Once you have that, adjust
the --unit=1 to reflect this. ttya -> unit=0 , ttyb -> unit=1 , and so on
2) once you've determined this, make sure you have remote access to the
unit via java enabled web browser. I hate to say "trust me" on this,
but suffice it to say that this is for your own protection, as IPMI bugs
sometimes can render machines dumb/mute on the control path side. Make
sure you can open the remote console java app. Notice in the upper left
of that window, you can attach an iso boot image if needed. You may
need it. Keep an iso of your favorite bits (smartos-...,
systemrescuecd, ...) Use it if you need it, but for now, lets hope you
dont.
3) with a terminal serial console open, and the java enabled web browser
terminal console open, reboot the node. If it comes back up fine, you
are functional.
If it doesn't come back up, and seems to hang with a blinking cursor,
you have messed up the serial port and the console. Boot from your
rescue disk, fix grub (mount the directory, get into
$mountpoint/boot/grub and edit grub.cfg), and try again.
For those whom don't know, we've seen many cases of this type of failure
mode. The IPMI SOL changed from ttyc to ttyb in the conversion between
Nehalem and Sandy Bridge parts. From Sandy Bridge to Ivy bridge it has
been relatively constant. But grub is horribly broken in this regard,
and will happily send/accept all console bits from other places, often
not where you think. Just be aware of this, and have a plan to deal
with it.
--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
email: [email protected]
web : http://scalableinformatics.com
twtr : @scalableinfo
phone: +1 734 786 8423 x121
cell : +1 734 612 4615
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com