Solaris Notes
Serial Console Access From Solaris (tip)
tip hardwire
From within tip, you can access a tip menu by pressing ~? after a carriage return. To quit the tip session, press ~. and to send a break character, type ~#
Some common tip commands are:
- ~. (end session)
- ~# (break--same as STOP-A)
- ~? (list all tip commands)
Serial Console Access From Linux (minicom)
Configure minicom
+-----------------------------------------------------------------------+ | A - Serial Device : /dev/ttyS0 | | B - Lockfile Location : /var/lock | | C - Callin Program : | | D - Callout Program : | | E - Bps/Par/Bits : 9600 8N1 | | F - Hardware Flow Control : Yes | | G - Software Flow Control : No | | | | Change which setting? | +-----------------------------------------------------------------------+ After making all necessary changes, hit the ESC key to go back to the "configurations" menu. Now go to "Modem and dialing". Change the "Init string" to "~^M~". Save the settings (as dflt), and then restart Minicom. You should now see a login prompt.
Serial Console Access From Linux (uucp/cu)
"cu" is a very minimal command from the uucp package.
cu -l [device] -s [speed]
Example:
cu -l /dev/ttyS0 -s 9600
You may need to hit enter before you see the login prompt. If you see a bunch of weird characters, then you probably specified the wrong speed. To exit, just type "~.".
Some links:
- http://www.princeton.edu/~unix/Solaris/troubleshoot/tip.html
- http://www.tech-recipes.com/rx/130/serial-communication-to-a-console-from-solaris-using-tip/
- http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_UsingSerialConsoles.shtml
Boot Info
boot –s : To boot system into single mode
boot –a : To boot system step-by-step i.e. interactively
To boot into single user mode from CD-ROM, from the ok (bootprom) prompt: boot cdrom -s
boot -s ;from root disk boot net -s ;from network boot cdrom -s ;from cdrom
printenv
eeprom lets you get at nvram (obp) variables from within Solaris.
bootdisk
boot-device
auto-boot
/etc/system: The /etc/system file is read by the kernel, and the system parameters are set.
http://www.adminschoice.com/docs/booting__problems_in_solaris.htm
http://www.tech-recipes.com/rx/122/boot-solaris-from-cd-rom-to-solve-problems/
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
To list disk sizes:
format < /dev/null # or iostat -En
Veritas disk list:
vxdisk list
