Currently, there is a known limitation in how MySQL proxy settings are managed in Elastic Runtime (ERT) and the MySQL for PCF tile. The ERT -> Internal MySQL -> 'Static IPs' settings are quietly ignored if they are applied later than the first deployment; although removal of these settings does seem to be fully supported.
We update the proxy_ip field after p-mysql is deployed, that the manifest generated by ops manager does not include the new proxy IP's.
Steps to reproduce:
1. Deployed a foundation with proxy IP's configured in ERT -> Internal MySQL -> 'Static IPs'.
2. Remove the proxy IP's and redeploy the foundation (The mysql_proxy nodes were given different IP's by Bosh).
3. Add back the previous settings and clicked "apply changes" button (the MySQL Static IP's did not include the new proxy IP's).
It can be difficult to change IP's post-deployment when BOSH has already assigned one.
The workaround is to run the following steps. Please take care when making these changes as they will impact Pivotal Cloud Foundry installation.
mysql_proxy-81098a467d1fba0d3bc7: 11d2a25ee41a8f03144b: - 10.193.67.42 mysql_proxy-81098a467d1fba0d3bc7: 11d2a25ee41a8f03144b: []