[ClusterLabs] Order constraint with a timeout?

john tillman johnt at panix.com
Mon Mar 28 14:03:23 EDT 2022


Greetings all,

Is it possible to have an order constraint with a timeout?  I can't find
one but perhaps I am using the wrong keywords in google.

I have several Filesystem resource and one nfs service resource.  If I
create 3 order constraints:
   pcs constraint order start fsRsc1 then start myNfsServiceRsc
   pcs constraint order start fsRsc2 then start myNfsServiceRsc
   pcs constraint order start fsRsc3 then start myNfsServiceRsc

I would like to make sure that the nfs service will be started even if one
of the Filesystem resources fails to start.  Is there a timeout that could
be used?

There is the "kind=Optional" parameter but that looks like it will
immediately start the second resource if the first failed to start.  There
is no timeout option.

Best regards,
-John





More information about the Users mailing list