Thank you! I will try it out. Looks like what I need.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:linux-ha-
> [EMAIL PROTECTED] On Behalf Of Spindler Michael
> Sent: Sunday, February 10, 2008 10:37 AM
> To: General Linux-HA mailing list
> Subject: AW: [Linux-HA] add a route with heartbeat?
> 
> Hi,
> 
> I have written a small ocf-script for setting up routes as cluster
> resources.
> 
> It is far from being perfect, but it is enough for my needs.
> 
> An open issue: If you set the type to "net" and you do not set a
> netmask, the route-command will fail.
> 
> 
> Best regards,
> Michael
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Im Auftrag von Damon
> > Estep
> > Gesendet: Samstag, 9. Februar 2008 18:02
> > An: [email protected]
> > Betreff: [Linux-HA] add a route with heartbeat?
> >
> > Centos Linux 5.1
> >
> > Heartbeat v2
> >
> >
> >
> > I have a cluster resource that is an IP address in a different subnet
> > than the real IP on the nodes.
> >
> >
> >
> > When the cluster IP is added to a node I need to modify the routing
> > table so the default gateway or 0.0.0.0/0 route becomes an IP in the
> > cluster IP address subnet so that packets from the active node can be
> > sourced from the cluster IP address.
> >
> >
> >
> > Is there a way to manage routes as a heartbeat resource, or is some
> > type of script required?
> >
> >
> >
> > The route cannot be added without the cluster IP being active because
> > the gateway would be unreachable.
> >
> >
> >
> > Example?
> >
> >
> >
> > Thank you!
> >
> > _______________________________________________
> > 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