As discussed with @Volans and @cmooney during the offiste - in order to be able to proceed with the VLAN IP changes for databases we'd need help from the IF team.
Right now changing an IP in a DB means we need to edit that IP on dbctl - eg:
root@cumin1002:~# dbctl instance db2196 get { "db2196": { "host_ip": "10.192.23.6", "note": "", "port": 3306, "sections": { "x1": { "candidate_master": true, "percentage": 100, "pooled": true, "weight": 100 } } }, "tags": "datacenter=codfw" }
Right now the only way to do so is via edit which means it is not really easy to automate that.
The process I'd envision for this VLAN changes would be
- Depool the DB (via normal dbctl instance depool)
- Issue a reimage (as I understood it was the desired method)
- Run the new cookbook to change dbctl IP address on dbctl
- The host comes back
- Repool the DB with normal dbctl instance repool with already the new IP