-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi @Tusamarco
I would like to request the addition of a flag or even a new --active_failover mode that allows the script to follow the rules from 8000 host group but ignore the gmcast.segment. Here is an example
Node1 - DC1 - gmcast.segment=1
Node2 - DC1 - gmcast.segment=1
Node3 - DC1 - gmcast.segment=1
Node4 - DC2 - gmcast.segment=2
Node5 - DC2 - gmcast.segment=2
I have my servers configured as below:
+--------------+---------------+------+--------+--------+
| hostgroup_id | hostname | port | status | weight |
+--------------+---------------+------+--------+--------+
| 8050 | 192.168.91.41 | 3306 | ONLINE | 10000 |
| 8050 | 192.168.91.42 | 3306 | ONLINE | 1000 |
| 8050 | 192.168.91.43 | 3306 | ONLINE | 100 |
| 8050 | 192.168.91.44 | 3306 | ONLINE | 10 |
| 8050 | 192.168.91.45 | 3306 | ONLINE | 1 |
| 51 | 192.168.91.41 | 3306 | ONLINE | 100 |
| 51 | 192.168.91.42 | 3306 | ONLINE | 10000 |
| 51 | 192.168.91.43 | 3306 | ONLINE | 10000 |
| 51 | 192.168.91.44 | 3306 | ONLINE | 1 |
| 51 | 192.168.91.45 | 3306 | ONLINE | 1 |
| 50 | 192.168.91.41 | 3306 | ONLINE | 10000 |
+--------------+---------------+------+--------+--------+
In case I lose all nodes on DC1 but apps continue up, I would like to write on node4. If that node also goes down, writes should be redirected to node5.
Metadata
Metadata
Assignees
Labels
No labels