APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
As per my subject, we have 3 ESXi 5 in HA environment, and was install vMA 5 with PCNS 3.0.1, below what had been done but not working.
My physical ESXi host ip = 10.10.10.12 & 10.10.10.13 & 10.10.10.14
My vMA 5 ip = 10.10.10.36
1, vifp addserver 10.10.10.12 -- Done
vifp addserver 10.10.10.13 -- Done
vifp addserver 10.10.10.14 -- Done
2, vifp listservers -- show result
10.10.10.12 ESXi
10.10.10.13 ESXi
10.10.10.14 ESXi
3, configure PCNS - Event --> On Battery --> Shutdown enable, delay 120 seconds -- Done
4, copy "shutdownvms.sh" file to vMA 5 in directory /opt/APC/PowerChute, run the command --> sudo chmod +x shutdownvms.sh
5, configure shutdown in PCNS --> run this command file --> shutdownvms.sh (download from APC to shutdown VMs in HA environment) -- Done
6, configure shutdown in PCNS --> command file need this many time to complete --> 180 seconds -- Done
7, modify the shutdownvms.sh script file --> hosts=(10.10.10.12 10.10.10.13 10.10.10.14)
8, add a line to shutdown file in directory /opt/APC/PowerChute/group1/bin come bundle with pcns301ESXi.tar.gz with this line -->
export PERL_LWP_SSL_VERIFY_HOSTNAME=0
The result of my testing is PCNS only able to shutdown vMA 5, not the VMs guest and ESXi host.
I'd test adjust the delay time longer but it still the same.
What could I missing in the setup? should I "chmod 744" and "chown root" to the script files? I was done this as well.
Anyone please help to advice?
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
the answer is yes. you'll need to remove the host address from the script and from the server list.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
hello,
i asked our PCNS team here for some help on this. here is what was suggested:
• Be sure that the servers have been added to the fasspass list. The command is vifptarget –s
• To verify there is communications between the vMA and the host/s, run the command vicfg-nics -– server
The list command should list all of the nics installed in the host. Once all hosts are added run the shut down test again.
Also, please verify what version of the vMA 5 is running i.e. 5.0, 5.0.0.1, 5.0.0.2?
thanks!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
Hi, thank you for your response.
FYI, my vMA5 version is 5.0.0.2-724898.
If my VM in HA environment, can I just using the same method with the shutdownvms.sh script to test shutdown only single ESXi host instead all hosts?
Because my others ESXi host running under production.
Thank you.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-01 01:33 AM . Last Modified: 2024-03-06 01:35 AM
the answer is yes. you'll need to remove the host address from the script and from the server list.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.