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

Robert Hayden rhayden.public at gmail.com
Wed Sep 28 12:52:52 UTC 2011


> 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20110928/b55ba99c/attachment.htm>


More information about the Linux-cluster mailing list