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!

One host fails to shutdown properly

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

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
8
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

One host fails to shutdown properly

X35yazvn%2BUjiyP%2B8j%2BxNDA%3D%3D&Rest-Api-Key=d3Bhc3F1aWw6NjM3MzU2MWEtNzYzMC00OTc5LTkyMTAtOTJjYTU0NGEwZWFl.jpegX35yazvn%2BUjiyP%2B8j%2BxNDA%3D%3D&Rest-Api-Key=d3Bhc3F1aWw6NjM3MzU2MWEtNzYzMC00OTc5LTkyMTAtOTJjYTU0NGEwZWFl.jpeg
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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

Replies 8
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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.

c%2BcLayk9flKLXJYsp7MhmQ%3D%3D.pngc%2BcLayk9flKLXJYsp7MhmQ%3D%3D.png

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1064
  • 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-26 02:53 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:54 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:54 AM . Last Modified: ‎2024-01-31 02:57 AM

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

Here's the event log:

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-26 02:54 AM . Last Modified: ‎2024-01-31 02:57 AM

0 Likes
0
1063
  • 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-26 02:54 AM . Last Modified: ‎2024-01-31 02:57 AM

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

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