nim Command
Purpose
Performs operations on Network Installation Management (NIM) objects.
Syntax
nim { -o Operation} [ -F ] [ -t Type ] [ -a Attribute=Value... ] {ObjectName}Description
The nim command performs an operation on a NIM object. The type of operation that is performed depends on the type of object that is specified by the ObjectName parameter. Possible operations include initializing environments and managing resources. You can use the lsnim command to display the list of supported operations.
Flags
| Item | Description |
|---|---|
| -a Attribute=Value . . . | Assigns the specified value to the specified attribute. Use the
lsnim
-q
Operation
-t
Type command to get a list of valid attributes for a specific
operation. |
| -F | Overrides some safety checks. |
| -o Operation | Specifies an operation to perform on a NIM object. Following are the possible operations:
|
| Item | Description |
|---|---|
| -o Operation (Continued) |
Use the |
| Item | Description |
|---|---|
| -t Type | Specifies the type of the NIM object for define
operations. Following are the possible NIM object types:
|
| Item | Description |
|---|---|
| -t Type (Continued) |
|
Security
- Access Control
- You must have root authority to run the nim command.
- RBAC users
-
Attention RBAC users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations that are associated with this command, see the lssecattr command or the getcmdattr subcommand.
Examples
The following examples are grouped by operation.
activate-
- To start the managed
wpar1workload partition, enter the following command:nim -o activate wpar1 - To start the managed
wpar1workload partition with more startwpar command flags with verbose output, enter the following command:nim -o activate -a cmd_flags="-v" wpar1
- To start the managed
allocate-
- To allocate resources to a diskless workstation with the name
syzygyand SPOT attribute value ofspot1, enter the following command:nim -o allocate -a spot=spot1 syzygy - To perform a base system installation on the system that is named
krakatoa, resources must be allocated initially by entering:
The NIM environment can be initialized to support the installation by performing thenim -o allocate -a spot=myspot -a lpp_source=images krakatoabos_instoperation, enter the following command:nim -o bos_inst krakatoa - To install the software product
adt, into a stand-alone systemstand1, given that the installable optionadt, in thelpp_source,images, enter the following commands:nim -o allocate -a lpp_source=images stand1nim -o cust -a filesets="adt" stand1 - To install software products into a stand-alone system
stand1, such that the image for the installable optionadt, in thelpp_source,images, and theinstallp_bundle,bundle1that contains the name of the installable option, enter the following commands:nim -o allocate -a lpp_source=images \ -a installp_bundle=bundle1 stand1nim -o cust stand1 - To automatically configure a machine with name resolution services after a BOS installation,
create the /exports/resolv.conf file, with contents similar to the following
sample file:
nameserver 129.35.143.253 nameserver 9.3.199.2 domain austin.ibm.comAfter creating the /exports/resolv.conf file, enter the following command:nim -o define -t resolv_conf -a location=/exports/resolv.conf \ -a server=master rconf1Before issuing thebos_instoperation, allocate this resource with other required and optional resources by entering the following command:nim -o allocate -a spot=spot1 -a lpp_source=images1 \ -a bosinst_data=bid1 -a resolv_conf=rconf1 client1 - To allocate all resources applicable to stand-alone machines from the NIM resource group
res_grp1, to the machinemac1, enter the following command:nim -o allocate -a group=res_grp1 mac1 - To allocate a stand-alone machine that is named
standalone1to a customer that is namedcustomer1, enter the following command:nim -o allocate -a standalone=standalone1 customer1 - To allocate a
lpp_sourcethat is namedlpp_source1to a customer that is namedcustomer1, enter the following command:nim -o allocate -a lpp_source=lpp_source1 customer1
- To allocate resources to a diskless workstation with the name
alt_disk_install-
- To install a
mksysbresourceall_devices_mysysbto clientroundrock, on hdisk4 and hdisk5 by using theimage_dataresourceimage_data_shrink, with the debug turned on, enter the following command:nim -o alt_disk_install -a source=mksysb\ -a image_data=image_data_shrink\ -a debug=yes\ -a disk='hdisk4 hdisk5' roundrock - To clone a
rootvgon clientaustinto hdisk2, but run phase1 and phase2 only (leaving the /alt_inst file systems mounted), enter the following command:nim -o alt_disk_install -a source=rootvg\ -a disk='hdisk2'\ -a phase=12 austin
- To install a
bos_inst-
- To install the machine
blowfish, by using the resourcesspot1,images1,bosinst_data1, andrconf1, first allocate the resources by typing:
Then, perform the BOS installation by typing:nim -o allocate -a spot=spot1 -a lpp_source=images1 \ -a bosinst_data=bosinst_data1 -a resolv_conf=rconf1 blowfishnim -o bos_inst blowfish - To install the machine
blowfishwhile allocating the resourcesspot1,images1,bosinst_data1, andrconf1automatically when thebos_instoperation starts, enter the following command:nim -o bos_inst -a spot=spot1 -a lpp_source=images1 \ -a bosinst_data=bosinst_data1 -a resolv_conf=rconf1 blowfish - To use the default resources when installing the machine
mac1, enter the following command:nim -o bos_inst mac1 - To install a machine
deadfish, withspot1andlpp_source1and use anadapter_defresourceadapter_def1to configure secondary adapters, enter the following command:nim -o bos_inst -a spot=spot1 -a lpp_source=lpp_source1 \ -a adapter_def=adapter_def1 deadfish - To install the machine blowfish and accept software license agreements, enter the following
command:
nim -o bos_inst -a spot=spot1 -a lpp_source=images1 \ -a accept_licenses=yes -a resolv_conf=rconf1 blowfish
- To install the machine
change-
- Machines on the
BLDG905network use thegateway905gateway to reach theOZnetwork. Machines on theOZnetwork use thegatewayOZgateway to reach theBLDG905network. To add a route between two networks that are namedBLDG905andOZ, enter the following command:nim -o change -a routing1="OZ gateway905 gatewayOZ" BLDG905 - The adapter that is identified by the host name
sailfish2.austin.ibm.comis attached to a token ring network. To define a secondary interface for this adapter on the NIM master and instructing NIM to locate the NIM network that represents the attached ethernet network and, if not found, have NIM define a NIM network with subnetmask255.255.255.128, enter the following command:nim -o change -a if2="find_net sailfish2.austin.ibm.com 0" \ -a net_definition="tok 255.255.255.128" -a ring_speed2=16 masterNote: A default name is generated for the network, and no routing information is specified for the new network. - To define default routes for the networks
net1andnet2that use default gatewaysgw1andgw2, enter the following commands:nim -o change -a routing1="default gw1" net1 nim -o change -a routing1="default gw2" net2 - To designate the resources that are defined by the resource group
res_grp1as the set of resources that are always allocated by default during any operation in which these resources are applicable, enter the following command:nim -o change -a default_res=res_grp1 master
- Machines on the
check-
- To have NIM check on the usability of a SPOT that is named
myspot, enter the following command:nim -o check myspot - To check the status of an
lpp_sourcenamedimages, enter the following command:nim -o check images
- To have NIM check on the usability of a SPOT that is named
chwpar-
To add resource set
rs/cpus23to the resource control attributes for thewpar1workload partition, enter the following command:nim -o chwpar -a cmd_flags="-R rset=rs/cpu23" wpar1 create-
- To create the
wpar1workload partition with host name and specification file resourcebasic_wpar, enter the following command:nim -o create -a wpar_spec=basic_wpar wpar1 - To create the
wpar1workload partition with thewpar-specificationfile resourcewpar1_spec, enter the following command:nim -o create -a wpar_spec=wpar1_spec wpar1 - To create the
wpar1workload partition from thesavewparbackup image resourcewpar1_backup, enter the following command:nim -o create -a savewpar=wpar_backup wpar1
- To create the
cust-
- To install a software product into a spot that is named
spot1, such that the image for the installable option that is namedadt, reside in thelpp_sourcethat is namedimages, enter the following command:nim -o cust -a lpp_source=images -a filesets=adt spot1 - To install a software product into a spot
spot1, such that the image for the installable optionadt, reside in thelpp_source,images, and theinstallp_bundle,bundle1, contains the name of the installable option, enter the following command:nim -o cust -a lpp_source=images -a installp_bundle=bundle1 spot1 - To install a software product into a spot
spot1, such that the image for the installable optionadt, reside on a tape that is in the tape drive that is local to the machine where the spot resides, enter the following command:nim -o cust -a lpp_source=/dev/rmt0 -a filesets=adt spot1 - To install a software product into a spot
spot1, such that the image for the installable optionadt, reside on a tape that is in the tape drive that is local to the machine where the spot resides, enter the following command:nim -o cust -a lpp_source=/dev/rmt0 -a filesets=adt spot1 - To install all fileset updates associated with APAR
IX12345, residing on the tape /dev/rmt0 intospot1and any diskless or dataless clients to whichspot1is currently allocated, enter the following command:nim -F -o cust -afixes=IX12345 -a lpp_source=/dev/rmt0 spot1 - To update all software installed on the client
Standalone1, with the latest updates in thelpp_sourcenamedupdt_images, enter the following command:nim -o allocate -a lpp_source=updt_images Standalone1 nim -o cust -afixes=update_all Standalone1 - To install the machine
catfishwith the contents of theinstallp_bundlebundle1, first allocate the resources by typing:
Then, perform thenim -o allocate -a installp_bundle=bundle1 \ -a lpp_source=images1 catfishcustoperation by typing:nim -o cust catfish - To update all software that is installed on the client
Standalone1, with the latest updates in thelpp_sourcenamedupdt_images, enter the following command:nim -o cust -a lpp_source=updt_images -a fixes=update_all \ Standalone1 - To install the machine
catfishwith the contents of theinstallp_bundlebundle1, while allocating this resource and thelpp_sourceimages1when thecustoperation runs, enter the following command:nim -o cust -a installp_bundle=bundle1 -a lpp_source=images1 \ catfish - To configure secondary adapters on a client machine
deadfish, by using the secondary adapter configuration file in theadaper_defresourceadapter_def1, enter the following command:nim -o cust -a adapter_def=adapter_def1 deadfish
- To install a software product into a spot that is named
deactivate-
- To stop the managed
wpar1workload partition, enter the following command:nim -o deactivate wpar1 - To force the stop of the managed
wpar1workload partition, enter the following command:nim -Fo deactivate wpar1 - To stop the managed
wpar1workload partition with morestopwparcommand flags to halt after 85 seconds, enter the following command:nim -o deactivate -a cmd_flags="-t 85" wpar1
- To stop the managed
deallocate-
- To deallocate an
lpp_sourcenamedimagesfrom the stand-alone machineclient1, enter the following command:nim -o deallocate -a lpp_source=images client1 - To deallocate a stand-alone machine that is named
idevp9-lp10from a customer that is namedcustomer1, enter the following command:nim -o deallocate -a standalone=idevp9-lp10 customer1
- To deallocate an
define-
- To define a resource that is a directory that contains installable images and is on the server
altoidand has a path name of /usr/sys/inst.images, and name that resourceimages, enter the following command:nim -o define -t lpp_source -a server=altoid \ -a location=/usr/sys/inst.images images - To create a new SPOT resource named
myspoton the NIM master in the /export/exec directory, by using anlpp_sourcenamed image, enter the following command:nim -o define -t spot -a server=master -a location=/export/exec \ -a source=images myspot - To define a network object named
BLDG905, with a subnetmask of255.255.240.0and an address of129.35.129.0, enter the following command:nim -o define -t tok -a snm=255.255.240.0 \ -a net_addr=129.35.129.0 BLDG905 - To define a
mksysbresourcemksysb1, from an existingmksysbimage that is located in /resources/mksysb.image on the master, enter the following command:nim -o define -t mksysb -a server=master \ -a location=/resources/mksysb.image mksysb1 - To define a NIM network that is named ATMnet with a subnet mask of
255.255.240and an address of129.35.101.0to represent an ATM network, by using thegenericnetwork type, enter the following command:nim -o define -t generic -a snm=255.255.240.0 \ -a net.addr=129.35.101.0 ATMnet - To define a machine group named
DisklsMacs1with members that are NIM diskless machines that are nameddiskls1,diskls2, anddiskls3, enter the following command:nim -o define -t mac_group -a add_member=diskls1 \ -a add_member=diskls2 -a add_member=diskls3 DisklsMacs1 - To define a resource group named
DisklsRes1with resourcesspot1,root1,dump1,paging1,home1,tmp1, enter the following command:nim -o define -t res_group -a spot=spot1 -a root=root1 \ -a dump=dump1 -a paging=paging1 -a home=home1 -a tmp=tmp1 \ DisklsRes1 - To display the space that is required to define a
mksysbresourcemksysb2, and create anmksysbimage of the clientclient1, during the resource definition where the image is located in /resources/mksysb.image on the master, enter the following command:Note: This action shows the space that is required for the operation, mksysb, or resource creation does NOT take place.nim -o define -t mksysb -a server=master \ -a location=/resources/mksysb.image -a source=client1 \ -a mk_image=yes -a size_preview=yes mksysb2 - To define a
mksysbresourcemksysb2, and create themksysbimage of the clientclient1, during the resource definition where the image is in /resources/mksysb.image on the master, enter the following command:nim -o define -t mksysb -a server=master \ -a location=/resources/mksysb.image -a source=client1 \ -a mk_image=yes mksysb2 - To define a
mksysbresourcemksysb2, and create anmksysbimage of the clientclient1, during the resource definition where the mksysb flags used to create the image are-em, and the image is in /resources/mksysb.image on the master, enter the following command:nim -o define -t mksysb -a server=master \ -a location=/resources/mksysb.image -a source=client1 \ -a mk_image=yes -a mksysb_flags=em mksysb2 - To define a
exclude_filesresource that is namedexclude_file1, located in /resources/mksysb.image on the master, enter the following command:nim -o define -t exclude_files -a server=master \ -a location=/resources/exclude_file1 exclude_file1 - A machine that is called
redfish, hostnameredfish_t.lab.austin.ibm.com, has its primary interface that is attached to a token-ring network with ring speed of 16 Megabits. To defineredfishas a stand-alone machine in the NIM environment and instructing NIM to locate the name of the network that the machine's primary interface is attached, enter the following command:nim -o define -t stand-alone -a if1="find_net \ redfish_t.lab.austin.ibm.com 0" -a ring_speed1=16 redfish - A machine that is called
bluefish, hostname isbluefish_e.lab.austin.ibm.com, has its primary interface that is attached to an ethernet network withcable_typeofbnc. To definebluefishas a diskless machine in the NIM environment and instructing NIM to locate the name of the network that the machine's primary interface is attached, and if not found, have NIM define a NIM network with the nameent_net, subnetmask of255.255.255.128and default route by using the gateway with hostnamelab_gate, enter the following command:nim -o define -t diskless -a if1="find_net \ bluefish_e.lab.austin.ibm.com 0" -a net_definition="ent \ 255.255.255.128 lab_gate 0 ent_net" -a cable_type=bnc bluefishNote: Specify 0 in place of the master gateway in thenet_definitionattribute if a default route for the master exists, otherwise you must specify the master gateway. - To define the /export/nim/adapters directory as a
adapter_defresourceadapter_def1, on the master, enter the following command:
To populate thenim -o define -t adapter_def -a server=master \ -a location=/export/nim/adapters adapter_def1adapter_defresource with secondary adapter configuration files, run thenimadapterscommand. - To display the space that is required to define a
savevgresourcesavevg2, and create asavevgimage of the clientclient1, during the resource definition where the image is in /export/nim/savevg on the master and thevolume_groupto backup ismyvg, enter the following command:nim -o define -t savevg -a server=master \ -a location=/export/nim/savevg/savevg2 -a source=client1 \ -a mk_image=yes -a size_preview=yes -a volume_group=myvg savevg2Note: This action shows the space that is required for the operation.savevgor resource creation does not take place. - To define a
savevgresourcesavevg2, and create thesavevgimage of the clientclient1, during the resource definition where the image is in /export/nim/savevg on the master and thevolume_groupto backup ismyvg, enter the following command:nim -o define -t savevg -a server=master \ -a location=/export/nim/savevg -a source=client1 \ -a mk_image=yes -a volume_group=myvg savevg2 - To define a
savevgresourcesavevg2, and create asavevgimage of the clientclient1, during the resource definition where thesavevgflags used to create the image are-em, and the image is in /export/nim/savevg on the master, enter the following command:nim -o define -t savevg -a server=master \ -a location=/export/nim/savevg -a source=client1 \ -a mk_image=yes -a volume_group=myvg -a savevg_flags=em savevg2 - To define a
vg_dataresourcemy_vg_data, on the master at the location /export/nim, enter the following command:nim -o define -t vg_data -a server=master -a location=/export/nim/my_vg_data my_vg_data - To define the
wpar1workload partition that is managed by theyogimanaging stand-alone machine with wpar1 as both the host name and the name of the workload partition on the managing system, enter the following command:nim -o define -t wpar -a mgmt_profile1="yogi wpar1" -a if1="find_net wpar1 0" wpar1 - To define a
savewparresource that is namedwpar1backupand create thesavewparimage of theyogiworkload partition on thesterlingserver, enter the following command:nim -o define -t savewpar \ -a server=sterling -a location=/resources/wpar1.image \ -a source=wpar1 -a mk_image=yes wpar1backup - To define a
savewparresource that is namedwpar1backupand create thesavewparimage of theyogiworkload partition on thesterlingserver, excluding file patterns in theexclude_filesresourcewparexclude, and passing the flag to thesavewparresource to exclude files and creates aimage.datafile, enter the following command:nim -o define -t savewpar \ -a server=sterling -a location=/resources/wpar1.image -a source=wpar1 \ -a exclude_files=wparexclude -a cmd_flags="-ei" mk_image=yes wpar1backup - To define a
ios_mksysbresource such asios_mksysb1, and create theios_mksysbimage of theviosclient asvios1, during the resource definition where the image is located in /export/nim/ios_mksysb on the master, enter the following command:nim -o define -t ios_mksysb -a server=master \ -a location=/export/nim/ios_mksysb -a source=vios1 \ -a mk_image=yes ios_mksysb1 - To define a customer object, enter the following
command:
nim -o define -t customer -a server=master customer1
- To define a resource that is a directory that contains installable images and is on the server
destroy-
- To remove the managed
wpar1workload partition from its managing system, enter the following command:nim -o destroy wpar1 - To force the removal of the managed
wpar1workload partition, enter the following command:nim -Fo destroy wpar1
- To remove the managed
dkls_init-
- To initialize the environment for a diskless workstation with the name of
syzygy, by using the resourcesspot1,root1,dump1, andpaging1, you must allocate the resources by typing:
Then initialize the resources for the client machine by typing:nim -o allocate -a spot=spot1 -a root=root1 -a dump=dump1 \ -a paging=paging1 syzygynim -o dkls_init syzygy - To initialize the environment for a diskless workstation with the name of
syzygy, enter the following command:nim -o dkls_init syzygy - To exclude the member named
diskls2from operations on the machine groupDisklsMacs1, and then initialize the remaining members while allocating the diskless resources defined by the resource group namedDisklsRes1, enter the following command the following two commands:nim -o select -a exclude=diskls2 DisklsMacs1 nim -o dkls_init -a group=DisklsRes1 DisklsMacs1 - To initialize the group of diskless machines that are defined by the machine group
dtgrp1, while allocating the required and optional resources defined by the resource groupdk_resgrp1, when thedkls_initoperation runs, enter the following command:nim -o dkls_init -a group=dtgrp1 dk_resgrp1
- To initialize the environment for a diskless workstation with the name of
dtls_init-
- To initialize the environment for a dataless workstation with the name of
syzygy, by using the resourcesspot1,root1, anddump1, first allocate the resources by typing:
Then initialize the resources for the client machine by entering the following command:nim -o allocate -a spot=spot1 -a root=root1 -a dump=dump1 syzygynim -o dtls_init syzygy - To initialize the environment for a dataless workstation with the name of
syzygy, enter the following command:nim -o dtls_init syzygy - To exclude the member named
dataless1from operations on the machine groupDatalsMacs1, and then initialize the remaining members while allocating the dataless resources defined by the resource group namedDatalsRes1, enter the following command the following two commands:nim -o select -a exclude=datals2 DatalsMacs1 nim -o dtls_init -a group=DatalsMacs1 DatalsRes1 - To initialize the group of dataless machines defined by the machine group
DatalsMacs1, while allocating the required and optional resources defined by the resource groupDatalsRes1, when thedtls_initoperation runs, enter the following command:nim -o dtls_init -a group=DatalsMacs1 DatalsRes1
- To initialize the environment for a dataless workstation with the name of
fix_query- To list information about fixes installed on the client
Standalone1for 20 APAR numbers, create the file/tmp/apar.listwith one APAR number per line, as shown:IX123435 IX54321 IX99999 ...After creating the/tmp/apar.listfile, enter the following command:nim -o define -t fix_bundle -alocation=/tmp/apar.list \ -aserver=master fix_bun nim -o allocate -a fix_bundle=fix_bun Standalone1 nim -o fix_query Standalone1 lppchk-
- To check fileset version and requisite consistency on the SPOT
spot1, enter the following command:nim -o lppchk spot1 - To verify the file checksums for all packages that begins with the name
boson NIM targets in the group of stand-alone machinesmacgrp1, and displaying detailed error information and updating the software database to match the actual file checksum when inconsistencies are found, enter the following command:
Because thenim -o lppchk -a lppchk_flags='-c -m3 -u' \ -a filesets='bos*' macgrp1lppchkoperation runs in the background on group members by default, to view the output from thelppchkoperation type:nim -o showlog -a log_type=lppchk macgrp1
- To check fileset version and requisite consistency on the SPOT
lppmgr-
- To list the names of duplicate base level filesets that must be removed from
lpp_source1with space usage information, enter the following command:nim -o lppmgr -a lppmgr_flags="-lsb" lpp_source1 - To remove duplicate base and update filesets and superseded updates from
lpp_source1, enter the following command:nim -o lppmgr -a lppmgr_flags="-rbux" lpp_source1 - To remove all non-SIMAGES (filesets that are not required for a bos install) from
lpp_source1, enter the following command:nim -o lppmgr -a lppmgr_flags="-rX" lpp_source1 - To remove all language support except
Cfromlpp_source1, enter the following command:nim -o lppmgr -a lppmgr_flags="-r -k C" lpp_source1
- To list the names of duplicate base level filesets that must be removed from
lswpar-
- To list the characteristics of the managed
wpar1workload partition, enter the following command:nim -o lswpar wpar1 - To list the network characteristics of the managed
wpar1workload partition, enter the following command:nim -o lswpar -a cmd_flags="-N" wpar1 - To list the general characteristics of the workload partitions managed by the
global1stand-alone system, enter the following command:nim -o lswpar -a cmd_flags="-G" global1
- To list the characteristics of the managed
maint-
- To cleanup from an interrupted software installation on a spot
spot1, enter the following command:nim -o maint -a installp_flags="-C" spot1 - From the master, to clean up from an interrupted software installation on a stand-alone machine
stand1, enter the following command:nim -o maint -a installp_flags="-C" stand1
- To cleanup from an interrupted software installation on a spot
maint_boot- To enable the NIM stand-alone client
stand1to boot in maintenance mode, enter the following command:
This command sets up the maintenance boot operation, but you must initiate the network boot locally fromnim -o maint_boot stand1stand1. remove- To remove a resource that is named
dump_files, enter the following command:nim -o remove dump_files showlog- To view the boot logs of the machines that are defined by the group
DisklsMacs1, enter the following command:nim -o showlog -a log_type=boot DisklsMacs1 showres-
- To show the contents of the
configurescript that is namedscript1, enter the following command:nim -o showres script1 - To show the contents of the bosinst.data resource
bosinst_data1, enter the following command:nim -o showres bosinst_data1 - To list all the filesets in the lpp_source
lpp_source1, enter the following command:nim -o showres lpp_source1 - To list all the filesets in the lpp_source
lpp_source1relative to what is installed on the machinemachine1, enter the following command:nim -o showres -a reference=machine1 lpp_source1 - To list all the problems that are fixed by software on the lpp_source
lpp_source1, use:nim -o showres -a instfix_flags="T" lpp_source1 - To show the contents of the secondary adapter configuration file in the
adapter_defresourceadapter_def1, for clientdeadfish, enter the following command:nim -o showres -a client=deadfish adapter_def1 - To show the contents of every secondary adapter configuration file in the
adapter_defresource that is namedadapter_def1, enter the following command:nim -o showres adapter_def1 - To show the contents of the
savevgresourcesavevg1, enter the following command:nim -o showres savevg1
- To show the contents of the
syncwpar-
- To synchronize the software of the managed
wpar1workload partition with its managing system, enter the following command:nim -o syncwpar wpar1 - To synchronize the software of all the workload partitions managed by the
global1stand-alone system, enter the following command:nim -o syncwpar -a cmd_flags="-A" global1
- To synchronize the software of the managed
update-
- To add all the filesets on /dev/cd0 to
lpp_source1, enter the following command:nim -o update -a packages=all -a source=/dev/cd0 lpp_source1 - To add the
bos.games7.1.0.0andbos.terminfofilesets tolpp_source1, enter the following command:nim -o update -a packages="bos.games 7.1.0.0 bos.terminfo" \ -a source=/dev/cd0 lpp_source1 - To remove
bos.gamesfromlpp_source1, enter the following command:nim -o update -a rm_images=yes -a packages="bos.games" lpp_source1 - To recover the missing SIMAGES for
lpp_source1from the AIX Installation CD, enter the following command:nim -o update -a recover=yes -a source=/dev/cd0 lpp_source1
- To add all the filesets on /dev/cd0 to
updatios-
- To install fixes or to update VIOS with the
vioserver1NIM object name to the latest maintenance level, enter the following command:nim -o updateios -a lpp_source=lpp_source1 -a preview=no vioserver1The updates are stored in
lpp_sourceandlpp_source1files.Note: Theupdateiosoperation runs a preview during installation. Running theupdateiosoperation from NIM runs a preview unless the preview flag is set tono. During the installation, you must run a preview when you use theupdateiosoperation withupdatios_flags=-install. With the preview, you can check whether the preview installation is running accurately before you proceed with the VIOS update. - To reject fixes for a VIOS with the
vioserver1NIM object name, enter the following command:nim -o updateios -a updateios_flags=-reject vioserver1 - To clean up partially installed updates for a VIOS with the
vioserver1NIM object name, enter the following command:nim -o updateios -a updateios_flags=-cleanup vioserver1 - To commit updates for a VIOS with the
vioserver1NIM object name, enter the following command:nim -o updateios -a updateios_flags=-commit vioserver1 - To remove a specific update such as
update1for a VIOS with thevioserver1NIM object name, enter the following command:nim -o updateios -a updateios_flags=-remove-a filesets="update1" vioserver1 - To remove updates for a VIOS with the
vioserver1NIM object name by using aninstallp_bundle bundle1, wherebundle1contains the updates to be removed, enter the following command:nim -o updateios -a updateios_flags=remove -a installp_bundle=bundle1 vioserver1
- To install fixes or to update VIOS with the
Files
| Item | Description |
|---|---|
| /etc/niminfo | Contains variables that are used by NIM. |