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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

PCNS fails to shutdown vmware host which is running vCenter Server 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
  • PCNS fails to shutdown vmware host which is running vCenter Server VM
Options
  • 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
Teken
Spock Teken
111
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 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

0 Likes
2
1061
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

PCNS fails to shutdown vmware host which is running vCenter Server VM

Hello all,

I'm experience problems using PCNS 3.1 to gracefully bring down my vSphere environment in the event of a power failure.  Below are the details of my environment, and the problem I'm encountering..

VMware vSphere 5.5, with 2 Host HA cluster

each host has redundant power supplies, each of which is plugged into a dedicated UPS for that host

HOST1-PS1 -> UPS1

HOST1-PS2 -> UPS1

HOST2-PS1 -> UPS2

HOST2-PS2 -> UPS2

Both UPSes have APC Network Management Cards

PowerChute Network Shutdown for Windows 3.1.0 Build 4512 is installed on a physical Windows 7 machine

vCentre Server is installed and running on a Windows Server 2012 VM on HOST1

PCNS is configured using Advanced UPS Configuration as per PCNS User Guide

pcnsadmin users accounts and permissions have been created and assigned as per PCNS for VMware guide

Shutdown sequence has been configured using the PCNS PowerChute Setup wizard

When power is cut to a single UPS (tested on both), the shutdown sequence for the attached Host is initiated, running VM's migrate to the other host, and the affected host shuts down successfully. 

When the power is pulled to both UPSes (power failure simulation), commands are successfully sent to both hosts and all VM's shutdown accordingly.  Host2 also shutdowns properly, however, after the vCentre Server shutdowns on host1, host1 fails to power down.

Question is, does the vCentre Server VM need to be running in order to shutdown the host it is running on or should the PCNS Agent running on the physical machine outside the virtual environment be able to shutdown HOST1 after vCentre powered down? 

Reference Documents

PowerChute Network Shutdown v3.1 User Guide

PowerChute Network Shutdown for VMware

Looks forward to your replies


Thanks,

Derek

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-07-01 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

0 Likes
0
1060
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

Thanks B,

To answer your questions...

I've attached the event log, debug log and pcnsconfig.ini files for your review.

I've also attached a screen capture of the vCenter VM status, confirming that VMware Tools is installed and running on the vCenter VM.

I've also attached a screen capture confirming that the vCenter icon is displayed in the VMware Protection page, under the appropriate host (HOST1).

The hosts would have been added to vCenter by IP address.

I don't see any old copies of VMs in the inventory that are using the same IP/FQDN/hostname as the vCenter VM.

DNS is running on one of the VM's on HOST2, and this VM is one of the ones being shutdown automatically by PCNS when HOST2 shutdown is initiated (before the vCenter VM & HOST1 shutdown).

The physical machine running the PowerChute agent is not attached to either of the UPSes that either host is connected to.  It's connected via USB to it's own UPS (without a network management card).

See Answer In Context

Attachments
error.log.zip
EventLog.txt.zip
Reply

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

Replies 2
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

0 Likes
0
1060
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

Hello Derek,

Is is possible to provide the event log, debug log and pcnsconfig.ini please? To enable debug logging please refer to KBase FA230514. Link to the KBase is below::

http://www.apc.com/site/support/index.cfm/faq/

What could be happening here is that the vCenter VM is being shutdown along with the rest of the VM's. PowerChute is unable to locate the vCenter VM and therefore shutting it down too early with the rest of the VM's. It is very important that VMware tools is installed on the vCenter VM.

Can you tell me if you see the vCenter icon(green icon) beside Host1 on the VMware Protection page? See screenshot:

2540_example.png

Are the hosts added to the vCenter server using the IP address or FQDN?

Please make sure that there are no old copies of VM's in the inventory that are using the same IP address/FQDN/hostname as the vCenter VM. PCNS can detect this and miss the live vCenter VM and this can happen if the old VM's are even powered off.

Is the DNS on a VM or a physical machine? If its on a VM, and being shutdown with the rest of the VM or otherwise offline. You may want to refer to KBase FA166844.

Is your physical machine powering the PowerChute agent being powered by either of these UPS's or a separate UPS? If so, you may want to refer to KBase FA235983.

Regards,

B

Reply

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

Anonymous user
Not applicable

Posted: ‎2021-07-01 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

0 Likes
0
1061
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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 06:25 AM . Last Modified: ‎2024-03-04 11:36 PM

Thanks B,

To answer your questions...

I've attached the event log, debug log and pcnsconfig.ini files for your review.

I've also attached a screen capture of the vCenter VM status, confirming that VMware Tools is installed and running on the vCenter VM.

I've also attached a screen capture confirming that the vCenter icon is displayed in the VMware Protection page, under the appropriate host (HOST1).

The hosts would have been added to vCenter by IP address.

I don't see any old copies of VMs in the inventory that are using the same IP/FQDN/hostname as the vCenter VM.

DNS is running on one of the VM's on HOST2, and this VM is one of the ones being shutdown automatically by PCNS when HOST2 shutdown is initiated (before the vCenter VM & HOST1 shutdown).

The physical machine running the PowerChute agent is not attached to either of the UPSes that either host is connected to.  It's connected via USB to it's own UPS (without a network management card).

Attachments
error.log.zip
EventLog.txt.zip
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