Eucalyptus 3 DNS HA configuration tips

Leave a comment

August 8, 2013 by kimizhang

Eucalyptus 3.0 GA release brings HA features, but it does not use Virtual IP to provide an unique access point to CLC and Walrus service, it uses DNS delegation to privide an unique domain name to map primary CLC and Walrus IPs.

CLC domain name: eucaluptus.euca-subdomain.yourdomain, e.g., this name is mapped to primary CLC IP.
Walrus domain name: walrus.euca-subdomain.yourdomain, e.g., this name is mapped to primary Walrus IP.

To achieve this DNS HA, we need to configure properly on both CLCs and external DNS server.

1. Configure on primary CLC and secondary CLC
a. On both CLC, make sure to setup your hostname with your whole domain name in /etc/sysconfig/network.
This takes effect after reboot, you can also use “hostname” command to set it into use immediately.

[root@Euca3-FE-1 ~]# cat /etc/sysconfig/network NETWORKING=yes

[root@Euca3-FE-2 ~]# cat /etc/sysconfig/network NETWORKING=yes

b. Configure subdomain, enable IP mapping and DNS delegation on primary CLC

[root@Euca3-FE-1 ~]# euca-modify-property [root@Euca3-FE-1 ~]# euca-modify-property -p bootstrap.webservices.use_instance_dns=true [root@Euca3-FE-1 ~]# euca-modify-property -p bootstrap.webservices.use_dns_delegation=true

2. Configure on external DNS server

  1. Open /etc/named.conf to check yourdomain name zone file

zone “” IN { type master; file “named.cdrdnet”; allow-transfer {;}; allow-update {none;}; };

zone “” { type forward; forward only; forwarders {;; }; };

b. Edit named.cdrdnet zone file, to add follwoing entries:
Note: the name server names after “NS” must be the same as hostnames we configured above on primary and secondary CLC hosts. IN NS IN NS IN A IN A

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: