The procedure below describes how to add additional IPs to MDM cluster in ScaleIO 2.0
Steps:
1. Run "scli --query_cluster" to get the current cluster state/health.
2. Switch to single cluster mode:
scli --switch_cluster_mode --cluster_mode 1_node --remove_slave_mdm_id <mdm_slave_id> --remove_tb_id <tb_id>
3. Remove the standbys MDM/TB:
scli --remove_standby_mdm --remove_mdm_id <mdm_slave_id>
4. Remove Tie-Breaker
scli --remove_standby_mdm --remove_mdm_id <tb_id>
5. Add the MDM as standby with the IPs (including the additional IPs):
scli --add_standby_mdm --new_mdm_ip ip_1<,ip_2,...> --mdm_role manager --new_mdm_management_ip ip_1<,ip_2,...> --allow_asymmetric_ips --force_clean
E.g.: scli --add_standby_mdm --new_mdm_ip 10.xx.x.x,10.xx.xx.x --mdm_role manager --new_mdm_management_ip 10.xx.x.x,10.xx.xx.x --allow_asymmetric_ips --force_clean
6. Add the TB as standby with the IPs (including the additional IPs):
scli --add_standby_mdm --new_mdm_ip ip_1<,ip_2,...> --mdm_role tb --new_mdm_management_ip ip_1<,ip_2,...> --allow_asymmetric_ips --force_clean
E.g.: scli --add_standby_mdm --new_mdm_ip 10.xx.x.x,10.xx.xx.x --mdm_role tb --new_mdm_management_ip 10.xx.x.x,10.xx.xx.x --allow_asymmetric_ips --force_clean
7. Switch back to 3_node cluster:
scli --switch_cluster_mode --cluster_mode 3_node --add_slave_mdm_id 0x4520631c7262bxxx --add_tb_id 0x3cde0ef516f61xxx
8. Run "scli --query_cluster" to get the current cluster state/health.
9. Switch MDM ownership to verify cluster functionality:
scli --switch_mdm_ownership --new_master_mdm_id 0x4520631c7262bxxx
10. Run "scli --query_cluster" to get the current cluster state/health.
11. Add IP's for Master MDM(presently Slave MDM)
Follow step 2, 3, 5, 7 & 8
12. Optional: Switch MDM ownership back to original MDM:
scli --switch_mdm_ownership --new_master_mdm_id MDM_ID
Please Note: the procedure example used is for 3_node cluster, however, the procedure for 5_node cluster is similar.