[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [Linux-cluster] Order of execution



Eric,

I am running RHEL3 U4 with clumanager 1.2.22.  I do not have the options
listed below.

Does anyone have an example script for this version?  Lon?

Thanks, Jacob 

> -----Original Message-----
> From: Eric Kerin [mailto:eric bootseg com] 
> Sent: Monday, April 03, 2006 3:27 PM
> To: Liberman, Jacob
> Cc: linux clustering
> Subject: Re: [Linux-cluster] Order of execution
> 
> Jacob, 
> 
> The start/stop orders are defined in 
> /usr/share/cluster/service.sh look under the special tag, 
> there should be a child tag for each type of child node of service.
> 
> Mine looks like so (current rgmanager rpm from RHN): 
>         <child type="fs" start="1" stop="8"/>
>         <child type="clusterfs" start="2" stop="7"/>
>         <child type="netfs" start="3" stop="6"/>
>         <child type="nfsexport" start="4" stop="5"/>
> 
>         <child type="nfsclient" start="5" stop=""/>
> 
>         <child type="ip" start="6" stop="2"/>
>         <child type="smb" start="7" stop="3"/>
>         <child type="script" start="7" stop="1"/>
> 
> 
> For starting, fs should start first, then clusterfs, etc... 
> finally smb and script start.
> 
> For stopping, script would be stopped first, then ip, etc... 
> finally fs.
> 
> Thanks,
> Eric Kerin
> eric bootseg com
> 
> 
> On Mon, 2006-04-03 at 15:16 -0500, JACOB_LIBERMAN Dell com wrote:
> > Hi cluster geniuses,
> > 
> > I have a quick question. 
> > 
> > I am trying to write a custom startup script for an 
> application called
> > adsi rms.  The application comes with its own startup script that
> > requires the disk resource and network interface. Here is 
> my question:
> > 
> > When I create a custom startup script for the service and 
> place it in
> > /etc/init.d/, the cluster service can start the application 
> successfully
> > but not all services come online because the shared disk 
> and IP do not
> > appear to be available when the service starts.
> > 
> > Is there a way to set the order of execution for a service 
> so that the
> > application will not start until AFTER the disk and network 
> interface
> > are available?
> > 
> > Thanks again, Jacob
> > 
> > --
> > Linux-cluster mailing list
> > Linux-cluster redhat com
> > https://www.redhat.com/mailman/listinfo/linux-cluster
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]