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-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Hi,
First time poster, long time APC fan!
I have a Smart-UPS 3000VA with a NMC in it, and two Dell servers that are acting as Hyper-V hosts.
Each Dell server has the PCNS agent installed on it. The NMC and two PCNSs all have IP addresses and can talk to each other. I can get on all three management webUI screens.
The UPS, the two servers and the two network switches are all connected to my Smart-UPS 3000VA device.
I want to configure this system so if there is a power-cut, then when there is 12 minutes of run-time left in the UPS it automatically shuts all my VMs down and then shuts the two host servers down and then puts the UPS into a mode whereby when the power comes back on it will start up again.
Can anyone give me an idiots guide on how to do this? There is a lot of configuration options in the NMC and the PNCS webUIs and I want to get this right 🙂
Any help gratefully received. Thank you for your time.
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-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Hi,
I recommend configuring "Runtime remaining below threshold in PCNS. The setting is under Configure Events
This will start the shutdown when the UPS batteries fall below 12 minutes of runtime.
To configure VM shutdown go to Virtualization Settings and select VM Shutdown and enter the amount of time it takes for the VMs to power down. The default is 2 minutes.
If you what PCNS to start the VMs select VM Startup
When the UPS falls below 12 minutes of runtime the VMs will be commanded down. PCNS will then wait the VM shutdown delay time and then send a power down signal to the Hyper-V host.
You should read PCNS Hyper-V and SCVMM User's Guide and FAQ FA159689 "Configuring Virtual Machines to shut down when a Hyper-V host is commanded to shut down."
I also recommend you configure the Low Battery Duration on the NMC to be 2 minutes greater than the amount of time it takes for the VMs and hosts to power down. As an example if the VMS and hosts take 6 minutes to power down set Low Battery Duration to 8 minutes. This is a fall safe so if the UPS ever falls below 8 minutes of runtime while on battery a shutdown will be triggered. It should never happen since PCNS will start the shutdown at 12 minutes but Low Battery Duration is a fall safe.
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-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Hi,
The configuration is user preference and depends on the model UPS and NMC. What is the exact model Smart-UPS and what is the model of the NMC along with firmware on the NMC?
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Hi Bill,
The model of the Smart-UPS is SMT 3000 RMI 2U and it is running firmware UPS 09.3 (ID18).
The NMC card is an AP9630 (HW revision 08). Its firmware is Application Module @ v6.4.0, APC OS (AOS) @ v6.4.0 and APC Boot Monitor @ v1.0.8
The two hyper-v host nodes are running Windows Server 2016 Datacenter and have the PCNS v4.2.0 (build 6729) running on them.
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-06-28 05:51 AM . Last Modified: 2024-03-18 03:05 AM
Hi,
I recommend configuring "Runtime remaining below threshold in PCNS. The setting is under Configure Events
This will start the shutdown when the UPS batteries fall below 12 minutes of runtime.
To configure VM shutdown go to Virtualization Settings and select VM Shutdown and enter the amount of time it takes for the VMs to power down. The default is 2 minutes.
If you what PCNS to start the VMs select VM Startup
When the UPS falls below 12 minutes of runtime the VMs will be commanded down. PCNS will then wait the VM shutdown delay time and then send a power down signal to the Hyper-V host.
You should read PCNS Hyper-V and SCVMM User's Guide and FAQ FA159689 "Configuring Virtual Machines to shut down when a Hyper-V host is commanded to shut down."
I also recommend you configure the Low Battery Duration on the NMC to be 2 minutes greater than the amount of time it takes for the VMs and hosts to power down. As an example if the VMS and hosts take 6 minutes to power down set Low Battery Duration to 8 minutes. This is a fall safe so if the UPS ever falls below 8 minutes of runtime while on battery a shutdown will be triggered. It should never happen since PCNS will start the shutdown at 12 minutes but Low Battery Duration is a fall safe.
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.