Adding HMC management objects to the NIM environment
Follow the instructions to add a Hardware Management Console management object.
HMC object represents a Hardware Management Console (HMC) system. To add an HMC object, the operation requires the dsm.core fileset to be installed on the NIM master.
To add an HMC object from the command line, follow these steps:
- Create an encrypted password file that contains the login ID and
related password on the NIM master to access the HMC. It must be created
using the dpasswd command from the dsm.core fileset.
If you do not want the password displayed in clear text, exclude the -P parameter
and the dpasswd command will prompt for the password.
# dpasswd -f EncryptedPasswordFilePath -U hmcLogin -P hmcPassword
- Pass the encrypted password file in the passwd_file attribute
by using the define command of the HMC.
# nim -o define -t hmc -a passwd_file=EncryptedPasswordFilePath \ -a if1=InterfaceDescription \ -a net_definition=DefinitionName \ HMCName
- If the network object that describes the network mask and the gateway used by HMC does not exist, use the net_definition attribute. After you remove the HMC objects, the file specified by the passwd_file attribute must be removed manually.
To add an HMC object with the host name hmc1 that has the following configuration:
host name=hmc1 password file path=/etc/ibm/sysmgt/dsm/config/hmc1 network type=ethernet subnet mask=255.255..240.0 default gateway=gw1 default gateway used by NIM master=gw_maste
Enter the following command:
For additional information, see/opt/ibm/sysmgt/dsm/doc/dsm_tech_note.pdf of the dsm.core fileset.
# nim -o define -t hmc -a passwd_file=/etc/ibm/sysmgt/dsm/config/hmc1 \ -a if1="find_net hmc1 0" \ -a net_definition="ent 255.255.240.0 gw1 gw_master" hmc1