[Linux-cluster] How to configure resource dependency in service

Lon Hohberger lhh at redhat.com
Thu Oct 25 23:04:14 UTC 2007


On Thu, 2007-10-25 at 14:35 -0400, Vlad Seagal wrote:

> [root at va0pmlt01 ~]# clusvcadm -e webserver -m va0pmlt01
> Member va0pmlt01 trying to enable webserver...success
> Service webserver is now running on va0pmlt01
> [root at va0pmlt01 ~]#
> [root at va0pmlt01 ~]# ps -ef|grep http
> root     30227  8355  0 14:32 pts/0    00:00:00 grep http
> [root at va0pmlt01 ~]#
> [root at va0pmlt01 ~]# clustat
> Member Status: Quorate
> 
>   Member Name                              Status
>   ------ ----                              ------
>   va0pmlt01                                Online, Local, rgmanager
>   va0pmlt02                                Online, rgmanager
>   va0pmlt03                                Online, rgmanager
>   va0pmlt04                                Online, rgmanager
>   va0pmlt05                                Online, rgmanager
> 
>   Service Name         Owner (Last)                   State
>   ------- ----         ----- ------                   -----
>   webserver            va0pmlt01                      started
> 
> 
> As you can see the service doesn't start properly if it's started via
> clusvcadm command. Http is not running. Do you know what might be the
> problem.

That's very strange.  It's quite literally the same code that runs the
tree in rg_test and rgmanager - it's almost like maybe rgmanager  didn't
get a configuration update or something (missing ccs_tool update?).  

What code base do you have currently?

The IP resource only says "nfsexport" and "nfsclient" are illegal as
children, so <script> should work.

-- Lon





More information about the Linux-cluster mailing list