Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1992169
  • 博文数量: 346
  • 博客积分: 10221
  • 博客等级: 上将
  • 技术积分: 4079
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-01 19:43
文章分类

全部博文(346)

文章存档

2012年(1)

2011年(102)

2010年(116)

2009年(127)

我的朋友

分类:

2010-09-07 15:52:58

这文章真好,真应时。我刚好打算在我的ESX4上安装HP SIM agent以便我的SIM服务器可以管理监控到ESX。太感谢了。。。大喜,喜出望外地转帖在此。原文见:

To view a Video of the installtion process click  or scroll to the bottom of the post.
Check  for the latest version, VMware will tell you the latest version here: (v8.3.1 at the time of writing)
Download the latest HP Management Agents for VMware ESX Server 4.x
  • Open the HP Software Downloads page:
  • 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 Host
  • Login 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 Host
Please 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//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: 管理员在2009年8月13日编辑了该文章文章。
-->
阅读(1400) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~