IP address failover with custom net mask and default gateway. Hooks ?
Hello,
On a public IaaS I'm having a situation where only one floating IP address is allowed on the external interface (eth0).
Since the interfaces are unconfigured by default, the default gateway is not set. All communications are done on internal network (eth1), including the mysql replication and mmm monitoring.
Is there any configuration option to assign default gateway and custom net mask with the IP address when a node assumes a role ? Or perhaps run a script (hook ?) on every change of a role ?
I tried using mmm, it works but it only sets the IP with mask of /32 and no default gateway. The IP address failover between node works well, still the solution is no usable because of the situation described above.
Please advice.
Thanks in advance,
Lior
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mysql-mmm Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lior Goikhburg for more information if necessary.