Code Samples

CODE EXAMPLE 3-1small space addboard Example in the Platform Shell

CODE EXAMPLE 3-2small space addboard Example in the Domain Shell

CODE EXAMPLE 3-3small space addcodlicense Command Example

CODE EXAMPLE 3-4small space break Command Example

CODE EXAMPLE 3-5small space connections Command for the Platform Shell

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

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

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

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

CODE EXAMPLE 3-10small space deletecodlicense Command Example

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

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

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

CODE EXAMPLE 3-14small space dumpconfig Example

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

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

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

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

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

CODE EXAMPLE 3-20small space history Command

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

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

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

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

CODE EXAMPLE 3-25small space poweron Example Powering On sb2

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

CODE EXAMPLE 3-27small space reboot Command Example

CODE EXAMPLE 3-28small space reset Command Example From Domain A

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

CODE EXAMPLE 3-30small space restoreconfig Example

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

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

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

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

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

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

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

CODE EXAMPLE 3-38small space setdefaults Example

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

CODE EXAMPLE 3-40small space setfailover Command Example Disabling Failover

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

CODE EXAMPLE 3-42small space setkeyswitch on Example

CODE EXAMPLE 3-43small space setkeyswitch off Example

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

CODE EXAMPLE 3-45small space setls Command Example Enabling the Location of a CPU/Memory Board in Slot sb4

CODE EXAMPLE 3-46small space setls Command Example Enabling the Location of an I/O Assembly in Slot ib6

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

CODE EXAMPLE 3-48small space setls Command Example Disabling the Location of a CPU/Memory Board in Slot sb4

CODE EXAMPLE 3-49small space Variables for the setupdomain Command

CODE EXAMPLE 3-50small space setupplatform Output

CODE EXAMPLE 3-51small space setupplatform -p hostid Output

CODE EXAMPLE 3-52small space setupplatform -p hostid -m auto Output

CODE EXAMPLE 3-53small space showboards Command for the Platform Shell

CODE EXAMPLE 3-54small space showboards Command with the -p version Option

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

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

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

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

CODE EXAMPLE 3-59small space showcodusage Example Output by Resource

CODE EXAMPLE 3-60small space showcodusage Example Output by Domain

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

CODE EXAMPLE 3-62small space showcomponent sb4 Sample Output

CODE EXAMPLE 3-63small space showcomponent ib6 Sample Output

CODE EXAMPLE 3-64small space showdate Command for the Platform Shell

CODE EXAMPLE 3-65small space showdomain Command Example

CODE EXAMPLE 3-66small space showdomain -v Command Example

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

CODE EXAMPLE 3-68small space showenvironment Platform Shell Example

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

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

CODE EXAMPLE 3-71small space showfailover Command Indicating Failover is Functioning Normally

CODE EXAMPLE 3-72small space showfailover Command Indicating Failover Has Been Disabled

CODE EXAMPLE 3-73small space showfailover Command in Verbose Mode

CODE EXAMPLE 3-74small space showfailover Command Indicating SC Failover is Inactive

CODE EXAMPLE 3-75small space showkeyswitch Example Showing the Keyswitch Set to On

CODE EXAMPLE 3-76small space showkeyswitch Example Showing the Keyswitch Set to Off

CODE EXAMPLE 3-77small space showkeyswitch Example Showing the Keyswitch Set to Standby

CODE EXAMPLE 3-78small space Sample Output of the showlogs Command Run After Rebooting the System

CODE EXAMPLE 3-79small space showplatform Output for a Sun Fire 6800 System

CODE EXAMPLE 3-80small space showplatform -v Output for a Sun Fire 6800 System

CODE EXAMPLE 3-81small space showplatform -p hostid Output after a HostID/MAC Address Swap

CODE EXAMPLE 3-82small space showplatform -p hostid Output after a HostID/MAC Address Restore

CODE EXAMPLE 3-83small space showsc Command

CODE EXAMPLE 3-84small space testboard Example Testing CPU/Memory Board sb0