+--------------------------------------------------------------------------------------------------------+
T-Series Server Commands
+--------------------------------------------------------------------------------------------------------+

->show /SP/network
->start /SYS

To reach the system console from the service processor
->start /SP/console

->set /HOST send_break_action=break
->reset /SYS
->start /SYS
->stop /SYS

-> show /SYS/LOCATE
-> set /SYS/LOCATE value=on
-> set /SYS/LOCATE value=off

-> show /HOST/bootmode

-> set /HOST/bootmode state=reset_nvram
-> set /HOST/bootmode script="setenv auto-boot? false"

-> show –o table –level all /SYS

-> set /SP reset_to_defaults=all
-> reset /SP

-> set /HOST/diag mode=normal
-> set /HOST/diag level=max
-> set /HOST/diag trigger=power-on-reset

-> show /SYS/component component_state

To Clear a Fault

-> show /SP/faultmgmt
-> set /SYS/component clear_fault_action=true

-> set /SP customer_frudata=data

-> set /HOST/bootmode script="set-default input-device set-default output-device" 

+--------------------------------------------------------------------------------------------------------+
Display Transfer Commands
+--------------------------------------------------------------------------------------------------------+

# eeprom output-device=screen
# eeprom input-device=keyboard

# fbconfig -res 1024x768x75
+--------------------------------------------------------------------------------------------------------+
OBP Commands
+--------------------------------------------------------------------------------------------------------+oCreating the devalias for booting:
========================================================================
Use  "show-disks"  and  "probe-fcal-all"  to gather path info.
========================================================================
{a}ok show-disks
a) /sbus@2,0/SUNW,socal@d,10000/sf@1,0/ssd
b) /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd
q) NO SELECTION
Enter Selection, q to quit: q
{a} ok probe-fcal-all
/sbus@3,0/SUNW,socal@d,10000/sf@1,0
Port#0 received soc-status=14
/sbus@3,0/SUNW,socal@d,10000/sf@0,0
WWN 2005080020a1ef52 Loopid  1
WWN 210000203714cf98 Loopid e2
Disk     SEAGATE ST19171FCSUN9.0G137E9841W393  WWN 210000203714d483 Loopid e4
Disk     SEAGATE ST19171FCSUN9.0G137E9841V820  WWN 210000203714da86 Loopid e8
Disk     SEAGATE ST19171FCSUN9.0G137E9842V612  WWN 210000203714d783 Loopid ef
=======================================================================
Create the alias for the boot disk:
=======================================================================
Method I
--------
{a} OK nvalias mybootdisk /sbus@3,0/SUNW,socal@d,1000/sf@1,0/ssd@0,0
-- or --
{a} OK nvalias mybootdisk /sbus@3,0/SUNW,socal@d,1000/sf@1,0/WWN210000203714d483,0:a
NOTE: The WWN in this example is the WWN of the boot disk. On certain occasions [:a] may need to be omitted.
Method II
---------
{a}ok nvedit
0:nvalias mybootdisk /sbus@3,0/SUNW,socal@d,1000/sf@1,0/WWN210000203714d483,0 [Ctrl-c]
{a}ok nvstore
{a}ok setenv use-nvramrc? true
{a}ok setenv boot-device mybootdisk
{a}ok reset-all


For Sun Blade 6000

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

ok setenv output-device rscreen 
ok setenv input-device rkeyboard
+--------------------------------------------------------------------------------------------------------+

 

=====================================
To Create a Hardware Mirrored Volume
=====================================
# raidctl
# raidctl -c c0t0d0 c0t1d0
Creating RAID volume c0t0d0 will destroy all data on member disks,
proceed
(yes/no)? yes
Volume ’c0t0d0’ created
=====================================
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
--------------------------------------------------------
c0t0d0 IM RESYNCING c0t0d0 OK
c0t1d0 OK
=====================================
# raidctl -c –r 1 c0t0d0 c0t1d0
Creating RAID volume c0t0d0 will destroy all data on member disks,
proceed
(yes/no)? yes
Volume c0t0d0 created
=====================================
# raidctl -c -r 0 c0t1d0 c0t2d0 c0t3d0
Creating RAID volume c0t1d0 will destroy all data on member disks,
proceed
(yes/no)? yes
Volume ’c0t1d0’ created
=====================================
# raidctl
RAID Volume RAID RAID Disk
Volume Type Status Disk Status
=====================================