[Linux-cluster] How to run same service in parallel in RedHat Cluster 5.0

Ruben Sajnovetzky rsajnove at cisco.com
Wed Sep 28 13:09:13 UTC 2011


This approach didn¹t work either :(
First server started service the second couldn¹t start



On 28-Sep-2011 8:52 AM, "Robert Hayden" <rhayden.public at gmail.com> wrote:

> 
>> On 09/27/2011 05:33 PM, Ruben Sajnovetzky wrote:
>>> >
>>> > I might be doing something wrong, because you say "you are fine" but
>>> didn't
>>> > work :(
>>> >
>>> > All servers have "/opt/app" mounted in same internal disk partition.
>>> > They are not shared, it is just that all have identical layout.
>>> > I tried to create:
>>> >
>>> >     Resource name: Central_FS
>>> >     Device: /dev/mapper/VolGroup00-optvol
>>> >     FS Type: ext3
>>> >     Mount point: /opt
>>> >
>>> > And
>>> >
>>> >     Resource name: Collector_FS
>>> >     Device: /dev/mapper/VolGroup00-optvol
>>> >     FS Type: ext3
>>> >     Mount point: /opt
>>> >
> 
> My suggestion here is theoretical and not tested.... I think you want to have
> a single "resource" with different service names.  For example,
> 
> <rm>
>   <resources>
>        <fs name="OptAppFS" device=/dev/mapper/VolGroup00-optvol .....>
>   </resources>   
>        <service name="Central_FS" .....>
>              <fs ref="OptAppFS"  ....>
>        </service>
>        <service name="Collector_FS" .....>
>              <fs ref="OptAppFS"  ....>
>        </service>
> </rm>
> 
>  
>>> > When I tried to save it I found in the /var/log/messages:
>>> >
>>> >  clurgmgrd[4174]: <notice> Reconfiguring
>>> >  clurgmgrd[4174]: <err> Unique attribute collision. type=fs
>>> attr=mountpoint
>>> > value=/opt
>>> >  clurgmgrd[4174]: <err> Error storing fs resource
>>> >
>>> > Thanks for your help and ideas!
> 
> 
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20110928/861ad1d7/attachment.htm>


More information about the Linux-cluster mailing list