IBM Books

Administration Guide


Partitioning the SP system

Be sure you have prepared the control workstation as described in Preparing the control workstation before you define system partitions.

Procedure for initial partitioning

To partition your SP system, begin by choosing a partitioning configuration suitable for the size of your system. The procedure involves the following steps which are explained in the remainder of this section:

  1. Check if the system partition configuration you want is supplied.
  2. If the system partition configuration you want is not supplied, use the System Partitioning Aid to generate and save your system partition configuration.
  3. Archive the System Data Repository.
  4. Select a system partition configuration and layout to apply.
  5. Customize (name and specify attributes of) the system partitions.

    Notes:

    1. Be prepared with values that have been carefully planned for the SP security authentication configuration.

    2. If you are repartitioning and your system has an SP Switch, you need to run Eunpartition in each of the partitions that are going to change. This prepares the switch in those partitions for repartitioning. |See "SP Switch recovery".
  6. Configure SP partition-sensitive services for using DCE.
  7. |Prepare the switch for partitioning.
  8. Shut down all nodes in changing system partitions.
  9. Run the setup_server command on the control workstation.
  10. Apply the configuration.
  11. Complete any DCE configuration.
  12. Reboot all the nodes in changed system partitions.
  13. |Start the switch admin daemon.

Procedure for repartitioning

The steps just listed make up the task referred to as partitioning the SP system. If you want to change or add system partitions, that is to repartition the SP system after it has already been partitioned, the steps are the same. To modify an existing system partition or create a new partition for a new production environment, for example, you would follow those same steps. However, there are extra considerations when there is an SP Switch in the system.

SP Switch recovery

If you are repartitioning your system and it has an SP Switch, you must run Eunpartition at the appropriate time. Failure to do that will produce unpredictable Estart command results in the new system partitions. The Estart command results can range from only the old system partition portion of the new system partition being accessible on the switch, to a complete Estart time out failure. Various recovery scenarios are available. Successful recovery can be accomplished by taking the following steps, running the commands in each of the system partitions:

  1. |If you are using the node recovery feature of the SP Switch switch |admin daemon swtadmd, stop the switch admin daemon before you run |the Eunpartition command. To stop the switch admin daemon, run |the command:
    |stopsrc -s swtadmd
  2. Run the Eclock command to reset the switch.
  3. Reboot all the nodes or run the css_restart_node command on all nodes.
  4. Run the SDRChangeAttrValues switch_responds isolated=0 command.
  5. |If you are using the node recovery feature of the switch admin |daemon, restart the daemon after the global activity is complete. To |start the switch admin daemon, run the command:
    |startsrc -s swtadmd

    |If you were not using the node recovery feature of the switch admin |daemon, to reestablish switch recovery and primary node takeover run the |Estart command.

This recovery scenario is disruptive to all system partitions, even those not otherwise affected by the repartition.

Getting started

If you know that the system partition configuration you want already exists, start with Step 3: Archive the system data repository. Otherwise, start with Step 1: Check if the system partition configuration you want is supplied.

Whether partitioning or repartitioning the system, you have the option of using SMIT menus or commands. SMIT menus can be accessed with the smit command or from the SP Perspectives Launch Pad. (For more information and examples of the commands used in this chapter, see the book PSSP: Command and Technical Reference.)

Note

Some of the commands used in system partitioning (spdisplay_config, splstdata -p, spapply_config -v, for example) produce lengthy output. It is helpful to log the output of such commands. For example, to execute the spapply_config command while simultaneously logging a copy of the output to the file /tmp/syspar.log, run the command:

spapply_config -v config.4_4_8/layout.3 2>&1 | tee /tmp/syspar.log

Using SMIT

TYPE
smit

SELECT
RS/6000 SP System Management

SELECT
RS/6000 SP Configuration Database Management

SELECT
Enter Database Information

SELECT
System Partition Configuration

Using the SP perspectives to access SMIT

TYPE
perspectives &

SELECT
smit config_data on CWS

SELECT
Enter Database Information

SELECT
System Partition Configuration

Step 1: Check if the system partition configuration you want is supplied

Use the System Partitioning Aid to check if the desired system partition configuration is supplied. The System Partitioning Aid can be invoked from the command line or from the SP Perspectives Launch Pad. This section provides examples using the command line interface. (For information on the SP Perspectives GUI to the System Partitioning Aid, invoke the Aid with the spsyspar command and view the online help that is available.) Refer to IBM RS/6000 SP: Planning Volume 2, Control Workstation and Software Environment for more information on using the System Partitioning Aid.

To check if the desired system partition configuration is supplied:

  1. Enter information for your desired system partition configuration into a file. The template for this file is /spdata/sys1/syspar_configs/bin/inpfile.template.
  2. Once you have created the input file, enter:
    sysparaid input_file
    
  3. If the desired system partition configuration is found, layout directory information is displayed. Go to Step 3: Archive the system data repository.
  4. If the desired system partition configuration is not found, a message is displayed indicating so and stating whether the desired system partition configuration is possible or not possible. If the system cannot be partitioned as desired, an error message is output indicating the reason for the failure. If the desired system partition configuration is possible, a snapshot of the switch chips in the system and performance data for each system partition is output to a set of files.
    1. If the system cannot be partitioned as desired, analyze the error message and create another input file specifying an alternative system partition configuration and rerun the sysparaid command.
    2. If the desired system partition configuration is possible, review the performance data that is output and, if it is acceptable, proceed to Step 2: Generate and save the system partition configuration you want.

Refer to the PSSP: Command and Technical Reference for more information on the sysparaid command.

Step 2: Generate and save the system partition configuration you want

Once you have determined that the system partition configuration you desire is possible, generate and save it:

sysparaid -s layout_name input_file

The newly generated system partition configuration layout will be saved to the spdata/sys1/syspar_configs directory.

The smit syspar command is a fastpath to the System Partition Configuration menu.

Step 3: Archive the system data repository

Always archive the SDR before partitioning or repartitioning your SP system. If you change your mind after you have committed a system partition configuration, or if the task applying a system partition configuration fails, you can use the archived SDR to recreate the previous system partition configuration.

Note:
When you archive the SDR by using SMIT or the SDRArchive command, the archive produced is in tar format. Issuing tar -x for this archive does not restore the system partition configuration. To restore the system partition configuration, always use the Restore System Partition Configuration option from the SMIT menu.

Using SMIT

At the System Partition Configuration menu:

SELECT
Archive System Data Repository

Figure 16. Archive the System Data Repository

View figure.

Using the command line

Enter:

SDRArchive

Step 4: Select a system partition configuration to apply

See the chapter "Planning for system partitions" in the book IBM RS/6000 SP: Planning Volume 2, Control Workstation and Software Environment for detailed information on partition schemes for various size SP systems.

To select a system partition configuration to apply:

  1. Select a configuration from a list of supported system partition configurations for your SP system
  2. Display layout information for the selected system partition configuration
  3. Select a system partition layout

Select a system partition configuration

To select a supported system partition configuration for your SP system,

Using SMIT

At the System Partition Configuration menu:

SELECT
System Partition Configuration

SELECT
One of the layouts.

Figure 17. Select a system partition configuration from a list

View figure.

Figure 18. The Select System Partition Configuration SMIT menu

View figure.

Using the command line

To display all supported system partition configurations for your SP system, enter:

spdisplay_config

Display information for the selected configuration

To display information about the supported layouts for the system configuration you have selected,

Using SMIT

At the System Partition Configuration menu:

SELECT
Display Information for Given Configuration or Layout

Figure 19. Display information for given configuration or layout menu

View figure.

SELECT
OK

Figure 20. Display information for the selected configuration

View figure.

This example shows just the first screen of the layout information displayed for our selected 4-4-8 system partition configuration.

Using the command line

To display information for the supported layouts for the 4-4-8 system partition configuration we've chosen, enter:

spdisplay_config -R -d config.4_4_8

Select a system partition layout

Based on the layout information you have displayed for the selected system partition configuration, select a layout,

Using SMIT

At the System Partition Configuration menu:

SELECT
Select System Partition Layout

Figure 21. Select a system partition layout

View figure.

SELECT
A system partition layout

Figure 22. Select a system partition layout

View figure.

In this example, we have chosen layout 3 for our selected 4-4-8 system partition configuration.

Step 5: Customize a system partition

To customize a system partition, specify information for the following:

Note:
Partitioning or repartitioning is never a trivial procedure. Just about every part of the procedure is critical to success. Be fully aware of the following considerations before you proceed:

Using SMIT

At the System Partition Configuration menu:

SELECT
Enter customization information for a selected system partition

Figure 23. Customize a system partition

View figure.

SELECT
A system partition and enter customization arguments

Figure 24. Customize a system partition

View figure.

Note:
If you have already customized this system partition this menu displays those values. Change the values as desired.

The customization arguments and their meanings are:

System Partition Name or IP Address
The name of the system partition is either the real host name (in the case of the default system partition) or the alias host name of the control workstation. The IP address of the system partition is either the real IP address (in the case of the default system partition) or the alias IP address of the control workstation. |

|PSSP Code Level
|The PSSP version and release: PSSP-3.1, |PSSP-3.1.1, PSSP-3.2, or |PSSP-3.4. For system partitions that contain mixed |levels of PSSP, set this to the earliest level installed in this system |partition.

Default Install Image
The name of the mksysb image that is used to install a node in this system partition (if the node itself doesn't have an installation image value). For system partitions that contain mixed levels of PSSP, this default install image should be associated with the PSSP code level specified above.

Primary Node
The node on the switch that initializes, recovers, provides diagnosis, and performs other operations to the switch network. The default is the first node in the nodelist file.

Backup Primary Node
Available only on SP Switch systems, the node designated as the oncoming switch primary node.

Authentication for Install
The methods to be installed or configured on each node in the partition. |

|Authorization for root rcmds
|The set of authorization files to be created or updated for AIX root |access to remote commands.

Authentication Methods for AIX rcmds
The set of authentication methods to be enabled for AIX root access to remote commands.

Trusted Service Authentication Methods
The set of authentication methods to be enabled for use by SP trusted services.

System Partition Path
The full path name for the configuration, layout, and system partition name.

Using the command line

To list the system partitions for our chosen 4-4-8 system partition configuration, layout 3, enter:

spdisplay_config config.4_4_8/layout.3

To enter customization information (as shown in our example SMIT menu) for system partition 1 of our chosen 4-4-8 system partition configuration, layout 3, enter:

spcustomize_syspar -n k43sp1 -l PSSP-3.4 -d bos.obj.min.41 -e default\
-i dce -r dce,std -m k5,std -t dce config.4_4_8/layout.3/syspar.1

Repeat this step, using the appropriate values, for each system partition in the configuration.

Step 6: Configure SP partition-sensitive services for using DCE

In each partition where you want to use DCE security services, prepare the SP partition-sensitive services for using DCE authentication:

  1. To make sure that the new partition interfaces are available in the DCE database, run the following command:

    setupdce -v

  2. The DCE cell administrator must run the following command for each such partition:

    config_spsec -p syspar

  3. The root user with default DCE credentials (self-host) must run the following command for each such partition:

    create_keyfiles -p syspar

|Step 7: Prepare the switch for partitioning

| | |

|If the node recovery feature of the switch admin daemon is running, stop it |before running the Eunpartition command. Run the |command:

|stopsrc -s swtadmd
| 

|Run the command:

|Eunpartition

Step 8: Shut down all nodes in the changing partitions

When you partition or repartition the system, system partitions are considered the same if all of the following are identical:

If any of the above items are not identical, the system partition is being changed and you need to shut down the nodes in that partition before applying the system partition configuration. If your system contains an SP Switch, run the Eunpartition command in each system partition that is being changed. See the Eunpartition command in the PSSP: Command and Technical Reference for more information. |See also "SP Switch recovery".

Note:
Modifying only the primary node will not result in a changed system partition. If you want to change the primary node, use Eprimary followed by Estart. See the Eprimary command in the PSSP: Command and Technical Reference for more information.

You can use the Verify option on the Apply System Partition Configuration SMIT menu to determine what nodes are changing. The output for the Verify option lists the changing system partitions as well as any nodes in those system partitions that are not shut down.

Using SMIT

At the System Partition Configuration menu:

SELECT
Apply System Partition Configuration

SELECT
The system partition configuration and layout

SELECT
Verify only from the list of System Partition Apply Options

SELECT
OK

Figure 25. Apply System Partition Configuration SMIT menu

View figure.

The Apply System Partition Configuration arguments and their meanings are:

System Partition Apply Option
The options are provided to either only verify the system partition configuration or to actually apply the system partition configuration.

Correct VSD configuration?
The option to correct or discontinue when nonfatal errors are encountered in the virtual shared disk subsystem in the application of the specified system partition configuration.

System Partition Path
The full path name for the configuration, layout, and system partition name.

Using the command line

Enter:

spapply_config -v config.4_4_8/layout.3

Step 9: Run the setup_server command on the control workstation

If you have added an alias for the control workstation for the purpose of defining a name for a new system partition (see Preparing the control workstation before you define system partitions), run the setup_server command on the control workstation to properly define the new rcmd principal associated with the new host name alias.

Step 10: Apply a system partition configuration

When you apply or commit a system configuration, the following occurs:

To apply a system partition configuration, be sure you have SDR administrator credentials for all partitions. If DCE is being used and you established separate SDR access groups for each partition using the /spdata/sys1/spsec/spsec-overrides file, then you are required to have SDR credentials for all existing partitions and for partitions you are about to create.

Using SMIT

At the System Partition Configuration menu:

SELECT
Apply System Partition Configuration

SELECT
The system partition configuration and layout

SELECT
Apply this config.

SELECT
OK

Figure 26. Apply System Partition Configuration SMIT menu

View figure.

Using the command line

To apply our chosen 4-4-8 system partition configuration, layout 3, enter:

spapply_config -F config.4_4_8/layout.3
Important

If a failure occurs at this step, your system is put into an inconsistent state. Use the sprestore_config command or Restore System Partition Configuration SMIT menu option to restore the SDR and appropriate system partition-sensitive subsystems from archive.

Note:
Due to system partitioning changes, your SP_NAME environment variable might no longer be set to a valid system partition name. To get a list of valid system partition names, use the splst_syspars -n command. Then verify that your SP_NAME environment variable is either not set or set to one of the partition names in the list.

Step 11: Complete any DCE configuration

If a new partition contains DCE, complete the DCE configuration by configuring the admin portion of DCE clients. This command configures the DCE admin portion only for nodes in a partition with the auth_install attribute set to dce. For example, enter:

setupdce -c cell_admin -l /.:/lan_profile

Step 12: Reboot all nodes in changed partitions

Reboot any nodes that were shut down in Step 8: Shut down all nodes in the changing partitions. Any DCE installation and configuration will be done on the nodes using the spauthconfig command during the node reboot.

|Step 13: Restart the switch admin daemon

|

|If you stopped the switch admin daemon in Step 7: Prepare the switch for partitioning, restart it now. Run the command:

|startsrc -s swtadmd

|If you were not using the node recovery feature of the switch admin |daemon, to reestablish switch recovery and primary node takeover run the |Estart command.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]