...
Code Block |
---|
e.g. as follows- siteIP="10.147.112.139" ----- IP Addrsss of Site A app="sdnc" --- app name is sdnc corednsHost="10.147.114.7" ----- IP address of core-dns master |
4. Make sure that sdnc.dnsswitch is properly configured with the ssh key name
Code Block |
---|
#! /bin/bash
####################################################################################################
# sdncDnsSwitchWrapper.bash: Wrapper script to invoke SDNC DNS Switch for domain: sdnc.example.com #
####################################################################################################
source site.conf
ssh -i coredns.key root@$corednsHost "/home/ubuntu/dnsSwitch.bash $siteIP $app"
exit $?
|
5. Following are the steps to create core-dns ssh connection with sites
...