Server Management - Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

Installing VMM Agent on Vmware 3.0.1

Gareth H Wilson
Frequent Advisor

Installing VMM Agent on Vmware 3.0.1

I have a new blade system running vmware 3.0.1, when we try to install the hpvmmagent.sh file it runs and then says the following:

HP Virtual Machine Management Agent 4.1.0.1300 Installer for VMware ESX Server

An older version of HP Virtual Machine Management Agent is installed.
Removing older version of HP Virtual Machine Management Agent.
Stopping hpvmmcnt: [ OK ]
Removed older version HP Virtual Machine Management Agent successfully.
Installing VMM Agent
Preparing... ########################################### [100%]
1:hpvmmagent ########################################### [100%]
Starting hpvmmcnt: [ OK ]
checking the port usage.
No port range change is required.
The agent installation has not completed since one of the port's 1124 -1126 are in use. Try installing the agents after freeing the ports.

when i run netstat -putan it shows 'xinetd' as having port 1124 open, i have looked in the services file and nothing is registred against 1124

how can i stop that service on that port to be able to install the agent ?

PS i am new to this vmware mullarky :)
7 REPLIES
David Borojevic
Trusted Contributor

Re: Installing VMM Agent on Vmware 3.0.1

There is another post just like this that you might want to get notifications on...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1132545

Cheers
Ole Thomsen_1
Trusted Contributor

Re: Installing VMM Agent on Vmware 3.0.1

Gareth H Wilson
Frequent Advisor

Re: Installing VMM Agent on Vmware 3.0.1

hi thankls for the replies, OLE i had that wierd entry in the bottom of my services.xml file for the firewall so i reoved it and replaced it with the following


VmmService

inbound
tcp

1124
1126

-m state --state NEW


outbound
tcp

1124
1126

-m state --state NEW



i stop the service by typing "service hpvmmcntsvc stop" check with a netstat -putan to see what ports are in use and nothing is installed on those ports then when i run ./hpvmmagent.sh it says the following

Stopping hpvmmcnt: [ OK ]
Removed older version HP Virtual Machine Management Agent successfully.
Installing VMM Agent
Preparing... ########################################### [100%]
1:hpvmmagent ########################################### [100%]
Starting hpvmmcnt: [ OK ]
checking the port usage.
No port range change is required.
The agent installation has not completed since one of the port's 1124 -1126 are in use. Try installing the agents after freeing the ports

but surely the ports WILL be in use because it has already started the service hpvmmcnt :S

also what i get is hpvmmcntj running on port 1125 as expect but nothing is running on ports 1124 or 1126

tcp 0 0 0.0.0.0:1125 0.0.0.0:* LISTEN 4418/hpvmmcntj

on my other 3 cluster nodes the service is running as above but i also get it running on port 1126 as shown below, when its running on this port (1126) i am able to register the nodes on HPSIM even though the agent install still gives the port error message :S

any ideas ?

tcp 0 0 0.0.0.0:1126 0.0.0.0:* LISTEN 6650/hpvmmcntj





Rob Buxton
Honored Contributor

Re: Installing VMM Agent on Vmware 3.0.1

From what I can see of the firewall rules, the serviceid just need to increment for each new rule.

My services.xml file has retained the odd networker item and still works. The item is commented out.

One critical thing as regards the services.xml file, don't leave ANY copies in the /etc/vmware/firewall/ directory. There should just be the one entry there.
If you have other files here it will upset the firewall.
You could try restarting the ESX firewall as well as doing a status of the vmm agent itself.
Gareth H Wilson
Frequent Advisor

Re: Installing VMM Agent on Vmware 3.0.1

what i did was to reset the firewall to its default config as it seemed to have been screwed up with the "esxcfg-firewall -r" command and then manually opened the ports using
"esxcfg-firewall --openPort 1124,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1125,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1126,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1124,tcp,out,VMMagent"
"esxcfg-firewall --openPort 1125,tcp,out,VMMagent"
"esxcfg-firewall --openPort 1126,tcp,out,VMMagent"

i then reinstalled the hpvmmagent and it still gave me the error about ports 1124-1126 being in use but i could then register and license the VM Host frokm within HP Sim


Thanks for all the feedback and help on this issue guys :)
Gareth H Wilson
Frequent Advisor

Re: Installing VMM Agent on Vmware 3.0.1

what i did was to reset the firewall to its default config as it seemed to have been screwed up with the "esxcfg-firewall -r" command and then manually opened the ports using
"esxcfg-firewall --openPort 1124,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1125,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1126,tcp,in,VMMagent"
"esxcfg-firewall --openPort 1124,tcp,out,VMMagent"
"esxcfg-firewall --openPort 1125,tcp,out,VMMagent"
"esxcfg-firewall --openPort 1126,tcp,out,VMMagent"

i then reinstalled the hpvmmagent and it still gave me the error about ports 1124-1126 being in use but i could then register and license the VM Host frokm within HP Sim
Thoman Foong
Occasional Contributor

Re: Installing VMM Agent on Vmware 3.0.1

The following command to open port in range:
"esxcfg-firewall -o 1124:1126,tcp,in,VMMagent"
"esxcfg-firewall -o 1124:1126,tcp,out,VMMagent"