Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
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
      • Protection & Control
      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
      • EcoStruxure IT™ Advisor CFD
      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
      Energy & Sustainability Services
      • Green Building Scoring and Certification 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
    • Remote Operations Devices 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
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Powerchute 3.0.1 and ESX 4.1 & 5.1 host

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
  • Communities
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • Re: Powerchute 3.0.1 and ESX 4.1 & 5.1 host
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
5027
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-01 02:57 AM

0 Likes
7
437
  • 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-01 02:57 AM

Powerchute 3.0.1 and ESX 4.1 & 5.1 host

This question was originally posted by Marcus on APC forums on 4/22/2013


I'm having the same issue I've seen floating around for a few other people, I'm able to get VM shutdowns to work in any order I want through a shell script, but the ESXi hosts I have this installed on won't work.

I've tested this on both ESXi 4.1 & ESXi 5.1 servers and I'm experiencing the same issue with PowerChute 3.0.1. Some are HA, and some are just regular standalone hosts, so it seems to be something other than the version of ESXi host causing the issues. One thing that does tie across all hosts is that they have symbols in their passwords, not sure if that would make a difference.

I've verified that all hosts and vCenter are licensed.

The host is added using vifptarget -s (vMA host always last in the list)

The host returns all NIC info from vicfg-nics --list command

I've added the export PERL_LWP_SSL_VERIFY_HOSTNAME=0 command to my shutdown script per FA159783

I don't believe this is the DNS issue in FA166844, since vifp listservers shows me the ESX hosts IP, not DNS name.

Again, VMs shut down without issue in whatever order I prefer, just the hosts I'm having issues with.

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
  • Tags:
  • powerchute_network_shutdown
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-01 02:57 AM

0 Likes
0
437
  • 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-01 02:57 AM

This reply was originally posted by Bill on APC forums on 4/22/2013


Hi,

You can test PowerChute shutdown of the host manually. CD to /opt/APC/PowerChute/group1 (this is assuming app is installed to the default path) The command is sudo bin/shutdown If that does not work you can run the shutdown in debug mode by editing /opt/APC/PowerChute/group1/bin/shutdown (the instruction for editing the script are included in the file).

See Answer In Context

Reply

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

Replies 7
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Bill on APC forums on 4/23/2013


Hi,

PCNS 3.0.1 uses VIFPTARGET/vMATarget functionality provided by the vMA to store the ESXi host credentials. PCNS retrieves the credentials when connecting to the host to shut it down using the RCLI/Perl SDK. These credentials are actually stored in an XML file on the vMA. When you add a target host using the vifp addserver command a new accounts is created. We use the same file / grab the same info when running shutdownvms.sh

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Marcus on APC forums on 4/27/2013


Again, thanks for the clarification Bill.

So I tested just running the shutdown script in /opt/APC/PowerChute/group1/bin/ and was getting the following error

1116_error.JPG

So I made a backup of shutdown, and changed the line inside the script from:

perl ./bin/shutdownhost.pl --operation shutdown --username xxxxx --password xxxxx --loglevel debug

to

perl ./shutdownhost.pl --operation shutdown --username xxxxx --password xxxxx --loglevel debug

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Bill on APC forums on 4/29/2013


Hi,

You received that error because you were attempting to run the shutdown file from within /opt/APC/PowerChute/group1/bin If you want to test the file without editing it you should cd to /opt/APC/PowerChute/group1 and then type sudo bin/shutdown

By editing the file as you have PowerChute will not shut the host down properly. You need to put the file back to its original content!

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Marcus on APC forums on 5/8/2013


Thanks Bill,

Yea in testing the script worked, but actually initiating a PowerChute shutdown still didn't shut down the hosts. I've recovered the original shutdown file so it should be default again. Where are the verbose logs stored for the shutdown file in /opt/APC/PowerChute/group1/bin/ ? I've specified the --loglevel debug in shutdown and I'd like to see exactly why these hosts still aren't restarting.

Thanks,

Marcus

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Bill on APC forums on 5/8/2013


Marcus,

PCNS does not restart the host. If you want the host to restart you would need to configure that in the BIOS.

As for the debug log it is put in /tmp

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Marcus on APC forums on 4/22/2013


I'm having the same issue I've seen floating around for a few other people, I'm able to get VM shutdowns to work in any order I want through a shell script, but the ESXi hosts I have this installed on won't work.

I've tested this on both ESXi 4.1 & ESXi 5.1 servers and I'm experiencing the same issue with PowerChute 3.0.1. Some are HA, and some are just regular standalone hosts, so it seems to be something other than the version of ESXi host causing the issues. One thing that does tie across all hosts is that they have symbols in their passwords, not sure if that would make a difference.

I've verified that all hosts and vCenter are licensed.

The host is added using vifptarget -s (vMA host always last in the list)

The host returns all NIC info from vicfg-nics --list command

I've added the export PERL_LWP_SSL_VERIFY_HOSTNAME=0 command to my shutdown script per FA159783

I don't believe this is the DNS issue in FA166844, since vifp listservers shows me the ESX hosts IP, not DNS name.

Again, VMs shut down without issue in whatever order I prefer, just the hosts I'm having issues with.

Reply

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

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-07-01 02:57 AM

0 Likes
0
438
  • 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-01 02:57 AM

This reply was originally posted by Bill on APC forums on 4/22/2013


Hi,

You can test PowerChute shutdown of the host manually. CD to /opt/APC/PowerChute/group1 (this is assuming app is installed to the default path) The command is sudo bin/shutdown If that does not work you can run the shutdown in debug mode by editing /opt/APC/PowerChute/group1/bin/shutdown (the instruction for editing the script are included in the file).

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

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