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

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

VMs not starting up after startup

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
  • VMs not starting up after startup
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
Teken
Spock Teken
115
Erasmus_apc
Sisko Erasmus_apc
112
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
Bartolo
Ensign Bartolo
Ensign

Posted: ‎2021-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
4
1283
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

VMs not starting up after startup

I have PCNS 4.3 with VMware and I've set the shutdown duration to 0 for high priority VMs and I shut those down manually. This works when shutting down, but when starting back up the high priority VMs are not started up. In the debug log I see that the "filterVMsByPriority" method runs but it doesn't find my high priority VMs. It lists VMs it is considering but not the high priority ones.

What could be the issue?

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
  • Tags:
  • powerchute-network-shutdown
  • powerchute_network_shutdown
  • vmware
  • vsphere
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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
0
1283
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

Hi,

On 9/30/2019 2:05 PM, Bartolo said:

Ok, but since I have set the shutdown duration as 0 seconds for those VMs to be able to run a script on them before shutdown, is there a way to have it both ways?

It may be possible for PCNS to restart the VMs via SSH action depending on the configuration. You would configure tha SSH to run on Start-up. Please see the info below from PCNS help. There are restriction as to when an SSH action is run on Start-up. 

  1. Execute SSH Action:
    • On Startup: Execute the SSH command file during host startup. The behavior is different depending on the configuration:

      ESX Managed
      In an advanced configuration, SSH actions will get executed when all hosts in a group have exited maintenance mode before VMs and vApps are started.
      In a non-advanced configuration, SSH actions will get executed when all hosts have exited maintenance mode before VMs and vApps are started.

      NOTE: If Fault Tolerance Threshold (FTT) is enabled, SSH actions will not get executed when all hosts in a group have exited maintenance mode if FTT is exceeded. If FTT is enabled and All Hosts online prior to startup is enabled (in Virtualization Settings), SSH actions will not get executed if there is still a critical event active on a group.

      NOTE: In a non-advanced configuration with a Witness Host Appliance, SSH actions will get executed after VM/vApp startup, as the Witness Host is the last host to be taken out of maintenance mode once it has been restarted.

 

See Answer In Context

Reply

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

Replies 4
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
0
1283
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

Hi,

The VMs will not be started up because they are in an off state when PCNS shuts down the host/s. The VMs either need to be powered off by PCNS to be included in the startup or powered on when the host/s are powered off. If the VMs are still powered on when the host/s are powered off the host/s should return them to their last state when they start up. 

Reply

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

Bartolo
Ensign Bartolo
Ensign

Posted: ‎2021-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
0
1284
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

Ok, but since I have set the shutdown duration as 0 seconds for those VMs to be able to run a script on them before shutdown, is there a way to have it both ways? If the 0 second duration prevents PCNS shutting down the VMs, they can't be powered on when PCNS progresses and so they aren't on the list of VMs to start up either? So it's a chicken and the egg situation.

Perhaps I could use the Linux halt command to leave them on waiting for power off, but would PCNS see them then as turned on during shutdown since they have 0 second duration and PCNS seems to ignore them?

I also can't use VMware autostart because it doesn't work due to 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
0
1284
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

Hi,

On 9/30/2019 2:05 PM, Bartolo said:

Ok, but since I have set the shutdown duration as 0 seconds for those VMs to be able to run a script on them before shutdown, is there a way to have it both ways?

It may be possible for PCNS to restart the VMs via SSH action depending on the configuration. You would configure tha SSH to run on Start-up. Please see the info below from PCNS help. There are restriction as to when an SSH action is run on Start-up. 

  1. Execute SSH Action:
    • On Startup: Execute the SSH command file during host startup. The behavior is different depending on the configuration:

      ESX Managed
      In an advanced configuration, SSH actions will get executed when all hosts in a group have exited maintenance mode before VMs and vApps are started.
      In a non-advanced configuration, SSH actions will get executed when all hosts have exited maintenance mode before VMs and vApps are started.

      NOTE: If Fault Tolerance Threshold (FTT) is enabled, SSH actions will not get executed when all hosts in a group have exited maintenance mode if FTT is exceeded. If FTT is enabled and All Hosts online prior to startup is enabled (in Virtualization Settings), SSH actions will not get executed if there is still a critical event active on a group.

      NOTE: In a non-advanced configuration with a Witness Host Appliance, SSH actions will get executed after VM/vApp startup, as the Witness Host is the last host to be taken out of maintenance mode once it has been restarted.

 

Reply

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

Bartolo
Ensign Bartolo
Ensign

Posted: ‎2021-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

0 Likes
0
1284
  • 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-06-30 04:07 AM . Last Modified: ‎2024-03-08 04:33 AM

Thanks, that will probably work for me, I'll create a script to start up the VMs with SSH action.

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