XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    strange behavior of auto start of VMs in a pool - bug or feature ?

    Scheduled Pinned Locked Moved Management
    4 Posts 2 Posters 24 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Online
      Pilow
      last edited by

      Hi there,

      Latest XOA, latest XCP Patchs; but this pre existed it's not a new behavior.
      no HA involved.

      We have a pool of 3 hosts. Some VMs have the AUTO POWER ON enabled in the advanced tab.
      We noticed that at every reboot of a server of this pool :

      • VMs with auto power on that are currently halted DO START

      -->this is not a wanted behavior for VMs that were purposedly manually halted.

      I thinked the AUTO POWER ON switch as a "host must restart the VM in case of power loss and the VM was previously running"

      so we get surprised each time we reboot a host, was it for simple maintenance or RPU when patches are applied.
      when we do a RPU, we manually shutdown some minor VMS, to speed up the evacuate process involved, but each time a host reboots, the VMs start up 🙂 annoying

      perhaps do we have a bad usage of pool's ADVANCED tab of auto start ?
      ff845e58-3c00-45f9-ae33-174e019f58a5-{7E856397-8EBA-4764-89AD-5EBADFD78CA3}.png

      auto power on is enabled on the pool AND at the VM level.

      Could someone explain what is the difference ?
      Perhaps to resolve the behavior we just hve to disable auto power on at the pool level ?!

      P 1 Reply Last reply Reply Quote 0
      • P Online
        Pilow @Pilow
        last edited by

        mmm there is a POWER ON mode switch also on the host level in advanced TAB (disabled in my case)

        so what is the expected behavior of these 3 switches ?

        • on pool advanced tab
        • on host advanced tab
        • on vm advanced tab
        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          On pool it's a kind of shortcut to enable it on all hosts. On VM, it allows you to decide which VM will start automatically or not.

          P 1 Reply Last reply Reply Quote 0
          • P Online
            Pilow @olivierlambert
            last edited by

            @olivierlambert so strange though. i have it enabled on 4 pools, that didn't propagte on hosts.

            still VM boots up when not needed as explained on fist post of the thread.

            i'll try différent combinations to see what's really going on

            1 Reply Last reply Reply Quote 0
            • First post
              Last post