Hi Mockey, If you choose "restart" then what you want to do is the default behavior for clustered services. If you choose "restart" as policy, then the service will be first restarted, and if it fails it will be relocated (as long as you have the service, run on any cluster member and not only on one cluster member).
Sincerely, Theophanis Kontogiannis > -----Original Message----- > From: linux-cluster-boun...@redhat.com [mailto:linux-cluster- > boun...@redhat.com] On Behalf Of Mockey Chen > Sent: Monday, February 02, 2009 9:41 AM > To: linux clustering > Subject: [Linux-cluster] Custom recovery policy: restart then relocate ? > > Hi, > > I want to one of my cluster service's recovery policy like this: > > When detected the service failed, first try to restart it, if restart > failed, then try to relocate it. > > I can one choose restart or relocate in configure, anybody can give some > hints. > > Thanks. > > > -- > Linux-cluster mailing list > Linux-cluster@redhat.com > https://www.redhat.com/mailman/listinfo/linux-cluster -- Linux-cluster mailing list Linux-cluster@redhat.com https://www.redhat.com/mailman/listinfo/linux-cluster