Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Shutdown scenario for PowerChute and 2 ESXi hosts with vCenter & PCNS on VM

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Shutdown scenario for PowerChute and 2 ESXi hosts with vCenter & PCNS on VM
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

0 Likes
7
1740
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

Shutdown scenario for PowerChute and 2 ESXi hosts with vCenter & PCNS on VM

Configuration is:

1) 2 ESXi 6.0 hosts (host1 & host2)

2) APC Smart-UPS 1500 with Network Management Card 2 (firmware 6.4.0)

3) ESXi hosts and NMC2 are connected through switch

4) PowerChute Network Shutdown Appliance (ver. 4.1) is located on host1 (srv.pcns)

5) vCenter Server Appliance is located on host1 (srv.vc)

6) Plenty of VMs on host1 & host2 (srv.N-... & srv2.N-...)

7) No cluster

😎 BIOS power management is set to "Power On".

The task is:

1) Gracefully shutdown all VMs and 2 hosts on power loss.

2) Power on 2 hosts and all VMs when power restores.

Questions:

1) What settings do I need to put to the PCNS->Virtualization Settings->Virtual Machine Shutdown/Startup?

2) Do I need to create vApps on both hosts to make a controlled and delayed startup/shutdown? And what settings do I need to put in previous menu and to the PCNS->Virtualization Settings->vApp Shutdown/Startup?

3) Are vApps managed only by the vCenter, so that they can be started only after the vCenter boots up and before it is powered off?

4) How do these settings correlate with the vSphere->Configuration->Virtual Machine Startup/Shutdown->Properties->"Allow virtual machines to start and stop automatically with the system"? Because VMs on host2 can't autopower on while host2 in the maintenance mode.

5) I have some VMs that are powered off always (in reserve). Will the PCNS power them on or it will power on only VMs that it powers off on UPS power loss?

6) What settings I must leave in NMC2 for outlets and in Configuration->Shutdown?

Thoughts:

I tried plenty of different scenarios and nothing works as needed... I created vApps but when they started to shutdown VMs, they powered off only first VM (last in the list) and that's all...

And I tried to make the scenario without vApps. I set the VM shutdown duration to the time needed for power off all the VMs on both hosts. PCNS powered them all off in random (I think so) order. And then, after UPS restored power, it powered them on in again random order and without any delay that caused HDDs to feel crazy load...

So please, help... I tired to search the correct scenario.... Thank you.

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Anonymous user
Not applicable

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

Thank you very much for your help. I've made the exact shutdown scenario you advised me. It works. But... For prioritization there are only 3 groups. I divided all VMs (~30 on each host) into 3 groups. It's much better to start VMs like 10->10->10 than all 30 simultaneously. But it still puts a heavy load on hard drives (this may sometimes cause different problems), though less than starting all 30 VMs. That's why I wanted to use startup/shutdown lists to start and stop every VM with needed delay. vApp is suitable for this, but I couldn't make it work. And startup/shutdown list on hosts don't suit because vCenter puts host2 to maintenance mode and when host2 starts it is still in maintenance mode until vCenter VM on host1 starts up, so VMs on host2 can't start with the host...

So if there isn't any other chance to make a delayed startup of VMs, I'll use the scenario you've suggested.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 7
Anonymous user
Not applicable

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

I came to the decision that I need to use the delayed power on for VMs on both hosts. So it seems that vApps are the thing I need to use. But what settings I have to put to the PCNS? What timings there would be?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:57 AM

Hi,

The task would be easier if you create a cluster for the two host then you could utilize VM prioritization through PCNS web interface. See page 85 of the User's Guide for how to configure VM prioritization with single UPS. 

If you are not using PCNS VM prioritization you must create vApps to prioritize the shutdown and start up of the VMs. Information on PCNS and vApps can be found on page 36 of the User's Guide. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:56 AM

Thank you, I've already read that information. For now I have some questions:

Is it necessary for this situation to have the external datastorage for cluster organisation because I have only internal HDDs in every host?.. Because I created cluster, but can't create vApps...

I'll try to describe:

So when without cluster and with vApps.

Disable  in  the  vSphere  menu  startup/shutdown  VMs  with  the  host  on  host2,  enable  this  option  on  host1  to  power  on  PCNS  VM  and  vCenter  VM.

Create vApp on host1 and vApp on host2. Set up both sequences.

In PCNS disable VM shutdown duration.

In PCNS enable vApp shutdown duration.

Do I need to check "Force vApp Shutdown" and "vApp Startup"?

And manual says that vApps start in alphabetical order, but when I created vApp on host1 and vApp on host2, they started both in the sane time. And when the UPS tried to shutdown both hosts, it initiated these vApps, but only 1 (last in the list) VM in each vApp went off and that's all.

Correct me please if I'm wrong.

Thank you very much!

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 03:59 AM . Last Modified: ‎2024-03-13 01:56 AM

Hi,

On 5/23/2016 9:58 AM, Stanislav said:

Is it necessary for this situation to have the external datastorage for cluster organisation because I have only internal HDDs in every host?.. Because I created cluster, but can't create vApps...

You should post this question to VMware communities for an official answer but according to VMware vSphere 6.0 Documentation Center you need to have DRS enable before a vApp can be created and to enable DRS you must use shared storage. 

On 5/23/2016 9:58 AM, Stanislav said:

Do I need to check "Force vApp Shutdown" and "vApp Startup"?

Yes. The default is Force vApp Shutdown and this should be left as is. You should also enable vApp Startup to have the vApp start once the host is on line. 

On 5/23/2016 9:58 AM, Stanislav said:

And manual says that vApps start in alphabetical order, but when I created vApp on host1 and vApp on host2, they started both in the sane time. And when the UPS tried to shutdown both hosts, it initiated these vApps, but only 1 (last in the list) VM in each vApp went off and that's all.

Information on vApp start up and shutdown is in VMware vSphere 6.0 Documentation Center. 

Again, I recommend creating a cluster with the 2 host and use PCNS prioritization. PCNS prioritization does not require VMware DRS or vApps. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

Thank you very much for your information and help.

I'll give a try towards cluster without HA and DRS because I have no external storage. I need delayed startup/shutdown for the list of about 30 VMs with equal rights to startup/shutdown. And Prioritization can only split the amount of VMs in groups and in every group VMs start and stop simultaneously.

Using the host's startup/shutdown lists isn't good because PCNS puts host2 into the maintenance mode (in this mode autostart of VMs doesn't happen) and only vCenter VM after being booted exits host2 from maintenance mode.

So now I'm testing the next configuration: In PCNS I turned off VM shutdoun and Turned on vApp Shutdown and Startup. I've created 1 vapp on host1 and 1 vApp on host2. When the UPS lost power PCNS started to shutdown vApps on both hosts at the same time. But! after some time it ran through an error - Task: stop vApp - Error: operation timed out. So it powered off only 1 VM in each list...

After power was restored to UPS it started PCNS VM and vCenter VM (the settings to them are: Start with the host), host2 exits the maintenance mode. But!! PCNS didn't start vApps... Checkbox "vApp Startup" is set.

Why did this happen?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1738
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

Hi,

As I pointed out from the VMware documentation vApps required DRS and shared storage so the vApps may or may not work properly.  If you want to prioritize the VMs shutdown and start up create a cluster and utilize PCNS prioritization. By using PCNS you do not need to create vApps. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

0 Likes
0
1739
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 04:00 AM . Last Modified: ‎2024-03-13 01:56 AM

Thank you very much for your help. I've made the exact shutdown scenario you advised me. It works. But... For prioritization there are only 3 groups. I divided all VMs (~30 on each host) into 3 groups. It's much better to start VMs like 10->10->10 than all 30 simultaneously. But it still puts a heavy load on hard drives (this may sometimes cause different problems), though less than starting all 30 VMs. That's why I wanted to use startup/shutdown lists to start and stop every VM with needed delay. vApp is suitable for this, but I couldn't make it work. And startup/shutdown list on hosts don't suit because vCenter puts host2 to maintenance mode and when host2 starts it is still in maintenance mode until vCenter VM on host1 starts up, so VMs on host2 can't start with the host...

So if there isn't any other chance to make a delayed startup of VMs, I'll use the scenario you've suggested.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of