Re: healtchecks and TUN
Alexey Andriyanov <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <[email protected]> |
That's right, use fwmark-ing of outgoing healthcheck packets. There is a tool allowing to do IPIP encapsulation to different destinations based on fwmark quite easily: https://github.com/andriyanov/check-tun It reads keepalived.conf to determine tunnel endpoints and supports config reloading by HUP. 12.08.2014 01:25, Bjørnar Ness пишет: > 2014-08-11 22:46 GMT+02:00 Bjørnar Ness <[email protected] <mailto:[email protected]>>: > > > When doing healthcheck (HTTP_GET) on a virtual_server with > lvs_method TUN, does the healthcheck itself use a ipip tunnel > to the realserver? > > > After thinking a little, I guess I can use fwmark and add a routing policy > based on that, routing the packet through tunnel interface. > > -- > Bj(/)rnar > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Keepalived-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/keepalived-devel > -- Best regards, Alexey ------------------------------------------------------------------------------ _______________________________________________ Keepalived-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/keepalived-devel