Adding PowerVC management objects to the NIM environment

You can add an IBM® Power® Virtualization Center (PowerVC) management object to the NIM environment.

A PowerVC object represents the PowerVC management server that is used for system management operations. The dsm.core fileset must be installed on the NIM master to perform PowerVC operations.

To add a PowerVC object from the command line, complete the following steps:

  1. Create an encrypted password file that contains the login ID and related password on the NIM master to access the PowerVC object. The encrypted password file must be created by using the dpasswd command from the dsm.core fileset as shown in the following example:
    # dpasswd -f EncryptedPasswordFilePath -U powervcLogin -P powervcPassword
    Note: If you do not want the password to be displayed in clear text, exclude the -P flag. When you do not specify the -P flag, the dpasswd command prompts for the password.
  2. Specify the encrypted password file with the passwd_file attribute by using the define command of the PowerVC object as shown in the following example:
    # nim -o define -t powervc -a passwd_file=EncryptedPasswordFilePath \
    -a if1=InterfaceDescription \
    -a net_definition=DefinitionName \
  3. If the network object, which describes the network mask and the gateway that is used by the PowerVC object, does not exist, specify the net_definition attribute. After you remove the PowerVC objects, manually remove the file that is specified by the passwd_file attribute.


To add a PowerVC object that has the following configuration setting:
host name=pvc1
password file path=/etc/ibm/sysmgt/dsm/config/pvc1
network type=ethernet
subnet mask=
default gateway=gw1
default gateway used by NIM master=gw_master
Enter the following command:
# nim -o define -t powervc  \
-a passwd_file=/etc/ibm/sysmgt/dsm/config/pvc1 \
-a if1="find_net nf1 0" \
-a net_definition="ent gw1 gw_master" pvc1
For more information about adding a PowerVC object, see the technical note that is included in the dsm.core fileset (/opt/ibm/sysmgt/dsm/doc/dsm_tech_note.pdf).