Re: [Linux-HA] Antw: Ldirector checks for DNS
Yes, I use LVS in front of the name servers to supply load balancing. Thank you all for the help. []'s -- Thiago www.adminlinux.com.br On 16-08-2013 03:56, Andreas Mock wrote: Load balancing may also be a reason to use lvs in front of DNS servers. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] Ldirector checks for DNS
Sorry. My conf: ## DNS :: IPv6 :: myvirtualserver.com:domain virtual6=[2001:db8:38a5:8::2006]:53 real6=myrealserver.com:53 gate 7661 scheduler=wlc protocol=udp service=dns checktype=negotiate failurecount=3 receive="10.10.2.72" request="myzone.com" Thanks! -- Thiago Henrique adminlinux.com.br On 14-08-2013 18:32, lis...@adminlinux.com.br wrote: Hi,I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for DNS .I would like to know some details about checking for DNS. My conf: ## DNS :: IPv6 :: myvirtualserver.com:domain virtual6=[2001:db8:38a5:8::2006]:53 real6=myrealserver.com:53 gate 7661 scheduler=wlc protocol=udp service=dns checktype=negotiate failurecount=3 receive="10.10.2.72" request="myzone.com" I'd like to do 'request' for NS or records. Is it possible? Default is ask for A record. Thanks! -- Thiago Henrique adminlinux.com.br ___ Linux-HA mailing list Linux-HA@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@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Ldirector checks for DNS
Hi,I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for DNS .I would like to know some details about checking for DNS. My conf: ## DNS :: IPv6 :: myvirtualserver.com:domain virtual6=[2001:db8:38a5:8::2006]:53 real6=myrealserver.com:53 gate 7661 scheduler=wlc protocol=udp service=dns checktype=negotiate failurecount=3 receive="10.10.2.72" request="myzone.com" I'd like to do 'request' for NS or records. Is it possible? Default is ask for A record. Thanks! -- Thiago Henrique adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Ldirector support for DNS with IPv6
Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for DNS . I'm trying to use "checktype = negotiate", but I can not make it work. Can anyone help me find what I'm doing wrong? Configuration in ldirectord.cf with "checktype = negotiate" virtual6=[2001:db8:0:0:0:0:0:2006]:53 real6=[2001:db8:0:0:0:0:0:af5a]:53 gate 888 scheduler=wlc protocol=udp service=dns failurecount=3 checktype=negociate request="my.host.com" recieve="2001:db8::2006" With this configuration in ldirectord.cf everything works (checktype = on) : virtual6=[2001:db8:0:0:0:0:0:2006]:53 real6=[2001:db8:0:0:0:0:0:af5a]:53 gate 888 scheduler=wlc protocol=udp service=dns failurecount=3 checktype=on Thanks! -- Thiago Henrique www.adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] LVS with IPv6
Thanks Sebastiaan, I did what you suggested and now ping6 works. But when receive the ping6 virtualserver generates the following message in the logs: Jul 15 17:05:12 server kernel: [1657434.279630] rt6_redirect: source isn't a valid nexthop for redirect target Is there any route or sysctl that I need to configure? # ip -6 route 2001:db8:38a5:8::2006 dev eth1 proto kernel metric 256 2001:db8:38a5::/48 via 2001:db8:38a5::1 dev eth1 metric 1 2001:db8:38a5::/48 dev eth1 proto kernel metric 256 Thank you in advance. -- Thiago Henrique www.adminlinux.com.br Em 26-06-2013 03:44, Sebastiaan Hoogeveen escreveu: Hi, On 26 jun. 2013, at 02:49, Listas wrote: I'm trying to configure an IPv6 LVS. I need to run radvd on my router to work? I made this configuration: In my network gateway: ifconfig eth1 add 2001:db8:38a5::1/48 In realserver: ifconfig eth1 add 2001:db8:38a5:8::af5a/48 ifconfig lo add 2001:db8:38a5:8::2006/128 In virtualserver: ifconfig eth1 add 2001:db8:38a5::bc5f/48 ifconfig eth1 add 2001:db8:38a5:8::2006/128 ipvsadm -A -u [2001:db8:38a5:8:0:0:0:2006]:53 -s wlc ipvsadm -a -u [2001:db8:38a5:8:0:0:0:2006]:53 -r [2001:db8:38a5:8::af5a]:53 -w 888 Did the 2001:db8:38a5:8::2006 address actually get assigned to lo on the realserver? If not you have probably not yet disabled DAD (duplicate address detection) for lo on the realserver: echo 0 > /proc/sys/net/ipv6/conf/lo/dad_transmits echo 0 > /proc/sys/net/ipv6/conf/lo/accept_dad This should be done before configuring the IPv6 addresses, somewhat like the way you would change ARP configuration for IPv4. Also I would recommend using TCP to test the configuration as you might get more feedback on the client if something goes wrong. Kind regards, ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] LVS with IPv6
Thanks Sebastiaan! Please permit me another question. Correct me if I'm wrong: When working with IPv6 I will not have "The Arp Problem", but it will be mandatory to have radvd on my routers. Right? Thanks! -- Thiago Henrique www.adminlinux.com.br Em 26-06-2013 03:44, Sebastiaan Hoogeveen escreveu: Hi, On 26 jun. 2013, at 02:49, Listas wrote: I'm trying to configure an IPv6 LVS. I need to run radvd on my router to work? I made this configuration: In my network gateway: ifconfig eth1 add 2001:db8:38a5::1/48 In realserver: ifconfig eth1 add 2001:db8:38a5:8::af5a/48 ifconfig lo add 2001:db8:38a5:8::2006/128 In virtualserver: ifconfig eth1 add 2001:db8:38a5::bc5f/48 ifconfig eth1 add 2001:db8:38a5:8::2006/128 ipvsadm -A -u [2001:db8:38a5:8:0:0:0:2006]:53 -s wlc ipvsadm -a -u [2001:db8:38a5:8:0:0:0:2006]:53 -r [2001:db8:38a5:8::af5a]:53 -w 888 Did the 2001:db8:38a5:8::2006 address actually get assigned to lo on the realserver? If not you have probably not yet disabled DAD (duplicate address detection) for lo on the realserver: echo 0 > /proc/sys/net/ipv6/conf/lo/dad_transmits echo 0 > /proc/sys/net/ipv6/conf/lo/accept_dad This should be done before configuring the IPv6 addresses, somewhat like the way you would change ARP configuration for IPv4. Also I would recommend using TCP to test the configuration as you might get more feedback on the client if something goes wrong. Kind regards, ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
Re: [Linux-HA] LVS with IPv6
Ops, the real result of ipvsadm: Result of ipvsadm: # ipvsadm IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn UDP [2001:db8:38a5:8::2006]:domain wlc -> [2001:db8:38a5:8::af5a]:domain Route 8880 0 Em 25-06-2013 21:46, Listas escreveu: Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for DNS . I'm trying to configure an IPv6 LVS. I need to run radvd on my router to work? I made this configuration: In my network gateway: ifconfig eth1 add 2001:db8:38a5::1/48 In realserver: ifconfig eth1 add 2001:db8:38a5:8::af5a/48 ifconfig lo add 2001:db8:38a5:8::2006/128 In virtualserver: ifconfig eth1 add 2001:db8:38a5::bc5f/48 ifconfig eth1 add 2001:db8:38a5:8::2006/128 ipvsadm -A -u [2001:db8:38a5:8:0:0:0:2006]:53 -s wlc ipvsadm -a -u [2001:db8:38a5:8:0:0:0:2006]:53 -r [2001:db8:38a5:8::af5a]:53 -w 888 Result of ipvsadm: # ipvsadm IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn UDP [fd77:f3e2:38a5:8::2006]:domain wlc -> [fd77:f3e2:38a5:8::af5a]:domain Route 8880 0 Thanks! ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] LVS with IPv6
Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for DNS . I'm trying to configure an IPv6 LVS. I need to run radvd on my router to work? I made this configuration: In my network gateway: ifconfig eth1 add 2001:db8:38a5::1/48 In realserver: ifconfig eth1 add 2001:db8:38a5:8::af5a/48 ifconfig lo add 2001:db8:38a5:8::2006/128 In virtualserver: ifconfig eth1 add 2001:db8:38a5::bc5f/48 ifconfig eth1 add 2001:db8:38a5:8::2006/128 ipvsadm -A -u [2001:db8:38a5:8:0:0:0:2006]:53 -s wlc ipvsadm -a -u [2001:db8:38a5:8:0:0:0:2006]:53 -r [2001:db8:38a5:8::af5a]:53 -w 888 Result of ipvsadm: # ipvsadm IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port Forward Weight ActiveConn InActConn UDP [fd77:f3e2:38a5:8::2006]:domain wlc -> [fd77:f3e2:38a5:8::af5a]:domain Route 8880 0 Thanks! -- Thiago Henrique www.adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Ldirector support for MySQL with IPv6
Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector 3.9.2-5ubuntu4.1 to provide high availability and load balancing for MySQL. I need to configure IPv6 in my cluster. But, in man ldirectord I see just suport for services: dns, nntp, none, simpletcp, sip. Is there forecast to add support for other services (like MySQL) ? Thanks! -- Thiago Henrique www.adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Heartbeat haresources with IPv6
Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 to provide high availability for some IP addresses. I want to configure an IPv6 address on my haresources. I did this: File /etc/heartbeat/haresources: server.domain.com \ 192.168.2.62/32/eth1 \ 192.168.2.64/32/eth1 \ 192.168.2.72/32/eth1 \ IPv6addr::2001:db8:38a5:8::2006/48/eth1 \ MailTo::a...@domain.com The IPv4 addresses work fine, but I'm not getting success with the IPv6 address. My logs shows this message: ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr 2001:db8:38a5:8 2006/48/eth1 start ResourceManager[22129]: CRIT: Giving up resources due to failure of IPv6addr::2001:db8:38a5:8::2006/48/eth1 ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr 2001:db8:38a5:8 2006/48/eth1 stop ResourceManager[22129]: info: Retrying failed stop operation [IPv6addr::2001:db8:38a5:8::2006/48/eth1] Apparently there is a conflict between the characters '::' inside the IPv6 address and the separator '::' used in the haresources. But I would not like have to expand the IPv6 address. Does anyone know a way to avoid this conflict? Thanks! -- Thiago Henrique www.adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
[Linux-HA] Heartbeat haresources with IPv6
Hi, I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 to provide high availability for some IP addresses. I want to configure an IPv6 address on my haresources. I did this: File /etc/heartbeat/haresources: server.domain.com \ 192.168.2.62/32/eth1 \ 192.168.2.64/32/eth1 \ 192.168.2.72/32/eth1 \ IPv6addr::2001:db8:38a5:8::2006/48/eth1 \ MailTo::a...@domain.com The IPv4 addresses work fine, but I'm not getting success with the IPv6 address. My logs shows this message: ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr 2001:db8:38a5:8 2006/48/eth1 start ResourceManager[22129]: CRIT: Giving up resources due to failure of IPv6addr::2001:db8:38a5:8::2006/48/eth1 ResourceManager[22129]: info: Running /etc/ha.d/resource.d/IPv6addr 2001:db8:38a5:8 2006/48/eth1 stop ResourceManager[22129]: info: Retrying failed stop operation [IPv6addr::2001:db8:38a5:8::2006/48/eth1] Apparently there is a conflict between the characters '::' inside the IPv6 address and the separator '::' used in the haresources. But I would not like have to expand the IPv6 address. Does anyone know a way to avoid this conflict? Thanks! -- Thiago Henrique www.adminlinux.com.br ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems