VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Nov 2, 2009 5:35 PM by sgstuart  

(hpmgmt) hp-OpenIPMI will not uninstall posted: Oct 29, 2009 5:53 PM

Click to view sgstuart's profile Enthusiast 69 posts since
Jun 1, 2005

Hi All,

I am hitting my head against the wall way too long now, and I am asking for help. 1 and only 1 of our many ESX boxes is having this problem. It (they all are) a 3.5.0 update 4 server. I have not been able to install hpmgmt 8.2, because it says there are some already installed. rpm and --uninstalls show that there are 2 installed a 7.8 version and a 7.9 version. When trying to uninstall using rpm -e hp-OpenIPMI-7.9.0-110.vmware30 it says that

Upgrades are not permitted for the hp-OpenIPMI package.

Please remove the package using the command: rpm -e hp-OpenIPMI

error: %prerun(hp-OpenIPMI-7.9.0-110.vmware30) scriptlet failed, exit status 1

when I run rpm -e hp-OpenIPMI by it self it has the same 3 lines after this 1 line error: "hp-OpenIPMI" specifies multiple packages so it is stuck in a recursive logic (at least not programatically :) )

I have stopped pegasus and I do not have an hpasm to stop. I have not found anything else helpful.

Thanks,
Steven Stuart

Re: (hpmgmt) hp-OpenIPMI will not uninstall

1. Oct 29, 2009 7:50 PM in response to: sgstuart
Click to view jonathanp's profile Hot Shot 253 posts since
Sep 2, 2005
Try to see if you get the correct package name by running :

rpm -qa | grep hp-OpenIPMI

then retry with correct package name : rpm -e "package name"

if nothing works and your not afraid that this can cause other issue to your systems, you may try to force the removal by using something like this :

rpm --force -e hp-OpenIPMI

or

rpm --force --nodeps -e hp-OpenIPMI

Jonathan

Re: (hpmgmt) hp-OpenIPMI will not uninstall

3. Nov 2, 2009 1:48 PM in response to: sgstuart
Click to view msemon1's profile Hot Shot 292 posts since
Apr 5, 2005
It sounds like you are having problems with the HP Fibre agents like I was. Here was our fix


Disabling HP Fibre Channel Agents

To Eliminate SCSI reservation errors caused be HPIM agents, the following agents are recommended to be disabled:

  • Cmafcad
  • Cmahost

To disable the Fibre Agent:

1. Log into the ESX Server host service console.
2. Stop all management agents.


Service hpasm stop

Stop IPMI driver
lsmod |grep ipmi
lsof -a/dev/ipmi0
service pegasus stop
modprobe -r ipmi

Disable IPMI
chkconfig --level 12345 ipmi off


Service hpsmhd stop

Open the file /opt/Compaq/cma.conf in text editor (Nano)
Add exclude cmahost cmahostd cmafcad to the top of the file.
Save the file and exit editor
6. Issue the following commands.

  • Service hpasm start
  • Service hpsmhd start

Hope that helps.


Mike

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities