[Pacemaker] restart only a particular service in group if it fails

Andreas Kurz andreas.kurz at linbit.com
Wed Mar 9 03:36:25 EST 2011


On 2011-03-08 12:24, bikrish amatya wrote:
> Hi,
> 
> I have setup a group where in , it has many resources configured say
> res1 , res2 , res3 , res4 , res5. 
> 
> To test if monitor is working or not,  I stopped manually the res2 service
> 
> When  monitor command found res2 is stopped , it stops  res3 , res4 and
> res5 and then tries to start res2. After it successfully start res2 ,
>  it then starts res3 , res4 and res5. 
> 
> My question is , Is it possible to just start res2 only without stopping
> other services that follows the resource(res3 , res4 , res5) which has
> been stopped.

unmanage res3 - res5  while you are testing res2 restarts

Regards,
Andreas

> 
> 
> 
> 
> Thanks,
> 
> Bikrish
> 
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 294 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110309/41809de7/attachment-0003.sig>


More information about the Pacemaker mailing list