Adding PowerVC management objects to the NIM environment
You can add an IBM® Power® Virtualization Center (PowerVC) management object to the NIM environment.
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:
- Create an encrypted password file that contains the login ID and related password on the NIM
master to access the
PowerVCobject. 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 powervcPasswordNote: 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.
- Specify the encrypted password file with the passwd_file attribute by using
the define command of the
PowerVCobject as shown in the following example:
# nim -o define -t powervc -a passwd_file=EncryptedPasswordFilePath \ -a if1=InterfaceDescription \ -a net_definition=DefinitionName \ powervcName
- If the network object, which describes the network mask and the gateway that is used by the
PowerVCobject, does not exist, specify the net_definition attribute. After you remove the
PowerVCobjects, manually remove the file that is specified by the passwd_file attribute.
To add a
PowerVCobject that has the following configuration setting:
Enter the following command:
host name=pvc1 password file path=/etc/ibm/sysmgt/dsm/config/pvc1 network type=ethernet subnet mask=255.255.240.0 default gateway=gw1 default gateway used by NIM master=gw_master
For more information about adding a
# nim -o define -t powervc \ -a passwd_file=/etc/ibm/sysmgt/dsm/config/pvc1 \ -a if1="find_net nf1 0" \ -a net_definition="ent 255.255.240.0 gw1 gw_master" pvc1
PowerVCobject, see the technical note that is included in the dsm.core fileset (/opt/ibm/sysmgt/dsm/doc/dsm_tech_note.pdf).