[Linux-HA] Virtual interface

Andrew Beekhof beekhof at gmail.com
Mon Jan 15 16:10:43 MST 2007


On 1/15/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> Well... Is this ocf-tester specific to 2.0.8?
>
> I'm woking on a SuSE Linux 10.0 Instalations and a find -iname ocf-tester
> resulted in no results:

i thought it was in .7 but i could be mistaken.
you could grab it from http://hg.linux-ha.org/dev/file/tip/tools/ocf-tester
it has no (or very very few) dependancies.

>
> DB01:/ # find / -iname ocf-tester
> find: WARNING: Hard link count is wrong for /sys/bus/pci: this may be a bug
> in your filesystem driver.  Automatically turning on find's -noleaf option.
> Earlier results may have failed to include directories that should have been
> searched.
> find: /media/floppy: No medium found
> DB01:/ #
>
> Where do I fing this ocf-tester tool?
>
> Vinicius Menezes
>
>
> On 1/15/07, Andreas Kurz <andreas.kurz at gmail.com> wrote:
> >
> > /usr/lib/ocf/resource.d/heartbeat/IPaddr meta-data
> > ...
> >   <parameter name="cidr_netmask">
> > <longdesc lang="en">
> > The netmask for the interface in CIDR format.
> > (e.g., 24 and not 255.255.255.0)
> >
> > If unspecified, the script will also try to determine this from the
> > routing table.
> > </longdesc>
> > <shortdesc lang="en">CIDR netmask</shortdesc>
> > <content type="string" default=""/>
> > </parameter>
> > ...
> >
> > Have you tried:
> >
> > ./ocf-tester -v -n rsc_DB01_IPaddr \
> > -o ip=192.168.0.143 \
> > -o cidr_netmask=255.255.255.0 \
> > -o nic=eth1 \
> > /usr/lib/ocf/resource.d/heartbeat/IPaddr
> >
> > ... and compared it with the results of:
> >
> > ./ocf-tester -v -n rsc_DB01_IPaddr \
> > -o ip=192.168.0.143 \
> > -o cidr_netmask=24 \
> > -o nic=eth1 \
> > /usr/lib/ocf/resource.d/heartbeat/IPaddr
> >
> > ???
> >
> > Regards,
> > Andreas
> >
> > On 1/15/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> > > Well I just tested the changes on the configuration and the interface
> > isn't
> > > up yet ( 5 minutes now ).  The configuration on both nodes looks like
> > the
> > > attached file.
> > >
> > > Best regards.
> > >
> > > Vinicius Menezes
> > >
> > > On 1/15/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > > >
> > > > On 1/15/07, vini.bill at gmail.com <vini.bill at gmail.com> wrote:
> > > > > Hi guys
> > > > >
> > > > > I've been testing the Linux-HA 2.x configuration style for a long
> > time (
> > > > one
> > > > > month now ) and I still couldn't reproduce the 1.x configuration
> > effects
> > > > on
> > > > > my cluster. I expected the attached xml configuration to create a
> > > > virtual
> > > > > interface on my cluster and I don't know what happens but it simply
> > > > doesn't
> > > > > do it. What am I missing here? The old ( heartbeat v1.x )
> > configuration
> > > > line
> > > > > is below:
> > > > >
> > > > > DB01 IPaddr::192.168.0.143/16/eth1
> > > >
> > > > have I not already told you on IRC not to set default_action_timeout
> > > > and transition_idle_timeout so low?
> > > >
> > > > use:
> > > >         <nvpair id="default_action_timeout"
> > name="default_action_timeout"
> > > > value="10s"/>
> > > >         <nvpair id="transition_idle_timeout"
> > > > name="transition_idle_timeout"
> > > > value="120s"/>
> > > > _______________________________________________
> > > > Linux-HA mailing list
> > > > Linux-HA at lists.linux-ha.org
> > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > > See also: http://linux-ha.org/ReportingProblems
> > > >
> > >
> > >
> > >
> > > --
> > > ... Vinicius Menezes ...
> > >
> > >
> > > _______________________________________________
> > > Linux-HA mailing list
> > > Linux-HA at lists.linux-ha.org
> > > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > > See also: http://linux-ha.org/ReportingProblems
> > >
> > >
> > >
> > _______________________________________________
> > Linux-HA mailing list
> > Linux-HA at lists.linux-ha.org
> > http://lists.linux-ha.org/mailman/listinfo/linux-ha
> > See also: http://linux-ha.org/ReportingProblems
> >
>
>
>
> --
> ... Vinicius Menezes ...
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


More information about the Linux-HA mailing list