-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thank you!! It's exactly what I want! I should put it in /etc/ha.d/resource.d or in /usr/lib/ocf/resource.d/heartbeat/? Restart ha?
Edward Capriolo a écrit : > http://lists.community.tummy.com/pipermail/linux-ha/2007-June/025590.html > > On 4/29/08, Edward Capriolo <[EMAIL PROTECTED]> wrote: >> This should work. >> >> >> On 4/29/08, Andrew Beekhof <[EMAIL PROTECTED]> wrote: >>> On Tue, Apr 29, 2008 at 1:43 PM, Marc LEURENT <[EMAIL PROTECTED]> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Thank you for your answer! >>>> I will try to create a IPaddr3 which will take into account gateway >>>> parameter... >>> or sumbit a patch for IPaddr2 so that it takes an extra parameter :) >>> >>>> Have a nice day >>>> >>>> Michael Schwartzkopff a écrit : >>>> >>>>> Am Dienstag, 29. April 2008 11:50 schrieb Marc LEURENT: >>>> >> Good morning, >>>> >> I would be very grateful if you had any idea how to add a default gw >>>> on my >>>> >> eth0 interface. I'm connecting to the servers using private IP on >>>> eth1. If >>>> >> I configure a static public IP on eth0 with a default route, I can add >>>> a >>>> >> public IP with heartbeat, but I don't want to loose a public IP per >>>> server. >>>> >> I want to have only public IP for services! >>>> >> >>>> >> Is it possible to add default gw with HA? >>>> >> >>>> >> Thanks >>>> >> Marc Leurent >>>> > >>>> > Hi, >>>> > >>>> > sorry, this is not possible at the moment since the IPaddr2 resource >>>> does not >>>> > take a "gateway" attribute. >>>> > >>>> > Quick and dirty hint: Edit the file >>>> /usr/lib/ocf/resource.d/heartbeat/IPaddr2 >>>> > look for the function ip_start() and add your default gateway there. >>>> > >>>> > >>>> > >>>> >>>> -----BEGIN PGP SIGNATURE----- >>>> Version: GnuPG v1.4.6 (GNU/Linux) >>>> >>>> iD8DBQFIFwnUrxOjjFYWQtoRAolAAKCBoTm5Rgmujw0ryPPR4DkRMwGo4QCeLA5U >>>> bVYsxV7ND/mxdCrBtjYOoqA= >>>> =iil5 >>>> -----END PGP SIGNATURE----- >>>> >>>> >>>> _______________________________________________ >>>> 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIFyXYrxOjjFYWQtoRAocnAJ0atEknjPeYzsZKI3eTHJR5VM5tRgCdEs4i NRdp4b8d7IyxM07zYCy8k3E= =RRLf -----END PGP SIGNATURE----- _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
