new1234.jpg
Home > VMware > VMware: HP Management Agent “An active Virtual Machine [ IP] has been detected on host”

VMware: HP Management Agent “An active Virtual Machine [ IP] has been detected on host”

Today I was busy to to install some HP Managent Agents 8.60 on a DL380 G6, after entering the host in maintenance mode, extracting the HP software in the /tmp/ folder I was ready to install the agent. By running the command “./install860.sh –install” I received the warning that some VM’s still running and must be powered down before you install the agent, warning:

An active Virtual Machine [ ***.***.***.*** ] has been detected on host [*****.*****.local]

And:

Please modify the state of the VMs to be Suspended or powered off and then retry Agents Installation.

See full message log:

 

[root@********* 860]# ./install860vibs.sh –install

HP Insight Manager Agent 8.6.0-11 Installer for VMware ESX
Target System is VMware ESX 4.0.0 build-208167
Server:  ProLiant DL380 G6

This script will now attempt to set ESX Host in Maintenance Mode
for IM agents install.
Do you wish to continue? (y/n) y

(vim.fault.NotFound) {
   dynamicType = <unset>,
   faultCause = (vmodl.MethodFault) null,
   msg = "Unable to find a VM corresponding to "***.***.***.***"",
}
(vim.fault.NotFound) {
   dynamicType = <unset>,
   faultCause = (vmodl.MethodFault) null,
   msg = "Unable to find a VM corresponding to "***.***.***.***"",
}
An active Virtual Machine [ ***.***.***.*** ] has been detected on host [*****.*****.local]

The ESX host will be put into maintenance mode
   to be able to install/uninstall the agents.
The Virtual Machines must be either Powered off or Suspended
   by the operator to allow the transition
   of the ESX host into maintenance mode.
Please modify the state of the VMs to be Suspended or powered off
   and then retry Agents Installation.

[root@********* 860]#

I rebooted the host twice, entered and disconnected maintenance mode, was sure that all VM’s on this host are powered off (double checked with vmware-cmd) but still this warning!

Resolution:

– Unregister all VM’s on this host in VC/Host or vmware-cmd -s unregister vmfs/volume/vmfslabel/vmname/vmname.vmx ;

– Install the HP Management Agent again (“./install860.sh –install”)

image

– Reboot your host;

– Connect the HP Management Homepage by using https://ip_host:2381

 

Yeah, it works 🙂

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

  1. October 14th, 2010  (Quote) at 06:33  (Quote) | #1

    Realy nice i will come back greetings from berlin Matthias

  2. Alest
    October 21st, 2010  (Quote) at 08:36  (Quote) | #2

    i love this site..

  3. Marcus Breiden
    December 8th, 2010  (Quote) at 11:36  (Quote) | #3

    Easier way is to make sure there are no special characters or CR LF in the notes section of the vmx file. The problem in my case was a falconstore nss-va which did put up some information into the notes section. Looks like this will throw off the install.

    Other option would be to just hack the install script to not check for running vms.

    Marcus

  1. No trackbacks yet.