XenServer are not able to connect to XenCenter.
1.Make sure HA is disabled in the pool.
# xe pool-ha-disable --force
2.Perform toolstack restart on the servers.
3.Try connecting to XenCenter.
A common cause of hosts being in maintenance state is them not being able to connect to one of the storage repositories. Check the storage connections in XenCenter and repair if needed.