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

    When the XCPNG host restart, it restarts running directly, instead of being in maintenance mode

    Scheduled Pinned Locked Moved Compute
    17 Posts 6 Posters 452 Views 6 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Ah nice!

      1 Reply Last reply Reply Quote 0
      • O Offline
        oliv77
        last edited by

        Hi,

        @olivierlambert, @psafont @pilow Perfect, thank you a lot !!

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

          @psafont do you know if it's already available since then in XCP-ng 8.3? If yes, worth checking XO team to also making this option visible in the UI 🙂

          psafontP 1 Reply Last reply Reply Quote 0
          • psafontP Offline
            psafont Vates 🪐 XAPI & Network Team @olivierlambert
            last edited by

            @olivierlambert said:

            @psafont do you know if it's already available since then in XCP-ng 8.3? If yes, worth checking XO team to also making this option visible in the UI 🙂

            Yes, we're shipping xapi 26.1.3, which includes this enhancement.

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

              Thanks! I will make sure the Maintenance mode button in XO extends with this new parameter.

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

                @olivierlambert having done a RPU yesterday on 3 hosts, I still have the "bug" where some VMs with "auto start" switched ON, but halted on purpose, reboot when a host is rebooted.

                we do stop some VMs during RPU to lessen the migrate times, but at every host reboot, they DO START UP

                annoying. not critical, but annoying.

                stormiS 1 Reply Last reply Reply Quote 0
                • stormiS Offline
                  stormi Vates 🪐 XCP-ng Team @Pilow
                  last edited by

                  @Pilow Are these VMs HA-protected? If yes, maybe when HA is re-enabled after the RPU it believes that the VM is down and must be started.

                  There's a pool-wide setting tell HA not to restart a VM that was manually stopped:

                  xe pool-param-set uuid=<your pool uuid> ha-reboot-vm-on-internal-shutdown=false
                  
                  P 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pilow @stormi
                    last edited by

                    @stormi no, we do not use HA, it's disabled on the POOL and on the VMs

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

                      I did verify and yes

                          ha-reboot-vm-on-internal-shutdown ( RW): true
                      

                      it is enabled on our Pool. but no HA

                                                 ha-enabled ( RO): false
                      
                      1 Reply Last reply Reply Quote 0
                      • stormiS Offline
                        stormi Vates 🪐 XCP-ng Team
                        last edited by stormi

                        So, if I understand correctly, you would like that a VM stopped on purpose but still marked as autostart on be not started during a RPU. I'm not sure how the system would know that the VM was stopped on purpose, after the reboot.

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

                          @stormi indeed.

                          but the host restarting is by design empty of all VMs because of evacuate process

                          the stopped VMs are on other hosts. so strange to see them booting when restarted host is coming online.

                          ps : as I wrote it, I understood my "error". halted VMs are on no host at all, just attached to the pool.

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

                            perhaps "in the context of a proceeding RPU, do not start halted VMs" ?
                            or "boot only halted VMs that have HA enabled" ?

                            but I can imagine corner cases where this is not wanted.

                            some chicken & egg problem.

                            1 Reply Last reply Reply Quote 0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            • First post
                              Last post