Re: Defining dependency of services

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

 



--- chirantha pitigala <chiranthlk@xxxxxxxxx> wrote:

> Hi roger,
> 
> What I need is dependency between services. e.g:
> service 1 depends on successful start of service 2.
> Is it possible to do by making parent-child
> relationship between script resources of two
> services? 
What I try to do is think of service as "cluster
services", a service that a cluster will bring, not a
unix service (httpd or ftp)

if I do it in that way, nothing will stop me of having
two unix services as resource of a cluster service,
more important if this two unix services depend
between them.
so I _guess_ you can define an init.d script as a
child  resoucer of another init.d script resource, I
_guess_ you will have a change that things works with
start-stop actions, but I don't know about
check-status action ...

having said that I also have to say that I never had
done something like this :-) : one service depending
of another 


> ----- Original Message ----
> From: Roger Peña <orkcu@xxxxxxxxx>
> --- chirantha pitigala <chiranthlk@xxxxxxxxx> wrote:
> 
> > Hi all,
> > 
> > In RHCS 4, is there any way to define dependency
> or
> > order of services? As I can see services are
> started
> > in the order of defined in the cluster.conf. What
> is
> > the exact order? Can we add dependency between
> them?
> > 
> I do the dependency by creating one child of
> another,
> the child depend of success "start" of the parent
> resource
> 
> you was talking about dependency betwenn services or
> between resource inside services?
> 

cu
roger

__________________________________________
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )


       
____________________________________________________________________________________
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux