IBM Power Systems 775 Manual page 285

For aix and linux hpc solution
Table of Contents

Advertisement

Before the mknimimage command is run, you must add the new filesets, RPMs, or epkg files to
the lpp_source resource that was used to create the SPOT. If we assume that the lpp_source
location for 61dskls is /install/nim/lpp_source/61dskls_lpp_source, the files are in the
following directories:
installppackages: /install/nim/lpp_source/61dskls_lpp_source/installp/ppc
RPM packages: /install/nim/lpp_source/61dskls_lpp_source/RPMS/ppc
epkg files: /install/nim/lpp_source/61dskls_lpp_source/emgr/ppc
The easiest way to copy the software to the correct locations is to use the nim -o update
command. To use this command, you must provide the directory that contains your software
and the NIM lpp_source resource name (for example, "61dskls_lpp_source").
If your new packages are in /tmp/myimages directory, you run the following command:
nim -o update -a packages=all -a source=/tmp/myimages 61dskls_lpp_source
Important: If you do not use this command to update the lpp_source, you must update the
.toc file by running the inutoc command. After the lpp_source is updated, you use the
mknimimage command to install the updates in the SPOT resource for this xCAT osimage.
Examples of lpp, rpm, and efix
You add the information to the mknimimage command line. If you provide one or more of the
"installp_bundle", "otherpkgs", or "synclists" values on the command line, the mknimimage
command uses only these values. The xCAT osimage definition is not used or updated when
you install software into a SPOT by using the following command:
mknimimage -u my61dskls installp_bundle="mybndlres1,mybndlres2"
otherpkgs="openssh.base,R:popt-1.7-2.aix5.1.ppc.rpm,IZ38930TL0.120304.epkg.Z"
The installp_bundle value is a comma-separated list of (previously defined) NIM
installp_bundle resource names. The otherpkgs value is a comma-separated list of installp
filesets, rpm package names, or epkg file names. The rpm names must be preceded by "R:"
(for example, R:foo.rpm).
You specify rpm flags on the mknimimage command line by setting the rpm_flags attribute to
the value you want to use, as shown in Table . If the default flags are not specified, the flags
are "-Uvh -replacepkgs". You also specify emgr flags on the mknimimage command line by
setting the "emgr_flags" attribute to the value you want to use. There are no default flags for
the emgr command.
Install software with the lpp_flag and rpm_flag by using the following command:
mknimimage -u my61dskls installp_flags="-agcQX" rpm_flags="-i --nodeps"
Chapter 5. Maintenance and serviceability
271

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Power Systems 775 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents