[prev in list] [next in list] [prev in thread] [next in thread] 

List:       redhat-linux-cluster
Subject:    Re: [Linux-cluster] How to try forever to start a service?
From:       Lon Hohberger <lhh () redhat ! com>
Date:       2008-03-24 14:45:07
Message-ID: 1206369907.28663.5.camel () ayanami ! boston ! devel ! redhat ! com
[Download RAW message or body]

On Mon, 2008-03-24 at 02:15 +0200, Theophanis Kontogiannis wrote:
> Hello All,
> 
> I have RHEL5 and what I try to do is make rgmanager to try FOREVER,
> until it succeeds, to start a service that is based on script
> resource.
> 
> Is there any such option either through cluster.conf or through
> the /usr/share/cluster/script.sh or any other file?
> 
> What is the option to do that?

Currently, there isn't one - but you can do it within your script itself
fairly easily.

Rgmanager will "restart" forever (if you want it to; depending on what
version you have), but the initial start needs to succeed or it will
temporarily give up when all nodes are exhausted.

-- Lon

--
Linux-cluster mailing list
Linux-cluster@redhat.com
https://www.redhat.com/mailman/listinfo/linux-cluster
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic