Code Samples

CODE EXAMPLE 3-1 small spaceaddboard Example in the Platform Shell

CODE EXAMPLE 3-2 small spaceaddboard Example in the Domain Shell

CODE EXAMPLE 3-3 small spaceaddcodlicense Command Example

CODE EXAMPLE 3-4 small spacebreak Command Example

CODE EXAMPLE 3-5 small spaceconnections Command for the Platform Shell

CODE EXAMPLE 3-6 small spaceconsole Example and No Password Set Accessing Domain B

CODE EXAMPLE 3-7 small spaceconsole Example and A Password Set Accessing Domain A

CODE EXAMPLE 3-8 small spacedeleteboard Example Showing Deleting I/O Assembly 7

CODE EXAMPLE 3-9 small spacedeleteboard Example Showing Deleting CPU/Memory Board 3

CODE EXAMPLE 3-10 small spacedeletecodlicense Command Example

CODE EXAMPLE 3-11 small spaceDisconnecting a Session From the System Controller Platform Shell

CODE EXAMPLE 3-12 small spaceDisconnecting a Session From the System Controller Platform Console

CODE EXAMPLE 3-13 small spacedisconnect Example Showing Disconnecting a Session From the Domain A Shell

CODE EXAMPLE 3-14 small spacedumpconfig Example

CODE EXAMPLE 3-15 small spaceflashupdate Example Updating the Active System Controller Board and the System Controller Real Time Operating System

CODE EXAMPLE 3-16 small spaceflashupdate Example Updating Replacement CPU/Memory Board sb4

CODE EXAMPLE 3-17 small spacehelp Command Example Displaying Information on the addboard Command

CODE EXAMPLE 3-18 small spacehelp Command Example Displaying Commands Beginning With the Word show

CODE EXAMPLE 3-19 small spacehelp Command Example Displaying Commands Beginning With the Letter A

CODE EXAMPLE 3-20 small spacehistory Command

CODE EXAMPLE 3-21 small spacepassword Command Example With a Password Already Set

CODE EXAMPLE 3-22 small spacepassword Command Example With No Password Set

CODE EXAMPLE 3-23 small spacepoweroff Command Example Showing Powering Off sb2

CODE EXAMPLE 3-24 small spacepoweroff Command Example Showing Powering Off All Power Supplies, Fan Trays, and System Boards in the Platform Shell

CODE EXAMPLE 3-25 small spacepoweron Example Powering On sb2

CODE EXAMPLE 3-26 small spacepoweron Example Showing Powering On All CPU/Memory Boards and I/O Assemblies in Domain A

CODE EXAMPLE 3-27 small spacereboot Command Example

CODE EXAMPLE 3-28 small spacereset Command Example From Domain A

CODE EXAMPLE 3-29 small spacereset -a Command Example From Domain A

CODE EXAMPLE 3-30 small spacerestoreconfig Example

CODE EXAMPLE 3-31 small spaceresume Command Example in Active Domain A

CODE EXAMPLE 3-32 small spacesetdate Command Example in the Platform Shell

CODE EXAMPLE 3-33 small spacesetdate -r Command Example Setting the Date From a Date Host

CODE EXAMPLE 3-34 small spacesetdate -t Command Example Setting the Time Zone to Pacific Standard Time Using the Offset From Greenwich Mean Time

CODE EXAMPLE 3-35 small spacesetdate -t Command Example Setting the Date and Time Zone to Eastern Standard Time Using Time Zone Abbreviations

CODE EXAMPLE 3-36 small spacesetdate -t Command Example Setting the Time Zone to Japan Standard Time Using the Offset From Greenwich Mean Time

CODE EXAMPLE 3-37 small spacesetdate -t Command Example Setting the Time Zone to Eastern Central Time Using Time Zone Abbreviations

CODE EXAMPLE 3-38 small spacesetdefaults Example

CODE EXAMPLE 3-39 small spacesetfailover Command Example (run on the Spare SC) of Manual Failover

CODE EXAMPLE 3-40 small spacesetfailover Command Example Disabling Failover

CODE EXAMPLE 3-41 small space setfailover Command Example Re-enabling Failover

CODE EXAMPLE 3-42 small spacesetkeyswitch on Example

CODE EXAMPLE 3-43 small spacesetkeyswitch off Example

CODE EXAMPLE 3-44 small spacesetkeyswitch off Example Shutting Down Domain B From the Platform Shell

CODE EXAMPLE 3-45 small spacesetls Command Example Enabling the Location of a CPU/Memory Board sb4

CODE EXAMPLE 3-46 small spacesetls Command Example Enabling the Location of an I/O Assembly ib6

CODE EXAMPLE 3-47 small spacesetls Command Example Disabling the Location of a CPU/Memory Board sb0 and CPU port 3

CODE EXAMPLE 3-48 small spacesetls Command Example Disabling the Location of a CPU/Memory Board sb4

CODE EXAMPLE 3-49 small spaceVariables for the setupdomain Command

CODE EXAMPLE 3-50 small spacesetupplatform Output

CODE EXAMPLE 3-51 small spacesetupplatform -p hostid Output

CODE EXAMPLE 3-52 small spacesetupplatform -p hostid -m auto Output

CODE EXAMPLE 3-53 small spaceshowboards Example Output for the Platform Shell

CODE EXAMPLE 3-54 small spaceshowboards Command with the -p Option

CODE EXAMPLE 3-55 small spaceshowboards -a Command for the Domain Shell

CODE EXAMPLE 3-56 small spaceshowcodlicense Example Output - Formatted COD RTU License Data

CODE EXAMPLE 3-57 small spaceshowcodlicense -r Example Output - COD RTU License Keys

CODE EXAMPLE 3-58 small spaceshowcodlicense -v Example Output - Formatted and Raw COD RTU License Data

CODE EXAMPLE 3-59 small spaceshowcodusage Example Output by Resource

CODE EXAMPLE 3-60 small spaceshowcodusage Example Output by Domain

CODE EXAMPLE 3-61 small spaceshowcodusage Example Output by Both Resource and Domain

CODE EXAMPLE 3-62 small spaceshowcomponent Sample Output

CODE EXAMPLE 3-63 small spaceshowcomponent Sample Output

CODE EXAMPLE 3-64 small spaceshowdate Command for the Platform Shell

CODE EXAMPLE 3-65 small spaceshowdomain Command Example

CODE EXAMPLE 3-66 small spaceshowdomain -v Command Example

CODE EXAMPLE 3-67 small spaceshowdomain -p bootparams Example Displaying Boot Parameter Information

CODE EXAMPLE 3-68 small spaceshowenvironment Platform Shell Example

CODE EXAMPLE 3-69 small spaceshowerrorbuffer Example Output for an Interconnect Test

CODE EXAMPLE 3-70 small spaceshowerrorbuffer Example Output for a Hardware Error

CODE EXAMPLE 3-71 small spaceshowerrorbuffer Example Output - Persistent Error Information

CODE EXAMPLE 3-72 small spaceshowescape Example Output

CODE EXAMPLE 3-73 small spaceshowfailover Command Indicating Failover is Functioning Normally

CODE EXAMPLE 3-74 small spaceshowfailover Command Indicating Failover Has Been Disabled

CODE EXAMPLE 3-75 small spaceshowfailover Command in Verbose Mode

CODE EXAMPLE 3-76 small spaceshowfailover Command Indicating SC Failover is Inactive

CODE EXAMPLE 3-77 small spaceshowfru -r Command Output

CODE EXAMPLE 3-78 small spaceshowkeyswitch Example Showing the Keyswitch Set to On

CODE EXAMPLE 3-79 small spaceshowkeyswitch Example Showing the Keyswitch Set to Off

CODE EXAMPLE 3-80 small spaceshowkeyswitch Example Showing the Keyswitch Set to Standby

CODE EXAMPLE 3-81 small spaceSample Output of the showlogs Command Run After Rebooting the System

CODE EXAMPLE 3-82 small spaceSample showlogs Persistent Log Output

CODE EXAMPLE 3-83 small spaceSample showlogs Persistent Log Output, Critical Messages Only

CODE EXAMPLE 3-84 small spaceSample showlogs Persistent Log Output, Five Messages Displayed

CODE EXAMPLE 3-85 small spaceshowplatform Output for a Sun Fire 6800 System

CODE EXAMPLE 3-86 small spaceshowplatform -v Output for a Sun Fire 6800 System

CODE EXAMPLE 3-87 small spaceshowplatform -p hostid Output after a HostID/MAC Address Swap

CODE EXAMPLE 3-88 small spaceshowplatform -p hostid Output after a HostID/MAC Address Restore

CODE EXAMPLE 3-89 small spaceshowsc Command

CODE EXAMPLE 3-90 small spacessh-keygen Command Example

CODE EXAMPLE 3-91 small spacetestboard Example Testing CPU/Memory Board sb0