This section provides instructions for applying software updates (PTFs) to the SP system.
You need to be aware of the following items before you apply PTFs to the SP system.
Make sure you read the README document that comes with any updates to PSSP. This information can also be viewed by running installp -i on the installation images. This document may convey important information that you need to know prior to installing the PTF. It may also contain instructions for activating particular fixes. This and additional information can also be printed to the screen during PTF installation.
Nodes that were down when service was applied must be updated when they become available. Simply follow the same procedure you used when updating the rest of the nodes.
When reinstalling or updating the ssp.css file set of PSSP, you must reboot all affected nodes to load changes that affect the kernel extensions.
For DCE, you should dce_login to the SP administrative principal created in Step 22.3: Create SP administrative principals.
For Kerberos V4, you should use the principal created in Step 21: Initialize RS/6000 SP Kerberos V4 (optional).
There are two approaches to installing program updates.
For the per-node approach, you can apply service on all the nodes in one of the following ways:
The reinstall approach requires you install the programs and updates on your maintenance test node using SMIT or installp in order to generate an installation image and then place the new image on the control workstation. SMIT or the spbootins command enables you to specify all the nodes to be reinstalled with the new image. All that remains is to boot the nodes, which causes the nodes to be reinstalled.
Regardless of which approach you choose, do the following:
How do you know which approach to take? Consider these factors:
If you have fewer than 16 nodes in your system or the maintenance is minor, it may be faster to apply the maintenance directly on each node rather than to reinstall. On the other hand, if you have a large amount of maintenance to do and you have no user data to preserve in the root volume group, it may be faster to install the maintenance once, generate a new installation image, and reinstall all your nodes.
Regardless of your approach, you must install the maintenance of the control workstation first.
If you are using an HACWS configuration, before beginning, make sure that HACMP is running on both control workstations and that the primary control workstation is the active control workstation. Then perform Steps 1 through 4 on both the primary and backup control workstations and continue with Step 5. Once you start this procedure, you should not perform a control workstation failover at any time before Step 7.
|/spdata/sys1/install/pssplpp/code_version/ptf2
If you have an HACWS configuration and rebooting was not required, you may want to recycle the control workstation applications to ensure that any fixes that affect HACMP/HACWS are enabled. Note that control workstation services will become unavailable during this procedure. To recycle the applications, first stop them on the backup control workstation using the following command. When the command completes, repeat it on the primary control workstation.
/usr/sbin/hacws/spcw_apps -d
Now restart the applications, first on the primary control workstation and then on the backup control workstation (note the order is the opposite of stopping them):
/usr/sbin/hacws/spcw_apps -a
This section outlines a procedure you can follow to install PTFs on your system.
Some PTFs require you apply them to all the nodes in your system. To do this, set up a test AIX 4.3.3 (SP Switch only) |or AIX 5L 5.1 partition. See the PSSP: Administration Guide for instructions.
/usr/sbin/mount cw:/spdata/sys1/install/pssplpp /mnt
/spdata/sys1/install/images/bos.obj.ssp.43.ptf2
Notes:
|config.dce -autostart no
then create the mksysb image.
You can follow these instructions to install the PTF code from the directory onto each node. You can also install the PTFs by using the mksysb you just saved.
dsh -a /usr/sbin/mount cw:/spdata/sys1/install/pssplpp /mnt
|dsh -a /usr/sbin/installp -Xagd /mnt/code_version ssp.st
Committing the PTF will save file system space, but once the PTF is committed, you can never reject it. If you are not required to commit, you can skip this task.
Refer to Step 34: Update the state of the supervisor microcode for more information.
Perform the following steps on the control workstation and on all of the boot/install servers:
/spdata/sys1/install/aix433/lppsource
For more information, see the "NIM errors in a multiple boot/install server (BIS) environment" section of the "Diagnosing NIM problems" chapter of the PSSP: Diagnosis Guide.
Create a new backup mksysb image of the control workstation. The mksysb image you created earlier is now the mksysb image for all nodes. Store any earlier mksysb images you created before you installed the PTFs in case you need to restore your system to its previous maintenance level.
Performing this task requires that your identity be authenticated as an authorized user of the system management commands and the Perspectives interface shown in the following steps.
For DCE, you should dce_login to the SP administrative principal created in Step 22.3: Create SP administrative principals.
For Kerberos V4, you should use the principal created in Step 21: Initialize RS/6000 SP Kerberos V4 (optional).
See the "Security features on the SP system" chapter in PSSP: Administration Guide for more information.
If you choose the reinstall approach, you may want to target particular nodes for maintenance images. For instance, if you have groups of nodes with distinct identities such as:
You may want to select one representative node in each group from which to apply maintenance and generate new installation images. The other nodes in the group should always then be reinstalled with the image generated from that node.
Note: For system partitions (SP Switch only):
Prior to creating a mksysb, you must do the following:
Notes:
/usr/lib/instl/inurid -q ; echo $?
If the return code=1, the inurid -r command was executed. IBM suggests that you not execute the inurid -r command on any machine in case you want to use the machine as a boot/install server in the future.
Before building an installation image, install all the LPs and service to the node on which you intend to create your installation image. Careful planning in selecting LPs and required service spares you from repeating this process.
|config.dce -autostart no
then create the mksysb image.
After you have installed the LPs and service required for your nodes, you are ready to make an installation image. Login to the node where you want to create an installation image and enter:
smit -C mksysb
Enter the file name of the image that you want to create and press Enter.
bos.obj.level.date
For example:
bos.obj.433.20000428
You can generate a mksysb image to install on your nodes. You can do this on a node after you have installed at least that node, or you can use a standalone workstation (either the control workstation or a different standalone workstation). However, after you have done Step 21: Initialize RS/6000 SP Kerberos V4 (optional), you cannot use the control workstation for this purpose. Running the setup_authent command on any workstation makes the workstation unsuitable for generating a mksysb image for a node.
The control workstation (or a different standalone workstation) must be at the right level of the AIX RS/6000 operating system and must have all required PTFs applied. One way to ensure this is to install the mksysb image that resides in the spimg installp image on its product tape. You can also install any of the RS/6000 SP software options on that machine. After installing extra LPs or maintenance, you can generate a mksysb image of the system and copy it back to /spdata/sys1/install/images on the control workstation. You can then use that image to install your nodes.
When using a mksysb, we strongly suggest that any AIX corrective service applied to the mksysb should also be placed in the lppsource directory. The Shared Product Object Tree (SPOT) should also be updated. Refer to the procedure documented in Task E: Update the SPOT when installing AIX BOS service updates.
After you install a node, you can install any RS/6000 SP software options or LPs, other LPs, or any maintenance that you need. You can then test your node and generate a mksysb image of that node. Before doing this, you may want to remove certain files from the node that you do not want in the image. These include any mksysb images in that node's /spdata/sys1/install/images directory (if the node is a boot/install server itself).
Do not remove /home from the node. If you do so, when you use the mksysb image to install a boot/install server node, you cannot create the netinst user ID that is required for network install after you install the image. After you create the mksysb image, copy it back to /spdata/sys1/install/images on the control workstation and install the rest of your nodes with that image.
Consider the following items prior to creating a mksysb backup:
Are there any mounted filesystems from other systems? The mksysb command automatically backs up everything unless you specify what to exclude. Some example of items you might want to exclude are AFS, DFS, or NFS filesystems. You can exclude files by specifying the "-e" flag and creating an /etc/exclude.rootvg file with a list of the files to exclude. The file might contain something like this:
/afs /usr/public
where the /afs is an AFS filesystem and the /usr/public is a shared NFS filesystem that is mounted on this system.
If you specify the -e flag with the /etc/exclude.rootvg file containing this information, mksysb image will not back up any files in these directories or create the directories.
The /image.data file in the mksysb image contains information about the operating system level, the logical volumes, the filesystems, and other information. This information may be out of date. Therefore, you should always create the file during the mksysb creation using the -i option.
For more information on the node customization scripts, see Appendix E, User-supplied node customization scripts.
To create the mksysb image, use the following command to create a /image.data file. It will also expand /tmp if needed:
mksysb -i -X
The following command creates a /image.data file, expands /tmp, and excludes all files listed in /etc/exclude.rootvg.
mksysb -e -i -X
If a node was previously configured for DCE, you must remove any DCE-related principles and objects from the DCE registry before issuing the nodecond command.
|dcecp -c principal catalog -simplename
You must now create new DCE information for the node by performing the following steps:
Notes:
export SP_NAME=spcws.abc.com
After you create your netinstall image, you must test the image. Use ftp in binary mode or rcp to transfer the image to the control workstation. The installation tools require all installation images to reside on the control workstation. Remember that the image must be placed in the /spdata/sys1/install/images directory and that the permissions must allow it to be read by other.
To test the image, you must reinstall a node with this new image and run your applications to see if it meets your requirements.
After you create the netinstall image and copy it to the control workstation in /spdata/sys1/install/images, you are ready to reinstall.
On the control workstation, issue the following:
|spchvgobj -r selected_vg -i install_image_name \ | -l node_list | |spbootins -r install -l node_list
In the following example:
|spchvgobj -r selected_vg -i bos.obj.433.20000428 -l 23 | |spbootins -r install -l 23
would change the SDR information to install the image bos.obj.433.20000428 on |node 23 from its boot/install server.
This command automatically issues setup_server on |node 23's boot/install server to update its install files with the new information. Note that setup_server copies the installation image from the control workstation to the appropriate boot/install servers if the boot/install server is not the control workstation. If the image has to be copied to a boot/install server, this may take some time. You can now use Perspectives to reset the node, which causes the netinstall of the test image on the node.
The boot list of a node is set by /etc/rc.sp to boot from hdisk0 only. When the bootp_response of a node is changed from disk to be some other response, such as "install," the node is sent a boot list command to cause it to boot from ent0 before hdisk0. If a node is down when its bootp_response is changed, its boot list is not changed. From the Hardware Perspective, select one or more nodes and then select Actions > Network Boot.
After the netinstall is complete, the node reboots and you can verify the image runs your applications. When you are satisfied that this image meets your requirements, you can use the spbootins and the spchvgobj commands to change the install_image attribute and bootp_response and reinstall the rest of your nodes.
You may need to override the physical partition size (PPSIZE) of the root volume group in the mksysb. See Appendix F, Overriding the PPSIZE in a mksysb image for more information.