[ClusterLabs] Insert delay between the statup of VirtualDomain

Ken Gaillot kgaillot at redhat.com
Thu Feb 23 15:25:10 EST 2017


On 02/23/2017 01:51 PM, Oscar Segarra wrote:
> Hi, 
> 
> In my environment I have 5 guestes that have to be started up in a
> specified order starting for the MySQL database server.
> 
> I have set the order constraints and VirtualDomains start in the right
> order but, the problem I have, is that the second host starts up faster
> than the database server and therefore applications running on the
> second host raise errors due to database connectivity problems.
> 
> I'd like to introduce a delay between the startup of the VirtualDomain
> of the database server and the startup of the second guest.
> 
> ¿Is it any way to get this?
> 
> Thanks a lot.

One option would be to make the first VM a guest node, and make the
database server a cluster resource running on it. Then you could use
regular ordering constraints.





More information about the Users mailing list