Code Samples

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

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

CODE EXAMPLE 3-3 small space addcodlicense Command Example

CODE EXAMPLE 3-4 small space break Command Example

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

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

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

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

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

CODE EXAMPLE 3-10 small space deletecodlicense 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 space disconnect Example Showing Disconnecting a Session From the Domain A Shell

CODE EXAMPLE 3-14 small space dumpconfig Example

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

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

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

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

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

CODE EXAMPLE 3-20 small space history Command

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

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

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

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

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

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

CODE EXAMPLE 3-27 small space reboot Command Example

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

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

CODE EXAMPLE 3-30 small space restoreconfig Example

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

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

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

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

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

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

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

CODE EXAMPLE 3-38 small space setdefaults Example

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

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

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

CODE EXAMPLE 3-42 small space setkeyswitch on Example

CODE EXAMPLE 3-43 small space setkeyswitch off Example

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

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

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

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

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

CODE EXAMPLE 3-49 small spaceVariables for the setupdomain Command

CODE EXAMPLE 3-50 small space setupplatform Output

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

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

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

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

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

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

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

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

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

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

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

CODE EXAMPLE 3-62 small space showcomponent Sample Output

CODE EXAMPLE 3-63 small space showcomponent ib6 Sample Output

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

CODE EXAMPLE 3-65 small space showdomain Command Example

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

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

CODE EXAMPLE 3-68 small space showenvironment Platform Shell Example

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

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

CODE EXAMPLE 3-71 small space showescape Example Output

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

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

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

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

CODE EXAMPLE 3-76 small space showfru -r manr Command Output

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

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

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

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

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

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

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

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

CODE EXAMPLE 3-85 small space showsc Command

CODE EXAMPLE 3-86 small space ssh-keygen Command Example

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