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

    Remove host from a pool (cli)

    Scheduled Pinned Locked Moved Solved Management
    2 Posts 2 Posters 896 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.
    • lkniteL Offline
      lknite
      last edited by lknite

      Hello, I had a pool with two servers called 'one' and 'two'. One was the master of the pool. I moved all vms from host one to host two and then repurposed host one not realizing that I could no longer access 'two' via XCP-ng Center. It tells me that 'two' is part of a pool and asks if I want to connect to the pool master, 'one', which of course does not exist.

      I've read in the forum a similar question to this but it almost sounded like the commands given would remove all the vms from the host.

      One of the vms on host two is not responding, all the others seem to be ok, I attempted to list the vms via the cli so I could reboot it but 'xe vm-list' isn't responding.

      How can I safely remove 'two' from the pool so I can access it via XCP-ng Center? I'm guessing this may also fix the 'xe vm-list' not responding.


      kept searching, found another article:
      https://xcp-ng.org/forum/topic/4075/pool-master-down-what-steps-need-done-next

      this command seems to have me back up:
      xe pool-emergency-transition-to-master

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

        Yes, if you removed the master without tell it to transition the master role to another machine, you have to promote manually your current slave if your "old master" isn't there anymore 🙂

        1 Reply Last reply Reply Quote 0
        • olivierlambertO olivierlambert marked this topic as a question on
        • olivierlambertO olivierlambert has marked this topic as solved on
        • First post
          Last post