Installing the HP Management Agents for ESX 4
Upload the HP Management Agent to your ESX Host
Login to vCenter using the Virtual Infrastructure Client
Highlight the ESX Host you want to install the HP Management Agent on and view the
Summary tab.
Right Click on the Datastore that contains the ESX Service Console VMDK (Usually Local
Storage) and click Browse Datastore.
Click on the Upload files to this Datastore icon and select Upload File…
Browse to where the downloaded HP Management Agent .tgz file is stored and select that
file and click Open.
The .tgz will now upload to the Datastore
Installing the HP Management Agent on the ESX Host
Open Putty and SSH to the ESX Host that just uploaded the .tgz to.
Login and su –
Next move the .tgz to the /Home dir using the following command: mv
/vmfs/volumes//hpmgmt-8.3.1-vmware4x.tgz /home
cd /home
Run the following command: tar xvzf hpmgmt-8.3.1-vmware4x.tgz
Navigate into the directory: cd hpmgmt/831 (This dir name may change with version
numbers)
Make a copy of hpmgmt.conf.example: cp hpmgmt.conf.example hpmgmt.conf
Edit the new conf file: nano hpmgmt.conf
Edit the conf file, the only parts you need to change are highlighted in red below.
# export CMALOCALHOSTRWCOMMSTR – SNMP read/write community string for local
# host access.
# ex. export CMALOCALHOSTRWCOMMSTR=private
# export CMALOCALHOSTROCOMMSTR – SNMP read-only community string for local host
# access.
# ex. export CMALOCALHOSTROCOMMSTR=public
#export CMALOCALHOSTRWCOMMSTR=
#export CMALOCALHOSTROCOMMSTR=
# export CMAMGMTSTATIONRWIPORDNS – IP address or DNS host name of a system with
# read/write access to server as a management station.
# ex. export CMAMGMTSTATIONRWIPORDNS=192.168.1.1
# export CMAMGMTSTATIONRWCOMMSTR – SNMP read/write community string for a
system
# with read/write access that serves as a management station.
# ex. export CMAMGMTSTATIONRWCOMMSTR=private
export CMAMGMTSTATIONRWIPORDNS=10.0.0.1
export CMAMGMTSTATIONRWCOMMSTR=MyReadWriteString
# export CMAMGMTSTATIONROIPORDNS – IP address or DNS host name of a system with
# read-only access to server as a management station.
# ex. export CMAMGMTSTATIONROIPORDNS=192.168.1.1
# export CMAMGMTSTATIONROCOMMSTR – SNMP read/write community string for a
system
# with read-only access that serves as a management station.
# ex. export CMAMGMTSTATIONROCOMMSTR=private
export CMAMGMTST.ATIONROIPORDNS=10.0.0.1
export CMAMGMTSTATIONROCOMMSTR=MyReadOnlyString
Once done editing, CTRL+X and then Y to save and exit.
Now install the Agent with the following command:
./install831vibs.sh –silent –inputfile hpmgmt.conf (There needs to 2 hyphen's before silent
and inputfile)
Once the installation is complete reboot host.
Testing to make sure the HP Management Agent was successfully install on your ESX Host
To check if the configuration has succeeded, log in to the HP System Homepage:
https://(esx server ip or dns):2381/
You should see the Host name on the right side, underneath the login box. Use the root login
to access the homepage
Click System Board under the System box and make sure it’s populated with the correct
information