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:
- 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 thePowerVCobjects, manually remove the file that is specified by the passwd_file attribute.
Example
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=255.255.240.0
default gateway=gw1
default gateway used by NIM master=gw_masterEnter
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 255.255.240.0 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).