Configuration of a Windows agent on IBM HMC requires performing the following steps:
Creating the trusted key relationship requires changing an HMC file by editing it on the Windows agent host. An SCP utility is necessary to transfer the file between the hosts. A suitable utility to do this is the PSCP client, which is another utility from PuTTY/Plink. PSCP can be obtained from the PuTTY/Plink website, www.chiark.greenend.org.uk.
To create a ‘uamuser’ account
For HMC version 4 or greater, enter:
mkhmcusr -u uamuser -a hmcoperator -d UAM user
For older HMC versions, enter:
mkhmcusr -u uamuser -a sysadmin -d UAM user
To use Plink to perform this step, enter:
"C:\Program Files\CA\DSM\Agent\units\00000001\uam\plink" -ssh hmc-admin-user@hmc-host mkhmcusr -u uamuser -a hmcoperator -d UAM user
The hmc-admin-user variable represents the name of the HMC administrative user with rights to create new users, and hmc-host represents the host name or IP address of the HMC to which you need the Windows agent to connect.
To establish a trusted key relationship between the Windows agent and HMC
pscp -scp uamuser@hmc-host:/home/uamuser/.ssh/authorized_keys2 C:\Temp\authorized_keys2
Important! Keep the file in Unix format; do not convert to DOS.
pscp -scp C:\Temp\authorized_keys2 uamuser@hmc-host:/home/uamuser/.ssh/authorized_keys2
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|