Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Serial Port Linux Console Access

If you have a kerberos ticket, you can connect to the serial port
console from any machine (eg, your desktop, iris, noric, etc.).

to connect to serial console:

Code Block
$ /usr/local/bin/console suncat0006

or use this command if your machine has a private /usr/local :

Code Block
$ /afs/slac/local/bin/console suncat0006

You will get this message from the console software:

Code Block
[suncat0006: Attached readwrite on conserv1]

Press enter once. You should see:

Code Block

-----------------------------------------------------

...


Red Hat Enterprise Linux Client release 5.5 (Tikanga)

...


Kernel 2.6.18-194.11.1.el5 on an x86_64

...



suncat0006 login:

...

 
-----------------------------------------------------

That is the linux login prompt on the serial console.

...

plus one character (sometimes 2 characters).
You can press ctrl-e c ? to see the possible commands:

Code Block

-----------------------------------------------------

...


Escape seq (currently ^Ec) + char

...


.    disconnect

...


a    attach readwrite

...


b    display heartbeats of consoles on this server

...


c    change to new console

...


d    down (close tty) a console

...


e    change escape sequence

...


f    force attach readwrite

...


g    get location infomation

...


h    print this message

...


i    display info about all consoles on this server

...


k    set idle timeouts for this session

...


l1   send break (halt host!)

...


m    execute a macro (? for list)

...


o    (re)open the tty file

...


p    Display and select the baud rate

...


qy   shutdown the server

...


r    replay the last 20 lines

...


s    attach readonly

...


u    show status of all consoles on this server

...


v    show server version info

...


w    show all users connected to this server

...


x

...

    examine -- show detailed console info
<cr> ignore/abort command

...


?    print this message

...


-----------------------------------------------------

To disconnect, use

Ctrl-e c .(2)

BMC/IPMI

...

Command Line Interface

You can also connect to the HP Baseboard Management Controller (ie, IPMI)
on the serial port by pressing

...

It is important to return to the linux OS login prompt when you are done
using the Baseboard Management Controller. You exit out of here and switch
the serial port back to Linux by typing 'exit', followed by Esc-Q
(escape, followed by Shift-q) Then press enter once.

Code Block

-----------------------------------------------------

...


/./-> exit

...



Command Line Interface (CLI)

...


Copyright 2004-2008 ServerEngines Corporation

...


All rights reserved.

...



Login:

...

 
-----------------------------------------------------

After typing: Esc-Q, followed by 'enter', you will see a login prompt with
a lowercase 'login: '. This is the linux login prompt. It will time out
after a minute or so, then it will give you the full linux login prompt:

Code Block

-----------------------------------------------------

...


login: Login timed out

...

 
Red Hat Enterprise Linux Client release 5.5 (Tikanga)

...


Kernel 2.6.18-194.11.1.el5 on an x86_64

...



suncat0006 login:

...

 
-----------------------------------------------------

...

Linux kernel SysRq facility

When you are connected to the linux serial port console (and NOT the BMC) you
can send the kernel SysRq commands. See this page if you are unfamiliar with
the linux kernel SysRq facility:

...

The SysRq help looks like this:

Code Block

SysRq : HELP : loglevel0-8 reBoot Crashdump tErm Full kIll thaw-filesystems(J) saK showMem Nice powerOff showPc unRaw Sync showTasks Unmount shoWcpus 

The Capital letters show the character that you use for each action. For example,
to show current memory statistics, you use 'M'.