Appendix B Setup Command Workflow
Appendix B Setup Command Workflow
This appendix describes the workflow of the XSCF commands executed in installation of the SPARC M10-1.
For details, see the linked sections listed in Table B-1.
For details, see the linked sections listed in Table B-1.
XSCF command example | Description | Mandatory? | Linked section |
---|---|---|---|
Making the initial system settings | |||
version -c xcp | Displays the XCP version | Yes | "5.4 Checking the XCP Version" |
showaltitude | Displays the system altitude | Yes | "5.5 Checking the Altitude Setting" |
setaltitude -s altitude=100 | Sets the altitude Example: The system altitude is set to 100 m. |
Optional | "5.5 Checking the Altitude Setting" |
rebootxscf -y -a | Resets the XSCF | Optional (*1) | "5.5 Checking the Altitude Setting" |
showtimezone -c tz | Displays the XSCF time zone | No | "5.6 Checking the Time Setting" |
settimezone -c settz -a | Lists the time zones that can be set | No | "5.6 Checking the Time Setting" |
settimezone -c settz -s Asia/Tokyo | Sets the time zone Example: "Asia/Tokyo" is set. |
Yes | "5.6 Checking the Time Setting" |
showdate | Displays the XSCF clock date and time | Yes | "5.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 | "5.6 Checking the Time Setting" |
testsb -v -p -s -a -y | Performs an initial diagnosis of the PSB | Yes | "5.7 Performing a Diagnosis Test" |
showhardconf -M | Displays information on each FRU | Yes | "5.8 Checking the Component Status" |
showhardconf -u | Displays the number of mounted units by FRU | No | "5.8 Checking the Component Status" |
showlogs error | Displays an error log | Yes | "5.8 Checking the Component Status" |
showstatus | Displays information on a degraded unit | Yes | "5.8 Checking the Component Status" |
Creating an XSCF user | |||
showpasswordpolicy | Displays the password policy settings | No | "6.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 | "6.1 Setting the Password Policy" |
adduser jsmith | Creates a user account | Yes | "6.2 Setting a User Account and Password" |
password jsmith | Sets a password | Yes | "6.2 Setting a User Account and Password" |
setprivileges jsmith useradm platadm | Assigns a user privilege | Yes | "6.2 Setting a User Account and Password" |
showuser -l | Checks information on a created user account | No | "6.2 Setting a User Account and Password" |
Configuring the Telnet/SSH/HTTPS service | |||
showtelnet | Displays the Telnet service status | No | "6.3.1 Configuring the Telnet service" |
settelnet -c enabled | Starts the Telnet service | Optional | "6.3.1 Configuring the Telnet service" |
showssh | Displays SSH service information | No | "6.3.2 Configuring the SSH service" |
setssh -c enabled | Starts the SSH service | Optional | "6.3.2 Configuring the SSH service" |
setssh -c genhostkey | Generates a host key | Optional | "6.3.2 Configuring the SSH service" |
showhttps | Displays the HTTPS service status | No | "6.4 Configuring the HTTPS Service" |
sethttps -c enable | Starts the HTTPS service | Optional | "6.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 | "6.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 | "6.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 | "6.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 | "6.5.2 Setting an Ethernet (XSCF-LAN) IP address" |
showroute -a | Displays routing information | No | "6.5.3 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 | "6.5.3 Setting the routing" |
applynetwork | Applies XSCF network information to the XSCF | Yes | "6.5.4 Applying network settings" |
rebootxscf -a | Resets the XSCF | Yes | "6.5.4 Applying network settings" |
Setting memory mirror mode | |||
showfru -a | Displays the set information for all devices | Optional | "6.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 | "6.6 Configuring Memory Mirroring" |
Configuring a physical partition | |||
showpcl -a | Displays physical partition (PPAR) configuration information (PCL) | Yes | "6.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 | "6.7 Creating a Physical Partition Configuration List (PCL)" |
showboards -a | Displays information on all mounted PSBs | Yes | "6.8 Confirming That a System Board (PSB) is Assigned to a Physical Partition (PPAR)" |
setpparmode -p 0 -m cpumode=compatible | Sets a CPU operational mode for the physical partition | Optional | "6.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 | "6.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 | "6.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 | "6.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 | "6.10 Synchronizing the Physical Partition (PPAR) Time and XSCF Time" |
Configuring CPU Activation | |||
showcodactivation | Displays the CPU Activation key information | Yes | "6.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 | "6.11.3 Registering a CPU Activation key" |
setcod -p 0 -s cpu 4 | Assigns CPU core resources to a physical partition Example: Four CPU cores are assigned to physical partition 0. |
Yes | "6.12 Assigning CPU Core Resources to a Physical Partition" |
showcod -v -s cpu | Checks the number of assigned CPU Activations | Yes | "6.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 | "6.13 Starting and Stopping a Physical Partition (PPAR)" |
poweron -a | Starts a physical partition | Yes | "6.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 | "6.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 | "6.13 Starting and Stopping a Physical Partition (PPAR)" |
console -p 0 | Connects to the control domain console of a physical partition (PPAR) | Yes | "6.13 Starting and Stopping a Physical Partition (PPAR)" |
poweroff -a | Stops a physical partition | Yes | "6.13 Starting and Stopping a Physical Partition (PPAR)" |
showpparprogress -p 0 | Displays the physical partition status | Yes | "6.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 | "6.14.1 Saving logical domain configuration information" |
dumpconfig file:///media/usb_msd/backup-file.txt or dumpconfig ftp://<ftp_server>/backup/backup-sca-ff2-16.txt |
Saves XSCF setting information to a USB device or Saves it via a network |
Yes | "6.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. |
< Previous Page | Next Page >