Thank you Dejan Muhamedagic,

   Now i am successfully running heartbeat.
I have changed in* cib.xml *file instead of *"monitor"* i used
*"start" *options
in resources section.

Thanks

Prakash, KH

On Tue, Aug 18, 2009 at 3:23 AM, Dejan Muhamedagic <[email protected]>wrote:

> Hi,
>
> On Mon, Aug 17, 2009 at 10:39:31PM +0530, prakash hallalli wrote:
> > Thanks for replay,
> >
> >  I have changed nic parameters instated of using 24 i used eth0. Now ip
> > addrs is working and drbd status is some time displaying
> *primary/secondary
> > *and some time displaying *secondary/secondary* status. But cluster mount
> > directory not mounting. When i try to mount manually it will work fine.
>
> Strange. According to your description, the drbd resource is
> going up and down, how can then a manual mount work?
>
> [...]
>
> > lrmd[13760]: 2009/08/17_22:20:05 info: RA output:
> (drbddisk_3:stop:stderr)
> > WARN:
> >   You are using the 'drbd-peer-outdater' as outdate-peer program.
> >   If you use that mechanism the dopd heartbeat plugin program needs
> >   to be able to call drbdsetup and drbdmeta with root privileges.
> >
> >   You need to fix this with these commands:
> >   chgrp haclient /sbin/drbdsetup
> >   chmod o-x /sbin/drbdsetup
> >   chmod u+s /sbin/drbdsetup
> >
> >   chgrp haclient /sbin/drbdmeta
> >   chmod o-x /sbin/drbdmeta
> >   chmod u+s /sbin/drbdmeta
>
> Perhaps this is a clue.
>
> [...]
>
> > please help me what should i do.
>
> You should fix your resources. Look for messages from drbddisk
> matching the regular expression lrmd.*RA.output.*drbd, as the one
> quoted above.
>
> Thanks,
>
> Dejan
>
> >
> > Thanks
> >
> > Prakash, KH
> >
> >
> > On Mon, Aug 17, 2009 at 5:12 PM, Dejan Muhamedagic <[email protected]
> >wrote:
> >
> > > Hi,
> > >
> > > On Mon, Aug 17, 2009 at 02:10:02PM +0530, prakash hallalli wrote:
> > > > Thanks for replayed,
> > > >
> > > > Pleace tell me how shoukld I fix nic parameter, I did try to replaces
> the
> > > > cib.xml file but still same problem it's giving. I do not know where
> it's
> > > > going wrong.
> > > >
> > > > This my cib.xml resources configuration file file
> > > >
> > > > * [r...@gtt4 ~]# cat  /var/lib/heartbeat/crm/cib.xml*
> > > [...]
> > >
> > > This is the primitive you have to fix:
> > >
> > > >          <primitive class="ocf" id="IPaddr_192_168_2_20"
> > > > provider="heartbeat" type="IPaddr">
> > > >            <operations>
> > > >              <op id="IPaddr_192_168_2_20_mon" interval="5s"
> > > name="monitor"
> > > > timeout="5s"/>
> > > >            </operations>
> > > >            <instance_attributes id="IPaddr_192_168_2_20_inst_attr">
> > > >              <attributes>
> > > >                <nvpair id="IPaddr_192_168_2_20_attr_0" name="ip"
> > > > value="192.168.2.20"/>
> > > >                <nvpair id="IPaddr_192_168_2_20_attr_1" name="nic"
> > > > value="24"/>
> > > >              </attributes>
> > > >            </instance_attributes>
> > > >          </primitive>
> > >
> > > As you can see, the nic parameter is set to "24" which is
> > > obviously wrong.
> > >
> > > To change the configuration, please take a look here:
> > >
> > >
> > >
> http://clusterlabs.org/mediawiki/images/7/7d/Configuration_Explained_0.6.pdf
> > >
> > > At the very beginning there's an explanation on configuration and
> > > editing.
> > >
> > > Thanks,
> > >
> > > Dejan
> > >
> > >
> > > >
> > > > please help me what should i do and where i am going wrong.
> > > >
> > > > Thanks
> > > >
> > > > Prakash, HK
> > > > _______________________________________________
> > > > Linux-HA mailing list
> > > > [email protected]
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > > See also: http://linux-ha.org/ReportingProblems
> > > _______________________________________________
> > > Linux-HA mailing list
> > > [email protected]
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > [email protected]
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to