You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Setup required to test DnsSwitch functionality


1. Place dnsSwitch.bash on core-dns master under /home/ubuntu

2. Place sdnc.dnsswitch and site.conf on respective sites under /home/ubuntu

3. Make sure that site.conf is properly configured

e.g. as follows-

siteIP="10.147.112.139" ----- Site A
app="sdnc" --- app name is sdnc
corednsHost="10.147.114.7" ----- core-dns host ip

4. Following are the steps to create core-dns ssh connection with sites

a. Execute below command from /home/ubuntu on coredns master:
       ssh-keygen -t rsa -f coredns.key - this creates two files- coredns.key and coredns.key.pub under /home/ubuntu
b. Copy above two key files on site A and site B and execute below command.
      sudo ssh-copy-id -i coredns.key root@<corednsHost>
c. verify below command works for root user without any prompts(because the key was added with root user):
     ssh -i /home/ubuntu/coredns.key root@<corednsHost>

5. Make sure that sdnc.dnsswitch has the same key name as created above


  • No labels