IBM Power Systems 775 Manual page 283

For aix and linux hpc solution
Table of Contents

Advertisement

Updating diskfull
The xCAT updatenode command is used to perform software maintenance operations on
AIX/NIM stand-alone machines. This command uses underlying AIX commands to perform
the remote customization of AIX diskfull (stand-alone) nodes. The command supports the AIX
installp, rpm, and emgr software packaging formats.
As part of this approach, the recommended process is to copy the software packages or
updates that you want to install on the nodes into the appropriate directory locations in the
NIM lpp_source resource that you use for the nodes.
Important: If you want to use another directory to store your software, you use the
updatenode command with the -d <dirname> to specify an alternate source location. You
must ensure that the alternate directory is mountable and that the files are readable. For
more information, see the updatenode man page.
A simple way to copy software to the lpp_source locations is to use the nim -o update
command. With this NIM command, you must provide the name of the NIM lpp_source
resource and your files are automatically copied to the correct locations.
For example, to add all the packages to the lpp_source resource named
"61image_lpp_source" you run the following command:
nim -o update -a packages=all -a source=/tmp/images 610image_lpp_source
The NIM command finds the correct directories and update the lpp_source resource.
Assume all your software is saved in the temporary location /tmp/images.
When you run the updatenode command, the default behavior is to get the name of the
osimage definition that is defined for each node and use those names to determine the
location of the software and the names of the software to install. The command uses the
location of the lpp_resource to determine where to find any defined rpm, installp, or emgr
packages.
The default value for installp_flags is -agQX and the default value for rpm_flags is -Uvh
-replacepkgs. No flags are used by default in the call to emgr.
Hierarchical xCAT cluster: When you are working in a hierarchical xCAT cluster, the
updatenode command automatically distributes the software to the appropriate service
nodes.
Examples of lpp, rpm, and efix
You also might specify alternative installp, emgr, and rpm flags for updatenode to use when
the underlying AIX commands are called. Use the installp_flags, emgr_flags, and
rpm_flags attributes to provide this information. You must specify in quotes the exact string
that you want used. For example: installp_flags="-apXY" rpm_flags="-i -nodeps".
Complete the following steps to install lpp filesets into diskfull node:
1. Update the AIX node "xcatn11" by installing the bos.cpr fileset by using the "-agQXY"
installp flags. Also, display the output of the installp command:
updatenode xcatn11 -V -S otherpkgs="bos.cpr" installp_flags="-agQXY"
2. Uninstall the "bos.cpr" fileset that was installed in the previous step:
updatenode xcatn11 -V -S otherpkgs="bos.cpr" installp_flags="-u"
Chapter 5. Maintenance and serviceability
269

Advertisement

Table of Contents
loading

Table of Contents