在ESX4上安装HP SNMP Agent
2010-03-09 23:36
295 查看
[b]这文章真好,真应时。我刚好打算在我的ESX4上安装HP SIM agent以便我的SIM服务器可以管理监控到ESX。太感谢了。。。大喜,喜出望外地转帖在此。原文见:http://xtravirt.com/installing-and-configuring-hp-snmp-agents-esx-40
[/b][b]To view a Video of the installtion process click Here or scroll to the bottom of the post.[/b]Check for the latest version, VMware will tell you the latest version here:http://www.vmware.com/support/esx25/doc/sys_mgmt_links.html (v8.3.1 at the time of writing)Download the latest HP Management Agents for VMware ESX Server 4.xOpen the HP Software Downloads page:http://h20000.www2.hp.com/bizsupport/TechSupport/ProductRoot.jsp?lang=en&cc=us&taskId=135
Follow the steps to select the server hardware.
Select the Operating System as ESX/ESXi 4
Find HP Management Agents for VMware ESX Server 4.x and click the Download button.
Upload the HP Management Agent to your ESX HostLogin to vCenter using the Virtual Infrastructure Client
Highlight the ESX Host you want to install the HP Management Agent on and view theSummary tab.
Right Click on the Datastore that contains the ESX Service Console VMDK (Usually Local Storage) and click Browse Datastore. (*Note the Datastore name*)
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 your ESX HostPlease note, that the commands will need to be changed if you have a different version of the Agent
Open Putty and SSH to the ESX Host that you just uploaded the .tgz to.
Login and su –
Next we want to move the .tgz to the /Home dir using the following command: mv /vmfs/volumes/<Datastore Name you noted on section 5>/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 CMAMGMTSTATIONROIPORDNS=10.0.0.1
export CMAMGMTSTATIONROCOMMSTR=MyReadOnlyString(Note: These were the only settings I needed to change. Please check the whole hpmgmt.conf file to make sure your establishment doesn't require any other settings to be changed.)Once you’ve finished editing, CTRL+X and then Y to save and exit.
Now we install the Agent: ./install831vibs.sh –silent –inputfile hpmgmt.conf (There needs to 2 hyphen's before silent and inputfile)
Once the installation is complete you should be presented with the following message:
Reboot the Host
Testing to make sure the HP Management Agent was successfully install on your ESX HostTo 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
Follow the steps taken in the Video
I decided to put a Video together of the installation process to show you how easy it was. This is the first of many Video's coming via SLOG TV. Any comments on the Video would be gratefully received. I am toying with idea of putting music in the background, any thoughts?(Note: In the video I selected the HP Management Agents for HP C-Class Blades because that's what I'm using. Make sure you select the Servers that you will be installing the Agents on.)
[/b][b]To view a Video of the installtion process click Here or scroll to the bottom of the post.[/b]Check for the latest version, VMware will tell you the latest version here:http://www.vmware.com/support/esx25/doc/sys_mgmt_links.html (v8.3.1 at the time of writing)Download the latest HP Management Agents for VMware ESX Server 4.xOpen the HP Software Downloads page:http://h20000.www2.hp.com/bizsupport/TechSupport/ProductRoot.jsp?lang=en&cc=us&taskId=135
Follow the steps to select the server hardware.
Select the Operating System as ESX/ESXi 4
Find HP Management Agents for VMware ESX Server 4.x and click the Download button.
Upload the HP Management Agent to your ESX HostLogin to vCenter using the Virtual Infrastructure Client
Highlight the ESX Host you want to install the HP Management Agent on and view theSummary tab.
Right Click on the Datastore that contains the ESX Service Console VMDK (Usually Local Storage) and click Browse Datastore. (*Note the Datastore name*)
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 your ESX HostPlease note, that the commands will need to be changed if you have a different version of the Agent
Open Putty and SSH to the ESX Host that you just uploaded the .tgz to.
Login and su –
Next we want to move the .tgz to the /Home dir using the following command: mv /vmfs/volumes/<Datastore Name you noted on section 5>/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 CMAMGMTSTATIONROIPORDNS=10.0.0.1
export CMAMGMTSTATIONROCOMMSTR=MyReadOnlyString(Note: These were the only settings I needed to change. Please check the whole hpmgmt.conf file to make sure your establishment doesn't require any other settings to be changed.)Once you’ve finished editing, CTRL+X and then Y to save and exit.
Now we install the Agent: ./install831vibs.sh –silent –inputfile hpmgmt.conf (There needs to 2 hyphen's before silent and inputfile)
Once the installation is complete you should be presented with the following message:
Reboot the Host
Testing to make sure the HP Management Agent was successfully install on your ESX HostTo 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
Follow the steps taken in the Video
I decided to put a Video together of the installation process to show you how easy it was. This is the first of many Video's coming via SLOG TV. Any comments on the Video would be gratefully received. I am toying with idea of putting music in the background, any thoughts?(Note: In the video I selected the HP Management Agents for HP C-Class Blades because that's what I'm using. Make sure you select the Servers that you will be installing the Agents on.)
相关文章推荐
- SNMP--How to install SNMP extension agent DLL(如何安装SNMP扩展代理DLL)
- HP6510笔记本电脑驱动安装
- HP-Unix安装Memcache问题
- linux_cacti 配置之 安装snmp 服务
- hp_ux11.11 下安装 sybase12.5.3
- Linux安装SNMP
- net-snmp安装手记
- Ubuntu下HP LaserJet 1000打印机的安装步骤
- snmp agent 表格实现(子代理方式实现)
- HP服务器 sco openserver 6.0 的安装
- linux el 5 上安装 snmp 5.4.1过程
- 惠普HP P7-1005cx安装windows xp
- Citrix Avalon安装实验手册之三---Deliver Agent for Windows Desktop Machines安装
- zabbix-agent 安装
- 【BMC_patrol常见问题汇总】PatrolAgent安装100%报错和错误的解决方法
- HP-UX双机-安装ORACLE10g
- HP服务器安装linux及sybase数据库
- CentOS 6.5 安装部署zabbix(Agent客户端篇)
- snmp安装
- Oracle Enterprise Manager Cloud Control 12c(12.1) OMS&Agent安装图文指南