XO New Pool Master
-
This is a hypothetical.
If I were to build a new host that had compatible components (CPU etc), is there a process of promoting a server to be a new pool master?
Or is there a method of migrating the Pool Master to a new host?
-
It's easy:
- add your new host into your existing pool (it will adapt the CPU features automatically, anyway)
- promote the new host as the pool master
- that's it!
-
@olivierlambert said in XO New Pool Master:
It's easy:
- add your new host into your existing pool (it will adapt the CPU features automatically, anyway)
- promote the new host as the pool master
- that's it!
What if the original pool master is down or non-functioning?
-
Research the command
pool-emergency-transition-to-master
. -
Yes, but why you would do that if the old master is down? I mean, you won't be able to add your new host to the existing pool if the previous master is down
-
@olivierlambert said in XO New Pool Master:
Yes, but why you would do that if the old master is down? I mean, you won't be able to add your new host to the existing pool if the previous master is down
The OP may have been vague, nothing is down in my environment (just a random thought of "What if?").
If my pool master died for whatever reason, how would I get control over the pool again if I were able to build a replacement server?
SSH into another server in the pool and run
xe pool-emergency-transition-to-master
?
-
Yes, that's pretty much it Then, if your old master is dead for good (ie reinstall needed), you need to "forget" it (ie it will be removed from the database).
it's pretty simple because XAPI is replicated to all pool member while the master is running (but all other members got it in read only). If the master dies, then promote another member and you are done.