Remove host from a pool (cli)
-
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-nextthis command seems to have me back up:
xe pool-emergency-transition-to-master -
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

-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
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