Sun Fire
Sun Fire midrange systems platform admin manual
Sun fire midrange system controller command reference
To connect to system controller
Telnet Hostname-sc and select 0 option for paltform shell
System Controller 'it-sun99-sc':
Type 0 for Platform Shell
Type 1 for domain A console
Type 2 for domain B console
Type 3 for domain C console
Type 4 for domain D console
Input:
To go to domain console to domain shell
#.
or
ctrl + Break
or
ctrl + ] and from the telnet prompt type send break (eg: telnet> send break )
TO go to the domain console from a domain shell type "resume" from domain shell
hostname-sc:A> resume
To go to main system controller from Domain shell type "disconnect"
hostname-sc:A> disconnect
To get a OK prompt of a domain, from that domain shell, type "break"
hostname-sc:A> break
To show the boards and status
hostnmae-sc:SC>showboards
To find the firmware version of CPU's
hostname-sc:SC>showboard -proms
copy the firmware from one cpu sb0 bord to another sb2
hostname-sc:SC>flashupdate -c sb0 sb2
Enable a disbabled component in SB0
hostname-sc:SC> enablecomponent /N0/SB0/P2
Add the SB2 board to domain A
hostname-sc:SC> addboard -d A SB2
Go to domain A console from platform Shell
hostname-sc:SC> cons -d A
Power on the domain A
hostname-sc:A> setkeyswitch on
Powering boards on ...
To see the all the boards
hostname-sc:SC> showboards
Find the details in board SB2
hostname-sc:SC> showcomponent -v SB2
To setup the system in single or Dual partition mode
sun3800-sc:SC> setupplatform -p partition Partition Mode -------------- Configure chassis for single or dual partition mode? [dual]: dual sun3800-sc:SC>
4800/6800 System controller Password unlock procedure
For Firmware version 5.11.3
If the platform administrator's password is lost, the following procedure can be used to clear the password.
1. Connect the serial console in the SC card and reboot the System Controller (SC) by pressing the reset button in the SC controller.
2. The normal sequence of a System Controller rebooting is for SCPOST to run, then ScApp. You'll need to wait for ScApp to start loading, and showing the 'Copyright 2001 Sun Microsystems, Inc. All rights reserved” then
Hit Control-A
It will diasplay “ -> Task not found” and continue to load until the SC login shell
Press Enter, it will get into below prompt
->
3. Make a note of the current boot flags settings. This will be used to restore the boot flags to the original value.
-> getBootFlags() value = 48 = 0xC = '0'
- Save the 0x number for # 7 below.
4. Change the boot flags to disable autoboot.
-> setBootFlags (0x10)
5. Reboot the System Controller. Once reset, it will stop at the -> prompt. Use CONTROL-X or the reboot command to do this.
6. Enter the following commands at the -> prompt.
-> kernelTimeSlice 5 -> javaConfig -> javaClassPathSet "/sc/flash/lib/scapp.jar:/sc/flash/lib/jdmkrt.jar" -> javaLoadLibraryPathSet "/sc/flash" -> java "-Djava.compiler=NONE -Dline.separator=\r\n sun.serengeti.cli.Password"
Wait for the following System Controller messages to display. Your prompt will come back right away, but it'll take about 10 seconds for these messages to show up:
Clearing SC Platform password... Done. Reboot System Controller.
7. After the above messages are displayed, restore the bootflags to the original value using the setBootFlags() command.
-> setBootFlags (0xC) * Use the value returned from #3 above.
8. Reboot the System Controller using CONTROL-X or the reboot command. Once rebooted, the platform administrator's password will be cleared.
FOR Firmware version 5:17.x and above
1. Connect the serial console in the System controller
2. Press the Reset button in the SC
3. Wait for ScApp to start loading and when you see the Copyright message Copyright 2005 Sun Microsytems, Inc. All rights reserved. Use in Subject to license terms.
4. Press Ctrl + A - you wil see this messages
Task not found Spawning new shell.. ->
It will continue to load the ScApp until the menu displayesd
5. Press Enter from the platform login menu.
6. Make note of the current BootFlag value
getBootFlags() value = 13 = 0xd Note : Save the 0x number for step
7. Chang the boot flags to disable autoboot
->setBootFlags (0x10) Value = 13 = 0xd
8. Verify the changed value
->getBootFlags() value = 16 = 0x10
9. Reboot the SC using either “Ctrl + x” or press the reset
10. If the firemware is between 5.17.x to 5.18.x then
->ld 1,0,”/sc/flash/vxAddOn.o”
->uncompressJVM(“/sc/flash/JVM.zip”,”/sc/flash/JVM”);
If the firmware is 5.19.x and later then
->ld 1,0,”/sc/flash/vxAddOn.o”
->uncompressFile(“/sc/flash/JVM.zip”,”/sc/flash/JVM”);
11. Enter the following commands at the -> prompt
-> kernelTimeSlice 5
-> javaConfig
-> javaClassPathSet “/sc/flash/lib/scapp.jar:/sc/flash/lib/jdmkrt.jar”
-> javaLoadLibraryPathSet “/sc/flash”
-> java “-Djava.compiler=NONE –Dline.separator=\r\n sun.serengeti.cli.Password”
12. Wait for the following message to display (it may take upto 10 seconds after the prompt retun to ->)
Clearing SC Platform password …
Done. Reboot System Controller.
13. After the above message display restore the bootflags to the original
-> setBootFlags(0xd)
14. Reboot the SC using Ctrl + x or press the reboot command.
15. If the system has more than one system controller for failover then follow the below command from platform shell
Hostname-sc:SC> setfailover on