Adding IVM management objects to the NIM environment
Follow the instructions to add an integrated virtualization manager management object.
An IVM represents an Integrated Virtualization Management (IVM) logical partition (LPAR). These operations require the dsm.core fileset to be installed on the NIM master.
To add an IVM object from the command line, follow these steps:
- Create an encrypted password file that contains the login ID and
related password to access the IVM object on the NIM master by using
the dpasswd command from the dsm.core fileset. If you
do not want the password to display in clear text, exclude the -P parameter.
The dpasswd command will then prompt for the password.
# dpasswd -f EncryptedPasswordFilePath -U ivmLogin -P ivmPassword - Pass the encrypted password file that is created in the passwd_file attribute
by using the define command of the IVM object:
# nim -o define -t ivm -a passwd_file=EncryptedPasswordFilePath \ -a if1=InterfaceDescription \ -a net_definition=DefinitionName \ ivmName - If the network object describing the network mask and the gateway
used by the IVM object does not exist, use the net_definition attribute. Note: You must manually remove the file pointed to the passwd_file attribute after you remove the IVM objects.
Example
To add the IVM object with the host name ivm1, that has the following configuration:
host name=ivm1
password file path=/etc/ibm/sysmgt/dsm/config/ivm1
network type=ethernet
subnet mask=255.255.240.0
default gateway=gw1
default gateway used by NIM master=gw_masteEnter the
following command sequence:
# nim -o define -t ivm -a passwd_file=/etc/ibm/sysmgt/dsm/config/ivm1 \
-a if1="find_net ivm1 0" \
-a net_definition="ent 255.255.240.0 gw1 gw_master" ivm1For additional information, see the/opt/ibm/sysmgt/dsm/doc/dsm_tech_note.pdf file of the dsm.core fileset.