summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
Diffstat (limited to 'boot')
-rw-r--r--boot/bind_zones17
-rw-r--r--boot/dns_install.sh3
2 files changed, 14 insertions, 6 deletions
diff --git a/boot/bind_zones b/boot/bind_zones
index e73234f4..0893ca64 100644
--- a/boot/bind_zones
+++ b/boot/bind_zones
@@ -16,10 +16,15 @@ $TTL 604800
simpledemo.openecomp.org. IN A dns_ip_addr
;
-vm1.aai.simpledemo.openecomp.org. IN A aai_ip_addr
-c1.vm1.aai.simpledemo.openecomp.org. IN A aai_ip_addr
-c2.vm1.aai.simpledemo.openecomp.org. IN A aai_ip_addr
-c3.vm1.aai.simpledemo.openecomp.org. IN A aai_ip_addr
+vm1.aai.simpledemo.openecomp.org. IN A aai1_ip_addr
+c1.vm1.aai.simpledemo.openecomp.org. IN A aai1_ip_addr
+c2.vm1.aai.simpledemo.openecomp.org. IN A aai1_ip_addr
+c3.vm1.aai.simpledemo.openecomp.org. IN A aai1_ip_addr
+
+vm2.aai.simpledemo.openecomp.org. IN A aai2_ip_addr
+c1.vm2.aai.simpledemo.openecomp.org. IN A aai2_ip_addr
+c2.vm2.aai.simpledemo.openecomp.org. IN A aai2_ip_addr
+c3.vm2.aai.simpledemo.openecomp.org. IN A aai2_ip_addr
vm1.appc.simpledemo.openecomp.org. IN A appc_ip_addr
c1.vm1.appc.simpledemo.openecomp.org. IN A appc_ip_addr
@@ -72,7 +77,9 @@ vm1.mr.simpledemo.openecomp.org. IN A mr_ip_addr
;CNAMES
;A&AI
aai.api.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
-aai.hbase.simpledemo.openecomp.org. IN CNAME vm1.aai.simpledemo.openecomp.org.
+aai.hbase.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
+aai.gremlinserver.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
+aai.elasticsearch.simpledemo.openecomp.org. IN CNAME vm2.aai.simpledemo.openecomp.org.
;APPC
appc.api.simpledemo.openecomp.org. IN CNAME vm1.appc.simpledemo.openecomp.org.
diff --git a/boot/dns_install.sh b/boot/dns_install.sh
index 58bb4d78..9cf5c324 100644
--- a/boot/dns_install.sh
+++ b/boot/dns_install.sh
@@ -65,7 +65,8 @@ if [[ $CLOUD_ENV != "rackspace" ]]
then
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/named.conf.options
sed -i "s/external_dns/"$(cat /opt/config/external_dns.txt)"/g" /etc/bind/named.conf.options
- sed -i "s/aai_ip_addr/"$(cat /opt/config/aai_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aai1_ip_addr/"$(cat /opt/config/aai1_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
+ sed -i "s/aai2_ip_addr/"$(cat /opt/config/aai2_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/appc_ip_addr/"$(cat /opt/config/appc_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dcae_ip_addr/"$(cat /opt/config/dcae_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org
sed -i "s/dns_ip_addr/"$(cat /opt/config/dns_ip_addr.txt)"/g" /etc/bind/zones/db.simpledemo.openecomp.org