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

One host fails to shutdown properly

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
  • One host fails to shutdown properly
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
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

One host fails to shutdown properly

This question was originally posted by Lee on APC forums on 6/12/2018


Greetings!
I have two ESXi hosts in a cluster managed by vCenter and have gone over the configuration steps many times and made sure everything is set up correctly but cannot figure out why one of my hosts fails to shutdown. In the error.log I see the following repeatedly:
11.components.Shutdowner.Hosts.ESXManagedHost - Failed to take host out of maintenance mode: 192.168.139.6
12-06-18 10:35:03,067 ERROR pool-185-thread-2 com.apcc.m11.components.Shutdowner.Hosts.ESXManagedHost - Failed to take host out of maintenance mode: 192.168.139.4
The host that fails enter maintenance mode but that is as far as it goes. I believe the error above sheds a light on the issue but don’t know what steps to take to correct it. 
If it helps, the host 192.168.139.4 is the one running vCenter and the PowerChute appliance. 
Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply
Share
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Bill on APC forums on 6/18/2018


Hi,

The error.log file shows a permissions issue

16-06-18 08:18:23,976 ERROR Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - Unable to log directly into host (NoPermission or InvalidLogin): 192.168.139.4
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - com.vmware.vim25.InvalidLogin
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - getESXiHostConnection end
16-06-18 08:18:23,976 ERROR Thread-34 com.apcc.m11.components.Shutdowner.Hosts.ESXManagedHost - Unable to establish a connection to shut down the host.
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.Shutdowner.Formatters.VirtualizationFeaturesFormatter - format: MsgID=96
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.Shutdowner.Formatters.VirtualizationFeaturesFormatter - formatted:TargetHostShutdownFail.Log to:Shutdown Host failed for Host 192.168.139.4.
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.pcns.errorservice.ApplicationErrorHandlerImpl - Adding error to application error handler. String: Shutdown Host failed for Host 192.168.139.4.
What happens when you log into 139.4 using PowerChuteAdmin and the password? 
I don't see any errors for 139.6
Also, would you please sent the eventlog. I would like to review that as well.

See Answer In Context

Reply
Share
Replies 8
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Bill on APC forums on 6/12/2018


Hi,

I would check the permissions. Once PCNS powers vCenter off it will then take the host out of maintenance mode to allow the host to start up and start PCNS when AC is restored. When vCenter is off line if permissions are not correct PCNS will not be able to communicate with the host and therefore not take it out of maintenance mode. 

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Lee on APC forums on 6/13/2018


I made sure permissions were set correctly by creating the accounts on each host and configuring PCNS to use that account in case vCenter is not available. Is it possible that the host running PCNS and vCenter is shutting down before the one that fails? 

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Lee on APC forums on 6/13/2018


Bill Here's a screenshot of vCenter showing the PowerChuteAdmin user I created. This user also exists on the VM running vCenter (Windows) and also on each individual ESXi host.

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Bill on APC forums on 6/13/2018


Hi,

The shutdown process is

1 - put hosts into maintenance mode

2 - shutdown VMs and vApps

3 - shutdown vCenter Server

4 - Shutdown hosts starting with the host not running PCNS

Host 139.6 should remain in maintenance mode until restarted. Host 136.4 should be taken out of maintenance mode to allow it to restart when AC is restored which in turn will allow PCNS to restart. 

Have you put PCNS into debug mode and reviewed the error.log to see what errors are posted. If you need assistance putting PCNS into debug mode see Schneider Electric FAQ FA230514

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Lee on APC forums on 6/16/2018


Hi  Bill ,
I have enabled debug mode per your instructions attached the log file and would appreciate if you could take a look. For your reference, the debug log starts at 16-06-18 08:11:24,042.
Again, I have followed the instructions over and over to make sure I didn’t miss a step but for some reason that one host fails to shutdown every time. It will however enter maintenance mode but that’s as far as it goes. The only thing I haven’t tried is placing the PC appliance on the host that fails in which by the way, runs ESXi 6.7 and the one that shuts down correctly runs 6.5 if that matters. 
Thanks for your help. 
Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM

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

Posted: ‎2021-07-26 02:53 AM

This reply was originally posted by Bill on APC forums on 6/18/2018


Hi,

The error.log file shows a permissions issue

16-06-18 08:18:23,976 ERROR Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - Unable to log directly into host (NoPermission or InvalidLogin): 192.168.139.4
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - com.vmware.vim25.InvalidLogin
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.WebServer.util.virtualization.VMWareConnection - getESXiHostConnection end
16-06-18 08:18:23,976 ERROR Thread-34 com.apcc.m11.components.Shutdowner.Hosts.ESXManagedHost - Unable to establish a connection to shut down the host.
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.Shutdowner.Formatters.VirtualizationFeaturesFormatter - format: MsgID=96
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.m11.components.Shutdowner.Formatters.VirtualizationFeaturesFormatter - formatted:TargetHostShutdownFail.Log to:Shutdown Host failed for Host 192.168.139.4.
16-06-18 08:18:23,976 DEBUG Thread-34 com.apcc.pcns.errorservice.ApplicationErrorHandlerImpl - Adding error to application error handler. String: Shutdown Host failed for Host 192.168.139.4.
What happens when you log into 139.4 using PowerChuteAdmin and the password? 
I don't see any errors for 139.6
Also, would you please sent the eventlog. I would like to review that as well.
Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:54 AM

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

Posted: ‎2021-07-26 02:54 AM

This reply was originally posted by Lee on APC forums on 6/18/2018


I can log in to 139.4 just fine with the PowerChuteAdmin user. 

Here's the event log:

Reply
Share
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:54 AM

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

Posted: ‎2021-07-26 02:54 AM

This reply was originally posted by Lee on APC forums on 6/18/2018


So after you said it was a permission issue, I kept digging further and discovered that this part

PowerChute Security
"The Username and Authentication Phrase are used to authenticate communications between PowerChute and the NMC. Therefore, you must set these values to be the same in both PowerChute and the NMC."

was misconfigured.

So it appears that the user in the NMC must be the same as the user in PowerChute appliance. If I stuck to the default configuration of the user apc I would probably not have ran into this issue but I insisted on creating my own user and forgot to change it in the PowerChute Security section. 

Thank you very much for your help  Bill . 

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