Query a system in the Network installation management (NIM) environment for system information and create client objects in the environment.
nimquery{{ -a host=hostname [-a name=client obj[-d] [-a hmc=obj name[-d] [-a cec=obj name [-a bcmm=obj name [-a ivm=obj name} [-p] [-q] [-v]
The nimquery command queries a machine for system information when using the -a host parameter. The information is used for defining a new client object in the NIM environment. System information is provided from systems that use the NIM service handler (nimsh).
The nimquery command can also be used to query logical partitions (LPARs) , central electronics complex (CEC) and blades information when pointing to a Hardware Management Console (HMC) , CEC, Integrated Virtualization Manager (IVM) or Blade Center Management Module (BCMM) object. To do so, the openssh.base.client must be installed on the NIM master.
Item | Description |
---|---|
-a | Assigns the following parameter attribute=value pairs. |
-d | Defines a new client object (requires the name attribute when -a host is used). |
-p | Enables print format. |
-q | Shows an attribute list for nimquery command. |
-v | Enables verbose debug output during command execution. |
Item | Description |
---|---|
host=hostname | Specifies the host name of the system to query. This attribute is required. |
name=client_obj | Specifies the name to assign the client object when creating a new definition in the NIM database. |
hmc=objname | Specifies the object name of the HMC system to query. This attribute is required. |
cec=objname | Specifies the object name of the CEC system to query. This attribute is required. |
ivm=objname | Specifies the object name of the IVM system to query. This attribute is required. |
bcmm=objname | Specifies the object name of the BCMM system to query. This attribute is required. |
You must have root authority to run the nimquery command.
nimquery -a host=buckey
nimquery -a host=buckey -p
nimquery -a name=client6 -a host=buckey -d
nimquery -a bcmm=bcmm2
nimquery -a hmc=hmc1 -d
nimquery -a cec=cec1
Item | Description |
---|---|
/usr/sbin/nimquery | The location of nimquery command. |