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

PCNS 4.3, vcenter 6.7 u2b, - PCNA does not shutdown a thing, EVER

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 4.3, vcenter 6.7 u2b, - PCNA does not shutdown a thing, EVER
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
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
7
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

PCNS 4.3, vcenter 6.7 u2b, - PCNA does not shutdown a thing, EVER

PCNS is installed on hardware Windows 10 computer dedicated to managing Pivot3 (hyperconverged system) and APC.

I have done the following.

  • Each ESXi host is domain joined
  • The following key (Config.HostAgent.plugins.hostsvc.esxAdminsGroup) on each ESXi host is configured to utilize the domain security group assigned to vm management
  • I have verified a specific user within that security group - vmanager - can log in to each ESXi host and vcenter the following ways:
    • domain\username
    • username@domain.com
      All other users within that security group can also login without issue
  • I can access the APC plugin from vcenter server when running in Flash mode
  • It appears PCNS is communicating with vcenter without issue as it lists VM's running in my stack
  • The user ID used in PCNS to communicate with vCenter is the vManager user mentioned above.
  • PCNS has been uninstalled/reinstalled multiple times.
  • SMX3000LVNC UPS has been factory reset and network configurations re-entered

What simply does not work, and frankly the only reason to bother with PCNS, it get this software to shutdown ANY VM when power is lost.
I have unplugged power and waited more than 10 minutes and nothing EVER gets shutdown, EVER.
I have attempted to have PCNS shutdown my vmware stack with vm prioritization checked, and unchecked. Did not work.
I have tried every variation I can think of under Virtualization Settings. Did not work.

I have been trying to get this to function for more than a week and the only thing that works so far, is a batch file I have run after 10 minutes to shutdown Pivot3 vm – which must be the very last vm running prior to maintenance mode.

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
  • Tags:
  • pcns
  • shutdown
  • vcenter
  • vmware
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
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

The debug log I provided begins on 6/23/19
The first instance of java.net.ConnectException: Connection refused occurs at 6:59am on 6/25/19 which is just about the same time I powered down vCenter.

The event log I provided begins on 6/19/19
The first instance of Cannot connect to vCenter Server. occurs are 6:59am on 6/25/19 which is just about the time I powered down vCenter.

All of those connection issues came AFTER I manually shutdown vCenter as it was clear PCNS was not going to. The reason it continued for an hour is that is how long it took to bring things back online.

Available runtime has been exceeded. errors.
Those were a regular occurrence until 6/21 when I ran a calibration cycle. Once calibration cycle completed I no longer see the error.

The error shows up again 6/25/19 after I had depleted the battery from that mornings test. Reviewing current log I see if has happened again this morning - I assume I would need to run a calibration again to clear the error?

Group 1 Power Off Delay is 1260 seconds (21 minutes); significantly less than the nearly 75 minutes of available runtime.

So far all this shooting back and forth on a forum has been a total waste of time.

Yesterday I was assured by my CDW rep I would receive a call from APC support before 3pm - never happened.
I did receive a call at 4:44pm yesterday, which is nearly an hour after my normal exit and nearly 2 hours after the time I was supposed to receive a call. Arvin did leave a message telling me support would contact me today - phone has yet to ring.

See Answer In Context

Reply

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

Replies 7
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

So what does one have to do to get support from APC?

I've opened a ticket - no response.
Created this post - no response.
Contacted support via chat twice yesterday - both sessions were closed by tech prior to answering ANYTHING.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

Hi,

 

Sorry for the inconvenience. What is the ticket number you have open? I would like to review to see what has happened with that.

In the mean time, when you tested what was posted in the PowerChute event log. If you do not mind please zip these files and attach to this post.

error.log, EventLog.txt, VirtualizationFileStore.properties, pcnsconfig.ini, javaVersionFile.log, debug.log

If installed to the default path the files are in 
C:\Program files\APC\PowerChute\group1

Reply

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

DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

My configuration is similar to "Scenario A" on page 16 of this document:  https://www.apc.com/salestools/SJHN-92FLU8/SJHN-92FLU8_R7_EN.pdf

  • Physical computer running PCNS connected to a UPS, however, the UPS servicing the PCNS computer does not have NMC.
  • All vmware hosts connected to a single UPS with NMC.

We are not running vSan to create the hyperconverged environment, we are using Pivot3.

My ESXi hosts and vCenter are all domain joined and tested with domain user logins.

I am sure I missed something but not sure what. I am also quite certain if somebody were to create a remote session they could review my setup and resolve the issue quickly.

Tickets:
59638274 - Arvin did reply a couple times but seems to have fallen off the radar.
59806305

Attachments
Logs.zip
Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

Hi,

The pcnsconfig.ini show that shutdown will start when the UPS reaches low battery. If you would like the shutdown to start earlier, you should go to configure events in the PowerChute web interface and select UPS on battery or runtime remaining below threshold. Click on shutdown, then select enable shutdown, and enter the delay. When selecting UPS on battery the delay will be counted down and then the shutdown process will begin. When selecting rumtime remaining below threshold the UPS will wait until the runtime falls below the set delay and then the shutdown process will begin. 

Something else I noticed is PowerChute is losing communication with vCenter Server. This may cause issue with shutdown. It would be helpful if you would first correct the comm issue with vCenter. Then stop the PowerChute service, move debug.log, error.log, EventLog.txt from the group1 folder to a new folder. Then edit log4j2.xml so the line reads  Once the change has been save to log4j2.xml restart the PowerChute service and run a shutdown test. Once the test has completed if you are still experiencing an issue zip these files error.log, EventLog.txt, VirtualizationFileStore.properties, pcnsconfig.ini, javaVersionFile.log, debug.log, and attach to this post.

After zipping the files stop the PowerChute service, edit log4j2.xml so that it reads  and then restart the service. You should not leave the application in debug mode.

When I reviewed the files attached earlier along with the lost comm with vCenter I also see available runtime has been exceeded. Since the shutdown process is beginning at low battery the low battery threshold would need to be 2 minutes greater than the time needed to power down all the VMs and the hosts. The low battery threshold is configured via the NMC web interface under Configuration, Shutdown, Low battery duration. The default is 2 minutes. 

Do you have vApp configured? if not you should remove the 1140 second delay for vApps to power down and the 120 second delay for them to start up. I would then set the low battery duration on the NMC to 30 minutes to allow for the other delays that are set. 

 

Side note: ESXi 6.7 update 2 is not an officially supported version however it should work. 

Reply

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

DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

This morning I pulled the plug on the UPS and prayed.

The UPS has about 70 minutes runtime and from what I gathered my shutdown timing should have started about 50 minutes into running on battery. When the UPS showed it had less than five minutes of available run time (about 7am) I chose to shutdown vCenter and another server to protect them from corruption.

All of the "Cannot connect to vCenter" is during the time when I shutdown vcenter followed by the battery dying on the UPS. The PCNS computer was up and running and could not connect because the whole vmware stack had to completely boot from power down.

What would be nice is if somebody over in support actually contacted me, setup a support session and reviewed my setup. Instead I get a bunch of leg work and links to PDF's.



Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1364
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

Hi,

One more thing you should do before running another shutdown test is to edit C:\Windows\system32\drivers\etc\hosts and add the hosts IP addresses and domain names. The error log is showing java.net.ConnectException: Connection refused:  for the hosts and vCenter. This could be caused PowerChute not being able to contact the DNS server. By adding the domain name and IPs to C:\Windows\system32\drivers\etc\hosts the issue will be resolved. 

Reply

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

DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

0 Likes
0
1365
  • 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-08 11:26 PM . Last Modified: ‎2024-02-14 11:54 PM

The debug log I provided begins on 6/23/19
The first instance of java.net.ConnectException: Connection refused occurs at 6:59am on 6/25/19 which is just about the same time I powered down vCenter.

The event log I provided begins on 6/19/19
The first instance of Cannot connect to vCenter Server. occurs are 6:59am on 6/25/19 which is just about the time I powered down vCenter.

All of those connection issues came AFTER I manually shutdown vCenter as it was clear PCNS was not going to. The reason it continued for an hour is that is how long it took to bring things back online.

Available runtime has been exceeded. errors.
Those were a regular occurrence until 6/21 when I ran a calibration cycle. Once calibration cycle completed I no longer see the error.

The error shows up again 6/25/19 after I had depleted the battery from that mornings test. Reviewing current log I see if has happened again this morning - I assume I would need to run a calibration again to clear the error?

Group 1 Power Off Delay is 1260 seconds (21 minutes); significantly less than the nearly 75 minutes of available runtime.

So far all this shooting back and forth on a forum has been a total waste of time.

Yesterday I was assured by my CDW rep I would receive a call from APC support before 3pm - never happened.
I did receive a call at 4:44pm yesterday, which is nearly an hour after my normal exit and nearly 2 hours after the time I was supposed to receive a call. Arvin did leave a message telling me support would contact me today - phone has yet to ring.

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