Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Success Stories Corner

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

APC UPS Data Center & Enterprise Solutions Forum

Schneider Electric support forum for our Data Center and Business Power UPS, UPS Accessories, Software, Services, and associated commercial products designed to share knowledge, installation, and configuration.

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
  • Communities
  • 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 Exchange 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
5022
voidstar_apc
Janeway voidstar_apc
195
Erasmus_apc
Sisko Erasmus_apc
111
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

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

Posted: ‎2021-07-08 11:26 PM

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

This was originally posted on APC forums on 6/21/2019


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
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This was originally posted on APC forums on 6/26/2019


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
Share
Replies 7
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This was originally posted on APC forums on 6/25/2019


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

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This reply was originally posted by Bill on APC forums on 6/25/2019


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
Share
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This was originally posted on APC forums on 6/25/2019


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

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This reply was originally posted by Bill on APC forums on 6/25/2019


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
Share
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This was originally posted on APC forums on 6/25/2019


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

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This reply was originally posted by Bill on APC forums on 6/25/2019


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
Share
DaleMurray_apc
Crewman DaleMurray_apc
Crewman

Posted: ‎2021-07-08 11:26 PM

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

Posted: ‎2021-07-08 11:26 PM

This was originally posted on APC forums on 6/26/2019


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
Share
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
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 forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - 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 © 2023 Schneider Electric, Inc