Skip to main content

Appendix C Setup Command Workflow


Appendix C Setup Command Workflow
This appendix describes the workflow of the XSCF commands executed in installation of the SPARC M10-4S.
For details, see the linked sections listed in Table C-1.
Table C-1  XSCF setup command examples
XSCF command example Description Mandatory? Linked section
Making the initial system settings    
version -c xcp Displays the XCP version Yes "6.4 Checking the XCP Version"
flashupdate -c sync Updates the XCP version to match it on any chassis that has a different XCP version Yes "6.4 Checking the XCP Version"
showaltitude Displays the system altitude Yes "6.5 Checking the Altitude Setting"
setaltitude -s altitude=100 Sets the altitude
Example: The system altitude is set to 100 m.
Optional "6.5 Checking the Altitude Setting"
rebootxscf -y -a Resets the XSCF Optional (*1) "6.5 Checking the Altitude Setting"
showtimezone -c tz Displays the XSCF time zone No "6.6 Checking the Time Setting"
settimezone -c settz -a Lists the time zones that can be set No "6.6 Checking the Time Setting"
settimezone -c settz -s Asia/Tokyo Sets the time zone
Example: "Asia/Tokyo" is set.
Yes "6.6 Checking the Time Setting"
showdate Displays the XSCF clock date and time Yes "6.6 Checking the Time Setting"
setdate -s 102016592012.00 Sets the XSCF clock date and time
Example: 16:59:00 on 2012/10/20 in local time (JST) is set.
Yes "6.6 Checking the Time Setting"
testsb -v -p -s -a -y Performs an initial diagnosis of the PSB Yes "6.7 Performing a Diagnosis Test"
showhardconf -M Displays information on each FRU Yes "6.8 Checking the Component Status"
showhardconf -u Displays the number of mounted units by FRU No "6.8 Checking the Component Status"
showlogs error Displays an error log Yes "6.8 Checking the Component Status"
showstatus Displays information on a degraded unit Yes "6.8 Checking the Component Status"
Creating an XSCF user    
showpasswordpolicy Displays the password policy settings No "7.1 Setting the Password Policy"
setpasswordpolicy -y 3 -m 8 -d 2 -u 0 -l 0 -o 0 -M 60 -w 15 -r 3 Sets the system password policy
Example:
- A retry count of up to 3

- A password length of 6 characters or more when the password contains 2 numeric characters. A password length of 8 characters or more when the password does not contain numeric characters

- An expiration time of 60 days

- 15 days ahead as the start date for warnings before the password expires

- 3 as the number of passwords to remember
Yes "7.1 Setting the Password Policy"
adduser jsmith Creates a user account Yes "7.2 Setting a User Account and Password"
password jsmith Sets a password Yes "7.2 Setting a User Account and Password"
setprivileges jsmith useradm platadm Assigns a user privilege Yes "7.2 Setting a User Account and Password"
showuser -l Checks information on a created user account No "7.2 Setting a User Account and Password"
Configuring the Telnet/SSH/HTTPS service    
showtelnet Displays the Telnet service status No "7.3.1 Configuring the Telnet service"
settelnet -c enabled Starts the Telnet service Optional "7.3.1 Configuring the Telnet service"
showssh Displays SSH service information No "7.3.2 Configuring the SSH service"
setssh -c enabled Starts the SSH service Optional "7.3.2 Configuring the SSH service"
setssh -c genhostkey Generates a host key Optional "7.3.2 Configuring the SSH service"
showhttps Displays the HTTPS service status No "7.4 Configuring the HTTPS Service"
sethttps -c enable Starts the HTTPS service Optional "7.4 Configuring the HTTPS Service"
Configuring the XSCF network    
showhostname -a Displays the set host names of the master chassis and the chassis with the standby XSCF No "7.5.1 Setting an XSCF host name and domain name"
sethostname bb#00 scf0-hostname Sets a host name
Example: The host name "scf0-hostname" is set for BB#00.
Optional "7.5.1 Setting an XSCF host name and domain name"
sethostname -d example.com Sets a DNS domain name
Example: The domain name "example.com" is set.
Optional "7.5.1 Setting an XSCF host name and domain name"
setnetwork bb#00-lan#0 -m 255.255.255.0 192.168.1.10 Configures an XSCF-LAN network interface
Example: The IP address 192.168.1.10 and the net mask 255.255.255.0 are set for XSCF-LAN#0 of BB#00.
Yes "7.5.2 Setting an Ethernet (XSCF-LAN) IP address"
setnetwork lan#0 -m 255.255.255.0 192.168.1.12 Sets a takeover IP address
Example: The takeover IP address 192.168.1.12 and the net mask 255.255.255.0 are set for XSCF-LAN#0.
Yes "7.5.3 Setting a takeover IP address"
showsscp -a Displays the SSCP link setting values No "7.5.4 Setting an SSCP IP address"
setsscp Assigns an IP address to an SSCP link Optional "7.5.4 Setting an SSCP IP address"
showroute -a Displays routing information No "7.5.5 Setting the routing"
setroute -c add -n 0.0.0.0 -g 192.168.1.1 bb#00-lan#0 Sets routing information
Example: The default gateway IP address 192.168.1.1 is added to XSCF-LAN#0 of BB#00.
Yes "7.5.5 Setting the routing"
applynetwork Applies XSCF network information to the XSCF Yes "7.5.6 Applying network settings"
rebootxscf -a Resets the XSCF Yes "7.5.6 Applying network settings"
Setting memory mirror mode    
showfru -a Displays the set information for all devices Optional "7.6 Configuring Memory Mirroring"
setupfru -m y sb 00-0 Sets the memory mounted on a PSB to mirror mode
Example: All CPUs under PSB 00-0 are set to memory mirror mode.
Optional "7.6 Configuring Memory Mirroring"
Configuring a physical partition    
showpcl -p 0 Displays physical partition (PPAR) configuration information (PCL) Yes "7.7 Creating a Physical Partition Configuration List (PCL)"
setpcl -p 0 -a 0=00-0 Registers a system board in a physical partition configuration list
Example: System board 00-0 is mapped to logical system board 0 of physical partition 0.
Yes "7.7 Creating a Physical Partition Configuration List (PCL)"
setpcl -p 0 -s policy=system Sets the configuration policy
Example: The configuration policy is set to "All physical partitions" for physical partition 0.
Optional "7.7 Creating a Physical Partition Configuration List (PCL)"
showboards -a Displays information on all mounted PSBs Yes "7.8 Assigning a System Board (PSB) to a Physical Partition (PPAR)"
addboard -c assign -p 0 00-0 Assigns a system board (PSB) to a physical partition
Example: System board 00-0 is added to physical partition 0.
Yes "7.8 Assigning a System Board (PSB) to a Physical Partition (PPAR)"
showpparmode -p 0 Checks the CPU Mode of the physical partition Optional "7.9 Setting a CPU Operational Mode for the Physical Partition"
setpparmode -p 0 -m cpumode=compatible Sets the CPU Mode of the physical partition to "compatible" Optional "7.9 Setting a CPU Operational Mode for the Physical Partition"
Synchronizing the physical partition time with the XSCF time    
showdate Displays the XSCF clock date and time Yes "7.10 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
setdate -s 102016592012.00 Sets the XSCF clock date and time
Example: 16:59:00 on 2012/10/20 in local time (JST) is set.
Yes "7.10 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
showdateoffset -p 0 Displays the difference between the XSCF time and the physical partition time Yes "7.10 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
resetdateoffset -p 0 Resets the difference between the XSCF time and the physical partition time Yes "7.10 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
Configuring CPU Activation    
showcodactivation Displays the CPU Activation key information Yes "7.11.2 Checking a CPU Activation key"
addcodactivation -F file:///media/usb_msd/XXXXX_XX.TXT Adds a CPU Activation key
Example: The "XXXXX_XX.TXT" file on a USB device is specified to add a CPU Activation key.
Yes "7.11.3 Registering a CPU Activation key"
setcod -p 0 -s cpu Assigns CPU core resources to a physical partition Yes "7.12 Assigning CPU Core Resources to a Physical Partition"
showcod -v -s cpu Checks the number of assigned CPU Activations Yes "7.12 Assigning CPU Core Resources to a Physical Partition"
Starting and stopping a physical partition    
setpparparam -p 0 -s bootscript "setenv auto-boot? false" Changes the setting of auto-boot?, which is an OpenBoot PROM environment variable Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
poweron -a Starts a physical partition Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
showpparprogress -p 0 Displays the physical partition status
Example: The progress between PPAR-ID 0 power-on and the start of POST is displayed in the midst of processing.
Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
showdomainstatus -p 0 Displays the logical domain status
Example: The status of all logical domains on PPAR-ID 0 is displayed.
Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
console -p 0 Connects to the control domain console of a physical partition (PPAR) Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
poweroff -a Stops a physical partition Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
showpparprogress -p 0 Displays the physical partition status Yes "7.13 Starting and Stopping a Physical Partition (PPAR)"
Saving configuration information
ldm add-spconfig ldm_set1 (*2) Saves logical domain configuration information after a logical domain configuration change
Example: It is saved with the file name ldm_set1.
Yes "7.14.1 Saving logical domain configuration information"
dumpconfig file:///media/usb_msd/backup-file.txt
or
dumpconfig ftp///backup/backupsca-ff2-16.txt
Saves XSCF setting information to a USB device
or
Saves it via a network
Yes "7.14.2 Saving XSCF setting information"
*1 If you execute the setdate command after setting the altitude, you can skip rebootxscf because the XSCF is automatically reset after the command is executed.
*2 The ldm add-spconfig command is a command of Oracle VM Server for SPARC.