Skip to main content

6.2.1 Example of System Board Assignment


6.2.1 Example of System Board Assignment
If the physical partition to which a system board (PSB) is added is in the stopped state, use the addboard command with the -c assign option specified to assign the PSB to the physical partition. Starting the physical partition after the assignment of the PSB incorporates the PSB into the physical partition.

The operation example of the SPARC M10-4S presented here uses XSCF shell commands. The same operations are also used for the SPARC M12-2S.
  1. Log in to the XSCF.
  2. When you add a PSB for system expansion, use the addfru command to incorporate SPARC M10-4S into the system.
Note - For details of system expansion, see "Chapter 8 Expanding a System With a Building Block Configuration" in the SPARC M12-2S Installation Guide or "Chapter 9 Expanding a System with a Building Block Configuration" in the SPARC M10-4S Installation Guide.
  1. Execute the showpcl command to check the current physical partition configuration information (PPAR configuration information).
XSCF> showpcl -p 0
PPAR-ID LSB PSB Status
00 Powered Off

00 00-0
  1. Execute the setpcl command to register the PSB in the PPAR configuration information.
    In the following example, PSB 01-0 is mapped to logical system board (LSB 1) of physical partition 0.
XSCF> setpcl -p 0 -a 1=01-0
  1. Execute the showpcl command to check the PPAR configuration information that has been set.
XSCF> showpcl -p 0
PPAR-ID LSB PSB Status
00 Powered Off
00 00-0
01 01-0
  1. Execute the showcodusage command to display the CPU core resource information.
    The following example displays the CPU core resource information.
    As shown here, the system has 128 mounted CPU core resources and 128 registered CPU Activations, none of the CPU core resources are in use, and the number of CPU Activations currently not in use is 128.
XSCF> showcodusage -p resource
Resource In Use Installed CoD Permitted Status
-------- ------ --------- ------------- ------

PROC 0 128 128 OK: 128 cores available

Note:
Please confirm the value of the "In Use" by the ldm command of Oracle VM Server for SPARC.

The XSCF may take up to 20 minutes to reflect the "In Use" of logical domains.
Note - If the number of registered CPU Activations is not enough for the number of CPUs to be used, purchase CPU Activations and then add the CPU Activation keys. For details on how to add a CPU Activation key, see "Chapter 5 CPU Activation" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide.
  1. Execute the setcod command to assign the CPU core resources to the physical partitions.
    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 showboards command to check the PSB status.
    The following example shows that PSB 01-0 is in the system board pool state.
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 SP Available n n n Passed Normal
  1. Execute the addboard command with the -c assign option specified to add the PSB.
XSCF> addboard -c assign -p 0 01-0
  1. Execute the showresult command to check the exit status of the addboard command just executed.
    In the following example, exit status of 0 is returned, indicating normal termination of the addboard command.
XSCF> showresult
0
  1. Execute the showboards command to check the PSB status.
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. Power on the system to start the physical partition.
  1. Check the physical partition operation status by using the showpparstatus command.
    The next example shows "Running" in the [PPAR Status] column, indicating that the physical partition is operating correctly.
XSCF> showpparstatus -p 0
PPAR-ID PPAR Status
00 Running
  1. Use the showboards command to check the PSB status.
    The next example shows "y" in the [Conn] and [Conf] columns for PSB 01-0, indicating that the PSB has been added correctly.
XSCF> showboards -p 0
PSB PPAR-ID(LSB) Assignment Pwr Conn Conf Test Fault
---- ------------ ----------- ---- ---- ---- ------- --------

00-0 00(00) Assigned y y y Passed Normal
01-0 00(01) Assigned y y y Passed Normal
  1. Assign the physical partition resources in the logical domain to reconfigure the logical domain.