SUMMARY: Sun Fire X2200 serial (cli over ssh) system console

From: Grzegorz Bakalarski <G.Bakalarski_at_icm.edu.pl>
Date: Fri Feb 02 2007 - 12:16:03 EST
Dear all

Big thanks to Sandor W. Sklar who gave me hope that
a magic of SUN can work.
Even before I tested the solution however I did not follow
exactly steps as they were written in a docs (i.e. I've set speed 
to standard 9600 instead of suggested 115200 and this did not work)
One more thing to say that this setup of system sorial/sol console
is also for other people hard to understand ... Few people returned 
hardwer to SUN because ot it, some had a strong will to throw it 
through a window ...

here is answer for may  question (attached at the end of email).

Sandor W. Sklar wrote:

"The solution can be found on page 13 of the PDF manual "ELOM 
Administrators Guide", document # 869-6588-11.  You can download it
from http://docs.sun.com."

Actually the number of doc has changed so it is 869-6588-12 as of Feb 2nd/2007.

For any sake I copy the steps:

1. Log in to the Solaris system as root (superuser).

2. Edit the /boot/solaris/bootenv.rc file to point to ttyb speed to 115200 as follows: 

setprop ttyb-mode 115200,8,n,1,-
setprop console `ttyb' 

(NOTE: ttyb!!!!)

3. In the /boot/grub/menu.1st file, edit the splashimage and kernel lines to read as follows:

# splashimage /boot/grub/splash.xpm.gz
kernel /platform/i86pc/multiboot -B console=ttyb

(NOTE: splashimage command is commented out by default. You have to look around second line)

4. Change the login service to listen at 115200 by making the following edits to /var/svc/manifest/system/console-login.xml:

	a. Change console to 115200 in the propval line to read as follows:

		<propval name='label' type='astring' value='115200'>

	b. Add the following text to the file /kernel/drv/asy.conf:

		bash-3.00# more /kernel/drv/asy.conf

		#
		# Copyright (c) 1999 by Sun Microsystems, Inc.
		# All rights reserved.
		#
		# pragma ident "@(#)asy.conf 1.12 99/03/18 SMI"

		interrupt-priorities=12;

		name="asy" parent="isa" reg=1,0x2f8,8 interrupts=3; 

(NOTE: relevant last line!)

5. Type the following to reboot the operating system:

reboot -- -r


(
then you make ssh connection to serial over lan console:
 ssh root@host-sol
 [type-in password]

/SP -> start /SP/AgentInfo/console
console activate successful
press ESC ( to terminate session...

host console login:

That's all. Note the unusual Esc-( sequence to disconnect.
Note aslo that you can disconnect and reconnect again as you wish .
)


Again big thanks to Sandor!

Best regards,


GB

P.S. This document also decribes how to get sol console if you
have linux in the box

------------------------ ORIGINAL QUERRY ---------------------------
> 
> Has anyone got into hands X2200 M2 machine (2x dual core AMD Opteron
> machine by SUN)???
> It has Embedded LOM ...
> Since two days I've been trying to setup full
> access to console (Solaris 10 OS) but to no avail ...
> I can log into Service Processor. I can do power off/on...
> I can get into BIOS, I even gets GRUB chooser output ...
> But then  nothing ... Tried different setting in BIOS,
> option to boot loader (like -B console=ttya), setting
> in bootenv.rc ...., nothing happens.
> I don't want to use graphics interface (JAVA GUI) with VGA redirection 
> I need small remote access method like ALOM or RSC on regular
> SPRAC servers (V880 V440 ...) or even on X4500 server
> (which has Integrated LOM and console works excellent there ) 
> This X2200 is really bogus ...
> Any helps? I've read tons of SUN docs and googled around whole
> universe ...
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Feb 2 12:16:55 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:04 EST