Forum Discussion
danielpenna
Sep 04, 2015Cirrus
I just rolled out to 11.60. HF5 ENG Fix ( For FQDN Autopopulation bug ) and would suggest that as a starting point :).
To be honest, the code that does this sync is scp and the heart of it is the below sed command. This is the change for the IPs between AZ A and B. My VPC is setup specifically for the F5 so there is no servers to share my Virtual Server Address space.
2. Edit the SCF file on EM, changing IPs over to AZ B IPs
sed -i.old \
-e 's/lbedmzaza/\lbedmzazb/g' \
-e 's/10\.112\.0\./10\.112\.4\./g' \
-e 's/10\.112\.1\./10\.112\.5\./g' \
-e 's/10\.112\.2\./10\.112\.6\./g' \
-e 's/10\.112\.3\./10\.112\.7\./g' \
-e 's/10-112-3-/10-112-7-/g' \
"$LOCALPATH"
I have run into some problems with this script,
1. You need to set DNS servers manually instead of using DHCP as once you start using FQDN objects you get issues
2. Deletion on the virtual server and re-using that VS IP before the sync of the deletion hit a bug that caused the config to fail to load on AZ B. Easy fix was to delete the VS on AZ B and the sync worked. I think this was a specific bug versus a sync script issue.
Apart from that, the Sync has been pretty trouble free, still got to work out the ASM Sync as we are manually importing/exporting.
The tricky bit though is the actually failover between AZ's ; ).