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
-
-