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 M12-2S.
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 firmware version Yes "6.4 Confirming the XCP Firmware Version"
flashupdate -c sync Updates the XCP firmware version to synchronize the XCP firmware on any SPARC M12-2S that has a different version Yes "6.4 Confirming the XCP Firmware Version"
showaltitude Displays the system altitude setting 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 Reboots the XSCF Optional (*1) "6.5 Checking the Altitude Setting"
showtimezone -c tz Displays the XSCF time zone No "6.6 Setting the Time"
settimezone -c settz -a Lists the time zones that can be set No "6.6 Setting the Time"
settimezone -c settz -s Asia/Tokyo Sets the time zone
Example: "Asia/Tokyo" is set.
Yes "6.6 Setting the Time"
showdate Displays the XSCF clock date and time Yes "6.6 Setting the 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 "6.6 Setting the Time"
testsb -v -p -s -a -y Initial diagnosis of hardware 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 Reboots 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 -c mirror=yes sb 00-0 Sets the memory mounted on a physical system board (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 the PPAR configuration list Yes "7.7 Creating a PPAR Configuration List"
setpcl -p 0 -a 0=00-0 Registers a physical system board (PSB) in a physical partition configuration list
Example: Physical system board 00-0 is mapped to logical system board 0 of physical partition 0.
Yes "7.7 Creating a PPAR Configuration List"
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 PPAR Configuration List"
showboards -a Displays information on all mounted physical system boards (PSBs) Yes "7.8 Assigning/Releasing a Physical System Board (PSB) for a Physical Partition (PPAR)"
addboard -c assign -p 0 00-0 Assigns a physical system board (PSB) to a physical partition
Example: Physical system board (PSB) 00-0 is added to physical partition 0.
Yes "7.8 Assigning/Releasing a Physical System Board (PSB) for a Physical Partition (PPAR)"
Synchronizing the physical partition time with the XSCF time    
showdate Displays the XSCF clock date and time Yes "7.9 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
setdate -s 102016592016.00 Sets the XSCF clock date and time
Example: 16:59:00 on 2016/10/20 in local time (JST) is set.
Yes "7.9 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.9 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.9 Synchronizing the Physical Partition (PPAR) Time and XSCF Time"
Configuring CPU Activation    
showcodactivation Displays the CPU Activation key information Yes "7.10.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 register a CPU Activation key.
Yes "7.10.3 Registering a CPU Activation Key"
setcod -p 0 -s cpu Assigns CPU core resources to a physical partition Yes "7.11 Assigning CPU Core Resources"
showcod -v -s cpu Checks the number of assigned CPU Activations Yes "7.11 Assigning CPU Core Resources"
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.12 Starting and Stopping a Physical Partition (PPAR)"
poweron -a Starts a physical partition Yes "7.12 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.12 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.12 Starting and Stopping a Physical Partition (PPAR)"
console -p 0 Connects to the control domain console of a physical partition (PPAR) Yes "7.12 Starting and Stopping a Physical Partition (PPAR)"
poweroff -a Stops a physical partition Yes "7.12 Starting and Stopping a Physical Partition (PPAR)"
showpparprogress -p 0 Displays the physical partition status Yes "7.12 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://<ftp_server>/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 rebooted after the command is executed.
*2 The ldm add-spconfig command is a command of Oracle VM Server for SPARC.