Jump to content
Updated Privacy Statement
  • 0

Can't re-enable HA


Jon Berry

Question

Have two servers in a pool, running XenServer 7.1.  We had a crash of the master, the mater failed over to the second server.  Took the old master out of HA and restored it to service in the pool.  Second server remains the master at this time.

 

In trying to re-enable HA, we are getting this error:

 

This operation cannot be performed because VDI OpaqueRef:b0fce4a4-9f68-2b74-3bce-6b2c05b2290d6 could not be properly attached to the VM.

 

Can anyone give me some guidance on where to start looking to resolve this?

Link to comment

Recommended Posts

I would show them the documentation that says to not run two servers in HA and have it disabled. 

as far as OpaqueRef, a restart of the toolstacks on both hosts should resolve that invalid reference. 

Thats basically just saying something needs refreshed or is just flat out incorrect. Worst case scenario

both hosts restarted should clear it.

 

--Alan--

 

 

 

Link to comment

Thanks for the quick reply!  The time settings seem fine on both:

 

[root@ctx3 ~]# ntpstat -s
synchronised to NTP server (204.2.134.163) at stratum 3
   time correct to within 68 ms
   polling server every 128 s

 

[root@ctx2 ~]# ntpstat -s
synchronised to NTP server (204.9.54.119) at stratum 2
   time correct to within 59 ms
   polling server every 1024 s

 

And the VM power states also seem fine:

 

[root@ctx3 ~]# xe vm-list
uuid ( RO)           : a5eb0e25-7add-0fbc-f020-3d868a6dd670
     name-label ( RW): web1.posterframedepot.com
    power-state ( RO): running


uuid ( RO)           : 3d811bd9-9fd7-c9bb-6291-8100117e4c06
     name-label ( RW): web1.ezonlinehost.com
    power-state ( RO): running


uuid ( RO)           : 72c43817-5ba4-4de2-83d6-97f4b2ecf1fd
     name-label ( RW): Control domain on host: ctx2.onlineframingnetwork.com
    power-state ( RO): running


uuid ( RO)           : 7fe2f955-97af-4581-a672-64b228e41422
     name-label ( RW): Control domain on host: ctx3.onlineframingnetwork.com
    power-state ( RO): running

 

I do notice though that the VDI its giving an error on is not listed above:

 

b0fce4a4-9f68-2b74-3bce-6b2c05b2290d6

 

There are only two running VMs', but there USED to be a third which was removed months ago.  I'm guessing that has something to do with it maybe?

 

Link to comment

You may have a VM in a bad power state. List the VDI out and see which VM it's associate with and try the xe command on it with the power state reset. For details, see: https://support.citrix.com/article/CTX220777

Might have  to reboot the VM, or possible even the host, itself on which the VM is resident. Bad crashes are never good and some damage can occur in the process, alas.

Make sure the master control really has been handed over to the second server and they are properly synchronized to NTP (check with "ntpstat -s").

 

-=Tobias

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...