XO changed master pool after host down
-
Hi I have a problem
I have pool with 2 hosts with enable HA and shared storage
when i shut down master host for test.
HA work properly and restart vm on another host also master change from host 1 to 2 , but XO dont see anythink. its empty, not detect new master.
When i power on host 1 the XO detected pool and both host and i see the master are change and vm works properly.
Why XO cant connect to the new master when first host is down? -
-
To bring back the XO functionality, you need to modify the settings under Settings > Servers so that it points to the new master host.
-
@lawrencesystems said in XO changed master pool after host down:
For HA to work properly you need 3 hosts.
Only what i see is a strongly recommended, not required
-
@Danp Ok if i have more then 2 hosts in pool how can easy check who is the master to set ip in the settings?
And another question, now i have master host number 2 but setting server have host number 1 and it works now -
xe pool-list
will give you the UUID of the master host.xe host-list
will give you the host name. You can use a combination ofxe
commands to get the name of the master host --xe host-param-get param-name=name-label uuid=`xe pool-list | grep master | awk '{print $4}'`
Once you bring back up the old server, XO is smart enough to detect that it is no longer the master and will determine the correct host within the pool.