The commands for managing software on standalone clients and SPOT resources are generally the same. Specify the name of the machine, group, or SPOT as the target of the option.
Note: If the SPOT is currently allocated to a NIM client, NIM prevents the change to the SPOT. Use the Force (-F) option to force the operation.
Software updates to a SPOT cause the SPOT's network boot images to be rebuilt when necessary. If you think the boot images are bad, you can force them to be rebuilt using the NIM check operation.
Software updates to a SPOT may also cause software updates to occur in the root parts of diskless and dataless clients of the SPOT. This will occur automatically. You can force a synchronization of the client root parts using the NIM sync_roots operation on the SPOT.
For information on how to install additional software on standalone clients and SPOT resources, see Customizing NIM Clients and SPOT Resources.
nim -o lslpp [-a lslpp_flags=LslppFlags] TargetName
where lslppFlags are the flags to be passed to the lslpp command, and TargetName is the name of the client or SPOT object.
nim -o lslpp -a lslpp_flags=La spot1
nim -o fix_query [ -afixes="FixKeywords" ] \ [-afix_bundle=BundleName ] [ -afix_query_flags=FixQueryFlags ] \ TargetName
where FixKeywords are APAR numbers; FixBundleName is the object name of the fix_bundle resource; FixQueryFlags are optional flags to the fix_query operation, and TargetName is the client, group, or SPOT for which to display fix information.
Valid FixQueryFlags are
as follows:
nim -o fix_query -afixes=IX12345 standalone1
nim -o fix_query -afix_query_flags=a spot1
NIM uses the installp command to construct a SPOT by installing in the SPOT the software products that each SPOT needs to support the NIM environment. Because the installp command also supports software maintenance tasks, you can perform these tasks on SPOTs as well. For example, you can remove previously installed optional software from a SPOT when they are no longer being used. This kind of task is accomplished by performing the NIM maint operation on a SPOT using the Web-based System Manager NIM application, SMIT, or command line interface. You interact with the installp command by supplying the installp_flags, and either filesets or installp_bundle attributes.
nim -o maint -a installp_flags="InstallpFlags" \ [-a filesets="FileSetNames" | \ -a installp_bundle=BundleResourceName ] [-F] TargetName
where InstallpFlags are the flags you want to pass to the installp command; FileSetNames are the names of the filesets or packages you want to maintain; BundleResourceName is the object name of the installp_bundle resource; and TargetName is the object name of the standalone client, group, or SPOT.
nim -o maint -a filesets="bos.adt bos.INed" -a \ installp_flags="-u" standalone1
nim -o maint -F -a filesets=bos.INed -a installp_flags="-u" \ spot1
nim -o maint -a installp_flags="-u" -a installp_bundle=bundle1 \ spot1
nim -o maint -a installp_flags="-C" spot1