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

    xoa - host restart, random DR vms are UP!

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 3 Posters 524 Views 1 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.
    • akurzawaA Offline
      akurzawa
      last edited by

      Why this is happening?

      random DR vms are up after host restart

      4d1d04fa-6046-44e8-a212-e5d518eb30b8-image.png

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Check if those VM got auto restart in their advanced tab.

        1 Reply Last reply Reply Quote 0
        • akurzawaA Offline
          akurzawa
          last edited by

          @olivierlambert said in xoa - host restart, random DR vms are UP!:

          Check if those VM got auto restart in their advanced tab.

          Where exactly is autorestart?
          30cfe4cc-ad73-422a-9362-8630f389956e-image.png

          e0e5c83f-343d-417c-80c8-44f33825c4b5-image.png

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team
            last edited by

            It's the Auto power on toggle. It appears to be on in your screen shots, but those don't appear to be for the same DR VMs.

            akurzawaA 1 Reply Last reply Reply Quote 0
            • akurzawaA Offline
              akurzawa @Danp
              last edited by

              @Danp said in xoa - host restart, random DR vms are UP!:

              It's the Auto power on toggle. It appears to be on in your screen shots, but those don't appear to be for the same DR VMs.

              The autopower WAS enabled on those two DR VMs - so why this is happend?

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                Because a DR is using VM.export, which is saving all VM parameters, including auto power. However, it shouldn't boot as we added some protections IIRC: https://github.com/vatesfr/xen-orchestra/issues/3780

                Feel free to ring a bell there, with the exact steps to reproduce.

                badrAZ created this issue in vatesfr/xen-orchestra

                closed [DR/CR] Remove the auto power property from the replicated VM #3780

                1 Reply Last reply Reply Quote 0
                • akurzawaA Offline
                  akurzawa
                  last edited by akurzawa

                  I've replied on github. For sure the VMs should not boot. Of course the source vm has autopower on parameter becouse it's needed.

                  The problem is big: DR copy of Second Active Directory server is up.... for sure I can expect AD problems in a while...

                  724808f6-fc82-4487-9f87-4d0291fc3e92-image.png

                  Autopower on is set up:

                  e4b71a2e-17cd-4e5f-a863-77f693249847-image.png

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