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

    Remove a host from a pool

    Scheduled Pinned Locked Moved Management
    15 Posts 5 Posters 8.8k Views 4 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.
    • D Offline
      dalat9181
      last edited by

      How long does it takes for the host to be remove from the pool?

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

        Something like between 10 and 30 seconds in average.

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          dalat9181 @olivierlambert
          last edited by

          @olivierlambert
          I migrate all the vm of the host server.
          put it in maintained mode
          and detach it. But it have spinning for about an hour or now.
          The reason I want to detach it so I can re-install xcp-ng with ext storage instead of LVM.

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

            There's no need to reinstall to do this 🤔

            Just remove the LVM SR, recreate it in ext and that's it.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dalat9181 @olivierlambert
              last edited by

              @olivierlambert
              Thanks Oliver!
              Is there a document for this?

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

                To destroy the SR and recreate it?

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dalat9181 @olivierlambert
                  last edited by

                  @olivierlambert
                  Hi Oliver,
                  yes. I was just wondering if you have an official doc for it. But I did google on how to do this and will try it out.
                  Thanks

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

                    In XO, it's pretty straightforward: Home/SR, delete the SR. Then, New/SR and recreate it 🙂

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kevdog @tjkreidl
                      last edited by

                      @tjkreidl

                      So here is the dilemma I'm running into, the host I added with the incorrect network ports and such. It was reachable via the internet until I upgraded some pool patches, now its extremely unreachable. I can boot the installation, however I can't reach the slave to eject the host.

                      I tried emergency resetting network, however that didn't work either.

                      lshw -C network reveals a lot of unclaimed ethernet controllers which are the Intel 225-V version. I looked up various internet resources to see what "unclaimed" meant, and these sources suggest there isn't an appropriate driver -- which is weird since prior to the pool patches applied this installation was up and running (but misconfigured).

                      Sooo -- I either have two options at this point, and I don't really care. I'd like to eject this pool member -- destroy it -- however it seems I can't since it's unreachable, or I need to reinstall the I225V network driver.

                      Any suggestions?

                      tjkreidlT 1 Reply Last reply Reply Quote 0
                      • tjkreidlT Online
                        tjkreidl Ambassador @kevdog
                        last edited by

                        @kevdog You can force a host to be ejected even if the host is not reachable any longer from the pool master using:
                        xe host-forget uuid=UUID
                        If there is any issue because VMs are thought to be running still on that host,
                        you may need to do a power state reset on such before you can get rid of that host.
                        See if that works for you.

                        1 Reply Last reply Reply Quote 1
                        • olivierlambertO olivierlambert moved this topic from Xen Orchestra on
                        • DanpD Danp referenced this topic on
                        • First post
                          Last post