Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80823members
346893posts

PCNS3 + vMA5 + ESXi 5 Errors

Solved
forced_apc
Crewman
Crewman
0 Likes
11
393

PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 2/10/2012


I have installed vMA 5 on an ESXi 5 host. I installed PCNS 3 with the patch that replaced the install_en.sh and added the uninstall.

To test to make sure the machine will shut down. I use the vMA console and go to:
/opt/APC/PowerChute/group1/bin/ and run sudo ./shutdown.pl

I get:

Can't load '/usr/lib/perl5/site_perl/5.10.0/libvmatargetlib_perl.so' for module vmatargetlib_perl: libtypes.so: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203.
at /usr/lib/perl5/site_perl/5.10.0/VMware/VmaTargetLib.pm line 10.
Compilation failed in require at /usr/lib/perl5/site_perl/5.10.0/VMware/VIFPLib.pm line 9.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.10.0/VMware/VIFPLib.pm line 9.
Compilation failed in require at ./shutdownhost.pl line 17.
BEGIN failed--compilation aborted at ./shutdownhost.pl line 17.

My next problem is I can't get to the web ui of the host, which I believe is a firewall issue and will tackle that once I know the PCNS is working.

Thanks for any help!
-Steve

Tags (2)

Accepted Solutions
BillP
Administrator Administrator
Administrator
0 Likes
0
394

Re: PCNS3 + vMA5 + ESXi 5 Errors

This reply was originally posted by Angela on APC forums on 1/8/2013


how to do this is in the knowledge base. search for FA159765 in http://www.apc.com/site/support/index.cfm/faq/ and refer to the section titled: How to verify communication ports are open in the vMA and how to add host servers to the server list

See Answer In Context

11 Replies 11
forced_apc
Crewman
Crewman
0 Likes
0
394

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 2/10/2012


Thanks for writing, I saw that article and had replaced the files before the install.

BillP
Administrator Administrator
Administrator
0 Likes
0
394

Re: PCNS3 + vMA5 + ESXi 5 Errors

This reply was originally posted by Angela on APC forums on 2/10/2012


i wonder if you are having this issue?

http://nam-en.apc.com/app/answers/detail/a_id/11500

BillP
Administrator Administrator
Administrator
0 Likes
0
394

Re: PCNS3 + vMA5 + ESXi 5 Errors

This reply was originally posted by Bill on APC forums on 2/13/2012


To verify PCNS is running run the command
sudo /etc/init.d/PowerChute status
If PCNS is running the system will return “PowerChute is running…”
If it is not running you can start it by typing
sudo /etc/init.d/PowerChute start

To test shutdown
1. CD to /opt/APC/PowerChute/group1 dir
2. run sudo bin/shutdown

forced_apc
Crewman
Crewman
0 Likes
0
394

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 2/13/2012


Thanks for that! I got "PowerChute is running..."
Then I used the shutdown command you gave and it shutdown the host!

When I turned the host back on, I went to the logs of one of the VMs (Server 2008). It says that the previous shutdown was unexpected. Shouldn't the host shutdown the VMs first?

forced_apc
Crewman
Crewman
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 2/13/2012


OK, thanks again to "i picKed a winna" and this link:
Linkie

I clicked over to this link: Linkie

And configured my automatic shutdown from there...

On my 2 Windows VMs, I altered the poweroff-vm-default.bat file and added "shutdown /s /f" to the end of the file and saved. Then when I did the "bin/shutdown" command it gracefully shutdown the VMs...

Still working on the web ui...

Message was edited by: forced

forced_apc
Crewman
Crewman
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 2/13/2012


My next issue is with the web ui for the vm host. I disabled the firewall, and got a "Internet Explorer cannot display the webpage".

I added the attached apc.xml file to the /etc/vmware/firewall folder. Then I refreshed by using "esxcli network firewall refresh". When I go the security profile screen of the vm host using the vsphere client, I can see the APC id listed and it is checked. I tried the web ui again but got the same result.

the apc.xml file is:



APC

inbound
tcp
dst
3052


outbound
tcp
dst
3052


inbound
tcp
dst
6547



inbound
tcp
dst
80


outbound
tcp
dst
80


inbound
udp
dst
3052


outbound
udp
dst
3052

fale
false

boydcc_apc
Cadet
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 3/5/2012


force,

can you provide the details you used to fix the problem. i am having the same issues with vm's not being gracefully shutdown. I, as you, referenced the link that 'wanna' referenced.

my host shuts down but the vms hard power off.

BillP
Administrator Administrator
Administrator
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This reply was originally posted by Angela on APC forums on 3/6/2012


i edited the other posters post to retrieve this link for you: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100818...

ikram_apc
Ensign
Ensign
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 1/8/2013


Hi !

How to check or change APC FIREWALL SETTING ?

Thank you !

ikram_apc
Ensign
Ensign
0 Likes
0
393

Re: PCNS3 + vMA5 + ESXi 5 Errors

This was originally posted on APC forums on 1/8/2013


Hi,

the link given not working, i got a same issue cannot access ui web,
maybe firewall issue.

Thank you

BillP
Administrator Administrator
Administrator
0 Likes
0
395

Re: PCNS3 + vMA5 + ESXi 5 Errors

This reply was originally posted by Angela on APC forums on 1/8/2013


how to do this is in the knowledge base. search for FA159765 in http://www.apc.com/site/support/index.cfm/faq/ and refer to the section titled: How to verify communication ports are open in the vMA and how to add host servers to the server list