Skip to main content

A.6.2 Example of the Physical Partition Configuration Procedure


A.6.2 Example of the Physical Partition Configuration Procedure
  1. Log in to the master XSCF.
    Execute the showbbstatus command to check that the XSCF to which you have logged in is the master XSCF.
    If you have logged in to a standby XSCF, log out and then log in to the master XSCF again.
XSCF> showbbstatus
BB#00 (Master)
  1. Set mirror mode for memory.
  1. a. Execute the showfru command to check mirror mode of the memory on the SPARC M10-4S system board (PSB<BB>).

    The following example displays the setting information for devices under the physical system board (PSB 00-0).
XSCF> showfru sb 00-0
Device Location Memory Mirror Mode
sb 00-0
cpu 00-0-0 no
cpu 00-0-1 no
cpu 00-0-2 no
cpu 00-0-3 no
  1. b. To use the memory mirror mode, execute the setupfru command to set that mode.

    If you are not using memory mirror mode, this step is not necessary.

    For details on memory mirror mode, see "14.1.1 Overview of Memory Mirroring" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide.

    The following example places all the memories for the CPUs under the system board (PSB 00-0) in memory mirror mode.
XSCF> setupfru -m y sb 00-0
  1. Execute the showfru command to check the setting of memory mirror mode.
XSCF> showfru sb 00-0
Device Location Memory Mirror Mode
sb 00-0
cpu 00-0-0 yes
cpu 00-0-1 yes
cpu 00-0-2 yes
cpu 00-0-3 yes
  1. Create the physical partition configuration information.
  1. a. Execute the showpcl command to check the physical partition configuration information.
XSCF> showpcl -p 0
PPAR-ID LSB PSB Status
  1. b. Execute the setpcl command to register the system board in the physical partition configuration information.

    Execute the setpcl command to register the SPARC M10-4S system board in the physical partition configuration information for the built-in destination.

    In the following example, physical system boards (PSBs) 00-0 and 01-0 are mapped to logical system boards (LSBs) 00 and 01 of physical partition 0.

XSCF> setpcl -p 0 -a 00=00-0 01=01-0
  1. c. Execute the showpcl command to check the physical partition configuration information.

    Check the physical partition configuration information.
XSCF> showpcl -p 0
PPAR-ID LSB PSB Status
00 Running
00 00-0
01 01-0
  1. Specify the -v option to display details on the configuration policy, IO nullification option (No-IO), and memory nullification option (No-Mem).
XSCF> showpcl -v -p 0
PPAR-ID LSB PSB Status No-Mem No-IO Cfg-policy
00 Running
System
00 00-0 False False
01 01-0 False False
  1. Use the setpcl command to change the setting of the configuration policy, I/O nullification option (No-IO), and memory nullification option (No-Mem).

    For details on the setpcl command, see the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 XSCF Reference Manual.
  1. Assign a system board (PSB<BB>) to a physical partition.
  1. a. Execute the showboards-a command to check the PSB status.

    Execute the showboards -a command to check that each PSB status is "SP" (system board pool).
XSCF> showboards -a
PSB PPAR-ID(LSB) Assignment Pwr Conn Conf Test Fault
---- ------------ ----------- ---- ---- ---- ------- --------

00-0 SP Available n n n Passed Normal
01-0 SP Available n n n Passed Normal
  1. b. Execute the addboard -c assign command to assign the PSBs.
XSCF> addboard -c assign -p 0 00-0 01-0
  1. c. Execute the showboards-p command to check the PSB status.

    Execute the showboards -p command to check the status of each PSB assigned to the physical partition.

    This example checks that the [Assignment] field of each PSB becomes "Assigned" since each PSB has been normally assigned to physical partition 0.
XSCF> showboards -p 0
PSB PPAR-ID(LSB) Assignment Pwr Conn Conf Test Fault
---- ------------ ----------- ---- ---- ---- ------- --------

00-0 00(00) Assigned n n n Passed Normal
01-0 00(01) Assigned n n n Passed Normal
  1. Register the CPU Activation key to assign CPU core resources.
  1. a. Execute the showcodactivation command to check the information on the CPU Activation key.

    Execute the showcodactivation command to check whether the physical partition contains an assignable CPU Activation key.

    If only the header is displayed, the CPU Activation key is not registered in the XSCF.
XSCF> showcodactivation
Index Description Count
------- ----------- ------
Note - If the number of registered CPU Activations is not enough for the number of CPUs to be used, purchase CPU Activations and add the CPU Activation keys.
  1. b. Execute the addcodactivation command to add the CPU Activation key.

    For details on how to add a CPU Activation key, see "5.3 Adding CPU Core Resources" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide.
XSCF> addcodactivation "Product: SPARC M10-4S
SequenceNumber:10005
Cpu: noExpiration 2
Text-Signature-SHA256-RSA2048:
PSSrElBrse/r69AVSVFd38sT6AZm2bxeUDdPQHKbtxgvZPsrtYguqiNUieB+mTDC
:
:
b1GCkFx1RH27FdVHiB2H0A=="
AboveKeywillbeadded,Continue?[y|n]:y
  1. c. Execute the showcodactivation command to check the information on the CPU Activation keys.

    Execute the showcodactivation command to check whether the physical partition contains an assignable CPU Activation key.
XSCF> showcodactivation
Index Description Count
------- ----------- ------

0 PROC 2
1 PROC 2
2 PROC 2
3 PROC 2

--- Omitted ---


62 PROC 2
63 PROC 2
  1. d. Execute the setcod command to assign CPU core resources.

    Execute the setcod command to assign the CPU core resources to the physical partition.

    The following example assigns 128 CPU core resources to physical partition 0.
XSCF> setcod -p 0 -s cpu -c set 128
PROC Permits assigned for PPAR 0 : 0 -> 128

PROC Permits assigned for PPAR will be changed.
Continue? [y|n] :y

Completed.
Note - XSCF firmware of versions XCP 2250 and earlier do not support the -c add, -c delete, and -c set options. Specify the options of the setcod command as shown below to interactively add and delete CPU core resources.
XSCF> setcod -s cpu
  1. Execute the showcod command to check information on the CPU core resources assigned to the physical partition.

    The following example confirms that 128 CPU core resources have been assigned to physical partition 0 with the setcod command that was just executed.
XSCF> showcod -p 0
PROC Permits assigned for PPAR 0: 128
  1. Execute the resetdateoffset command to reset the difference with the time managed by the XSCF.
    Execute the resetdateoffset command to reset the difference between the time managed by the XSCF and the time managed by the physical partitions.
XSCF> resetdateoffset -p 0
  1. Execute the showpparmode command to check the setting of the detail level of the diagnosis messages and that of the PPAR DR mode.
    Execute the showpparmode command to check that the detail level (Message Level) of the diagnosis message is "normal" (standard) and that Next of the PPAR DR mode is set to "on" (enabled).
XSCF> showpparmode -p 0
Host-ID                  :9007002b
Diagnostic Level         :min
Message Level            :normal
Alive Check              :on
Watchdog Reaction        :reset
Break Signal             :on
Autoboot(Guest Domain)   :on
Elastic Mode             :off
IOreconfigure            :false
PPAR DR(Current)         :-
PPAR DR(Next)            :on
  1. If the detail level of the diagnosis message is other than "normal", execute the setpparmode command to set it to "normal".
    For details on the setpparmode command, see the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 XSCF Reference Manual.
XSCF> setpparmode -p 0 -m message=normal
  1. If PPAR DR mode is set to "off" (disabled), execute the setpparmode command to set it to "on".
XSCF> setpparmode -p 0 -m ppar_dr=on
  1. Execute the poweron command to power on the physical partitions.
XSCF> poweron -p 0
  1. Execute the console command to connect the console to the physical partition.
XSCF> console -p 0
  1. Install Oracle Solaris and Oracle VM Server for SPARC.
    Install, on the control domain, Oracle Solaris and Oracle VM Server for SPARC.
  1. For details on the versions and conditions of Oracle Solaris required for physical partition dynamic reconfiguration, see Table 1-3 and Table 1-4.
  1. For details on the installation, see the following documents, presented on the Oracle Corporation web site (https://docs.oracle.com/en/).
    - Oracle Solaris 11

    Installing Oracle Solaris 11.2 Systems

    - Oracle VM Server for SPARC

    "Installing and Enabling Software" in the Oracle VM Server for SPARC Administration Guide
  1. Establish a redundant physical I/O configuration of the control domain.
    a. Establish a redundant configuration for the system volume of the control domain.

    Establish a redundant configuration for the system volume of the control domain. This item describes an example of the commands for establishing a mirroring configuration with ZFS. For details, see the following documents presented on the Oracle Corporation web site (https://docs.oracle.com/en/).

    "How to Configure a Mirrored Root Pool (SPARC or x86/VTOC)" in the Oracle Solaris 11.2 Administration: ZFS File Systems
  1. To use other redundant configuration software, see the manual for that software.
  1. Execute the zpool status command to check the status of the root pool.

    The following example indicates that c2t50000393E802CCE2d0s0 has been assigned to the default root pool (rpool).
# zpool status rpool
pool: rpool
state: ONLINE
scan: none requested
config:
NAME‍ ‍‍STATE READ WRITE CKSUM
rpool‍ ‍‍ONLINE 0 0 0
c2t50000393E802CCE2d0s0 ONLINE 0 0‍ ‍‍0
errors: No known data errors
Execute the format command to check which disks can be added.
The following example indicates that c3t50000393A803B13Ed0 exists as the other disk.
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c2t50000393E802CCE2d0 <TOSHIBA-MBF2300RC-3706 cyl 46873 alt 2 hd 20 sec 625>
/pci@8000/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393e802cce2,0
/dev/chassis/FUJITSU-BBEXP.500000e0e06d027f/0123_HDD00/disk
1. c3t50000393A803B13Ed0 <TOSHIBA-MBF2300RC-3706 cyl 46873 alt 2 hd 20 sec 625>
/pci@8800/pci@4/pci@0/pci@0/scsi@0/iport@f/disk@w50000393a803b13e,0
/dev/chassis/FUJITSU-BBEXP.500000e0e06d243f/022U_HDD01/disk
Specify disk (enter its number): ^C
  1. Execute the zpool attach command to add the second disk to the rpool to provide a mirror configuration.

    The following example adds c3t50000393A803B13Ed0s0 with the zpool attach command and then checks the status of the synchronization processing (resilver) with the zpool status command. By referring to status and action, you can determine that the synchronization processing is in progress. Regularly execute the zpool status command to check the status of the synchronization processing until the processing ends.
# zpool attach rpool c2t50000393E802CCE2d0s0 c3t50000393A803B13Ed0s0
# zpool status rpool
pool: rpool
state: DEGRADED
status: One or more devices is currently being resilvered. The pool will continue to function in a degraded state.
action: Wait for the resilver to complete.
Run 'zpool status -v' to see device specific details.
scan: resilver in progress since Wed Jan 29 21:35:39 2014
3.93G scanned out of 70.6G at 71.9M/s, 0h15m to go 3.90G resilvered, 5.56% done
config:
NAME‍ ‍‍STATE READ WRITE CKSUM
rpool‍ ‍‍DEGRADED‍ 0 0 0
mirror-0 DEGRADED 0‍ ‍‍0‍ ‍‍0
c2t50000393E802CCE2d0s0 ONLINE 0 0‍ ‍‍0
c3t50000393A803B13Ed0s0 DEGRADED‍ ‍‍0‍ ‍‍0‍ ‍‍0
(resilvering)
  1. Upon the completion of the synchronization processing, [state] is set to "ONLINE", as shown below.
# zpool status rpool
pool: rpool
state: ONLINE
scan: resilvered 70.6G in 0h10m with 0 errors on Wed Jan 29 21:45:42 2014
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c2t50000393E802CCE2d0s0 ONLINE 0 0 0
c3t50000393A803B13Ed0s0 ONLINE 0 0 0
errors: No known data errors
  1. b. Establish a redundant configuration for the network of the control domain.

    Execute the dladm command to check that the network devices are visible. The following example shows that it is possible to refer to on-board network interfaces as net0 to net7.
# dladm show-phys -L
LINK DEVICE LOC
net0 igb0 /BB0/CMUL
net1 igb1 /BB0/CMUL
net2 igb6 /BB0/CMUU
net3 igb7 /BB0/CMUU
net4 igb14 /BB1/CMUL
net5 igb15 /BB1/CMUL
net6 igb12 /BB1/CMUU
net7 igb13 /BB1/CMUU
The following describes an example of establishing a redundant configuration for network interface net0 on BB0 and network interface net4 on BB1, using IPMP.
First, execute the ipadm show-if command to check that net0 (on BB0) and net4 (on BB1) are not displayed.
# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
Execute the ipadm create-ip command to create IP interfaces net0 and net4, and then execute the ipadm show-if command to check that they have been created normally.
# ipadm create-ip net0
# ipadm create-ip net4
# ipadm show-if
IFNAME CLASS STATE ACTIVE OVER
lo0 loopback ok yes --
net0 ip down no --
net4 ip down no --
Execute the ipadm create-ipmp command to create IPMP interface ipmp0, and then execute the ipadm add-ipmp command to add IP interfaces net0 and net4 to the IPMP group.
# ipadm create-ipmp ipmp0
# ipadm add-ipmp -i net0 -i net4 ipmp0
Execute the ipadm create-addr command to assign an IP address to IPMP interface ipmp0, and then execute the ipadm show-addr command to check the setting. In the example below, a fixed IP address is assigned.
# ipadm create-addr -T static -a local=xx.xx.xx.xx/24 ipmp0/v4
# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
ipmp0/v4 static ok xx.xx.xx.xx/24
lo0/v6 static ok ::1/128
Execute the ipadm set-ifprop command to set a standby interface, and execute the ipmpstat -i command to check the IPMP configuration.
# ipadm set-ifprop -p standby=on -m ip net4
# ipmpstat -i
INTERFACE ACTIVE GROUP FLAGS LINK PROBE STATE
net4 no ipmp0 is----- up disabled ok
net0 yes ipmp0 --mbM-- up disabled ok