Customizing NIM clients and SPOT resources from the command line
Follow this procedure for customizing NIM clients and SPOT resources from the command line.
To perform the installation operation,
enter:
nim -o cust -a lpp_source=Lpp_Source -a filesets=FilesetsList \
-a installp_bundle=InstallpBundle \
-a installp_flags=InstallpFlags TargetName
You will specify the resources to use to support the installation and any additional attributes for customization.
The software to be installed on the client can be specified on the command line using either the filesets attribute or by specifying an installp_bundle resource that lists the software.
The default installp flags to be used to install the software are -a, -g, -Q, and -X. To specify a different set of installp flags, you can list them in the installp_flags attribute.
Example 1:
To
install the bos.diag and bos.dosutil filesets
on the client,
machine1
, using the lpp_source resource
named lpp_source1
, enter: nim -o cust -a lpp_source=lpp_source1 \
-a filesets="bos.diag bos.dosutil" machine1
Example 2:
To
install software into the SPOT resource,
spot1
,
using the lpp_source resource, lpp_source1
,
and the list of filesets specified in the installp_bundle resource, installp_bundle1
,
enter: nim -o cust -a lpp_source=lpp_source1 \
-a installp_bundle=installp_bundle1 spot1
Example 3:
To run a Live Update operation
against a client
machA
, by using the live_update_data resource,
liveupdate_machA
, with an interim fix of IY12345
that uses the
lpp_source resource named lpp_source1
,
enter:nim -o cust -a live_update=yes -a live_update_data=liveupdate_machA \
-a lpp_source=lpp_source1 -a filesets="IY12345" machA
Example 4:
To run a Live Update operation
in preview mode against a client
machA
, by using the live_update_data
resource, liveupdate_machA
, with an interim fix of IY12345
that
uses the lpp_source resource, lpp_source1
,
enter:nim -o cust -a live_update=yes -a live_update_data=liveupdate_machA -a installp_flags="-p" \
-a lpp_source=lpp_source1 -a filesets="IY12345" machA
Note: Several other resources and attributes can be
specified on the command line with the cust operation. For
a complete description of the cust operation, see Using NIM operations.