Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shutdown Openstack HA VM from VM itself?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Shutdown Openstack HA VM from VM itself?

I want to be able to shutdown an Openstack VM node, especially those from Prometeus within the node itself so that the HA option doesn't bring it back up. Is there someway to accomplish it within the node itself?

Would that require accessing the API from the node itself, or can some feature be set within the node itself which the HA system can detect and avoid bringing it back up again?

Comments

  • perennateperennate Member, Host Rep

    In a typical setup, failover will only occur when the host node appears to have failed, not when individual virtual machines look as though they are offline. Shutting down normally (shutdown -h 0) should not result in a failover action.

  • @perennate said:
    In a typical setup, failover will only occur when the host node appears to have failed, not when individual virtual machines look as though they are offline. Shutting down normally (shutdown -h 0) should not result in a failover action.

    Is shutdown -h 0 the same as shutdown -h now?

  • ClouviderClouvider Member, Patron Provider

    @rchurch said:
    Is shutdown -h 0 the same as shutdown -h now?

    Yes, you define time in seconds when would you like the server to shut down.

Sign In or Register to comment.