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

VMware cluster with Powerchute 3.1

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
  • VMware cluster with Powerchute 3.1
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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

0 Likes
3
714
  • 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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

VMware cluster with Powerchute 3.1

Hi,

We have a DRS cluster (vSphere 5.1) with four hosts that is split into two locations:

2306_Unbenannt.png

- Scenario 1: If there is a power failure on one location I have to migrate the VMs to the other location and shut down the hosts first and the storage server last (the storage servers are fully redundant).

- Scenario 2: If there is a power failure on both locations I have to shut down the VMs, the hosts, the vCenter and the storages at last.

I installed PCNS 3.1 on the vCenter, configured the Host Protection and enabled VM Migration:

2307_HostProtection.jpg

I installed PCNS 3.1 on both storage servers, too.

Now I have some questions:

- When does a VM migration appear in scenario 1? Can I somehow configure a point of time for that?

- When does a shutdown of the VMs, the hosts and the vCenter appear in scenario 2 and how can I assure that they shut down before the storage machines?

- Am I able to shut down some VMs later than others?

Many thanks and best regards

Christian

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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

0 Likes
0
714
  • 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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

Hi, did you have any success with the setup?

See Answer In Context

Reply

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

Replies 3
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

0 Likes
0
714
  • 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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

Hi,

The following setup/configuration should cover the requirements:

2308_customer1.png

PCNS A - UPS 204

Install PCNS on Storage 1.

Configure for Managed by vCenter and Advanced UPS Configuration.

Register with UPS 204 and UPS 205.

On VMware Host Protection page - associate Hosts 101/103 with UPS 204. Do not associate Hosts 102/104 with UPS 205. See below.

This is to migrate/shutdown VMs when a Power Outage occurs on UPS 204.

2315_HostProtection_site1.png

On the Physical Host - UPS Protection page disable both options for UPS 205:

2316_customer_forum_physicalUPS.png

This is to prevent Storage 1 from shutting down if there is a Power Outage on UPS 205 only.

In order to trigger local OS shutdown on Storage 1 configure a command file (Configure Events Page->UPS On Battery->Command File) for the On Battery event with the same delay as the shutdown action for the UPS on battery event.

Since the physical UPS (204) in site 1 does not have "Shutdown PowerChute Server enabled" it is necessary to configure an event command file to trigger the shutdown of the Storage server in Site 1 e.g.: using the native Windows shutdown.exe.

This command file should contain the following:

shutdown /s /f /t %delay% /d UP:6:12 /c "PowerChute Network Shutdown has initiated a system shutdown."

The command above will trigger shutdown on the Storage1 server using a grace period (%delay%).

The value you set for %delay% above would need to be sufficient to allow VM migration/shutdown to complete as well as the ESXi host shutdown commands to be sent.

PCNS B - UPS 205

Install PCNS on vCenter Server Machine.

Configure for Managed by vCenter and Advanced UPS Configuration.

Register with UPS 204 and UPS 205.

On VMware Host Protection page - associate Hosts 102/104 with UPS 205. Do not associate Hosts 101/103 with UPS 204. See below.

This is to migrate/shutdown VMs when a Power Outage occurs on UPS 205.

2317_HostProtection_site2.png

On the Physical Host - UPS Protection page disable both options for UPS 204:

2318_customer_forum_physicalUPS.png

As with Site 1 configure an Event driven command file to trigger the Local OS shutdown on the vCenter Server when a Power Outage occurs on UPS 205.

PCNS C - UPS 205

Install PCNS on Storage 2 server.

Do not enable VMware support during installation.

Configure PCNS for Single UPS Configuration and register with UPS 205.

Configure a shutdown command file on the Shutdown Settings page and set the Duration to a value long enough to allow the VMs, ESXi Hosts and vCenter Server to shutdown before Storage 2 server is shut down. This .cmd file needs to exist on the file system but does not need to contain any executable content.

With the above setup/configuration:

Power Outage on Site 1 only:

VMs will be migrated to site 2

Hosts 101 and 103 will be shut down.

Storage 1 will be shutdown via the event command file.

Power Outage on Site 2 only:

VMs will be migrated to Site 1.

Hosts 102 and 104 will be shutdown.

vCenter Server will be shutdown  via the event command file.

Storage 2 will be shut down directly by PCNS running on Storage 2.

Power Outage on both Sites:

All hosts will be issued maintenance mode command by PCNS - the prevents VMs from being migrated to those hosts.

VMs will be shut down on all hosts.

All hosts are shut down followed by vCenter and the Storage Servers.

NOTE: It is important to configure an Active Directory account on the vCenter Server and on all of the ESXi hosts. If there is a power outage on Site 2 and everything shuts down, PCNS will need to connect directly to ESXi hosts 101 and 103 to shut down the VMs and Hosts gracefully.

In relation to controlling the order that VMs shut down. This is possible by creating a vApp in the HA/DRS cluster and adding VMs to the vApp - the shutdown/startup order can be configured via the vApp settings. vApps are shut down after other VMs by PCNS. PCNS 3.1 does not provide a method for this directly.

We are working on some design changes for the next release of PCNS that will make Setup/Configuration in a Scenario where there are Hosts spread across multiple geographical sites more straightforward.

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

0 Likes
0
714
  • 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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

Thank you very much for you effort. cool

Give my some days to look over it. I will answer next week. smile

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

0 Likes
0
715
  • 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-07-01 05:36 AM . Last Modified: ‎2024-03-05 12:33 AM

Hi, did you have any success with the setup?

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