Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Guest VMs do not shutdown - only reboot 5 days 14 hours ago #2581

Originally started this implementation with this post.
www.halizard.com/forum/general-discussio...ernal-shared-storage

At this point I have only a single host in a new pool - awaiting the addition of the 2nd pool member.

I've noticed that VMs would never stay shutdown when I wanted them too - they'd always boot back up.

I found that disabling HA-Lizard's HA, the VMs will stay shutdown.

How do I enable HA and retain the option to leave a VM powered off?

Please Log in or Create an account to join the conversation.

Guest VMs do not shutdown - only reboot 2 days 14 hours ago #2583

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 711
If you are running halizard with default settings, this will happen. The defaults will ensure that ALL VMs are always running. To individually control which VMs are managed by halizard, you will need to set the following.

ha-cfg set global_vm_ha 0

Then, for each VM you can set HA to true of false. To list the status of all your VMs:

ha-cfg get-vm-ha

To disable/enable HA for each VM:

ha-cfg set-vm-ha [true/false]

Alternatively, you can expose the custom field used to control HA per VM and control from XEnCEnter or XCP-ng Center. Please refer to the documentation for how to do this. www.halizard.com/images/pdf/HA-Lizard_2.1.3.pdf

Please Log in or Create an account to join the conversation.

  • Page:
  • 1