Create the 3-node MDM cluster
Create the 3-node MDM cluster.
Steps
Create the MDM single-node cluster on MDM 1, by running the following command on MDM 1:
scli --create_mdm_cluster --master_mdm_ip <IP of MDM 1> --master_mdm_management_ip <Management IP of MDM 1> --master_mdm_name <Name to give MDM 1> [--cluster_virtual_ip <IP> ] [--master_mdm_virtual_ip_interface <INTF> ] --accept_license
Example:
scli --create_mdm_cluster --master_mdm_ip 192.168.1.152 --master_mdm_management_ip 10.103.110.152 --master_mdm_name mdm152 --cluster_virtual_ip 192.168.111.152 --master_mdm_virtual_ip_interface eth4 --accept_license
Follow these rules:
Each MDM name must be unique. Ensure that each server on which MDM is installed has a unique hostname.
Each virtual IP address must be related to a single interface.
When listing multiple virtual IP/interface combinations, the list of interfaces must be in the same order as the list of virtual IP addresses.
If prompted, press Y to continue.
Log in and change the MDM password, by running the following commands on MDM 1:
scli --login --username admin --password admin
scli --set_password --old_password admin --new_password Scaleio123
The login password is changed from admin to Scaleio123.
Log in with the new credentials:
scli --login --username admin --password Scaleio123
Add MDM 2 to the MDM cluster as a Standby MDM, by running the following command on MDM 1:
scli --add_standby_mdm --new_mdm_ip <IP of MDM 2> --mdm_role manager --new_mdm_management_ip <Management IP of MDM 2> --new_mdm_virtual_ip_interface <INTF> --new_mdm_name <Name to give MDM 2> Example:
scli --add_standby_mdm --new_mdm_ip 192.168.1.153 --mdm_role manager --new_mdm_management_ip 10.103.110.153 --new_mdm_virtual_ip_interface eth4 --new_mdm_name mdm153
Add TB 1 to the MDM cluster as a
tiebreaker , by running the following command on MDM 1:
scli --add_standby_mdm --new_mdm_ip <IP of TB 1> --mdm_role tb --new_mdm_name <Name to give TB 1> Example:
scli --add_standby_mdm --new_mdm_ip 192.168.1.154 --mdm_role tb --new_mdm_name tb154
(Optional) Query the cluster to verify that it’s running in single mode, by running the following command on MDM 1:
scli --query_cluster
Output, similar to the following, is displayed:
Cluster: Mode: 1_node
Switch to 3-node cluster mode, by running the following command on MDM 1:
scli --switch_cluster_mode --cluster_mode 3_node --add_slave_mdm_name <MDM 2 name> --add_tb_name <TB 1 name>
Example:
scli --switch_cluster_mode --cluster_mode 3_node --add_slave_mdm_name mdm153 --add_tb_name tb154
(Optional) Query the cluster to verify that it is running in cluster mode, by running the following command on MDM 1:
scli --query_cluster
Output, similar to the following, is displayed:
# scli --query_cluster
Cluster:
Mode: 3_node, State: Normal, Active: 3/3, Replicas: 2/2
Virtual IPs: 192.168.111.152
Master MDM:
Name: MDM152, ID: 0x7d76db0d2ad840b0
IPs: 192.168.1.152, Management IPs: 10.103.110.152, Port: 9011, Virtual IP interfaces: eth4
Version: 2.0.13000
Slave MDMs:
Name: MDM153, ID: 0x41788ea96626fe21
IPs: 192.168.1.153, Management IPs: 10.103.110.153, Port: 9011, Virtual IP interfaces: eth4
Status: Normal, Version: 2.0.13000
Tiebreakers:
Name: MDM154, ID: 0x3d8263b64fcf2642
IPs: 192.168.1.154, Port: 9011
Status: Normal, Version: 2.0.13000
Data is not available for the Topic
All fields are required unless marked otherwise.
Comments cannot contain these special characters: <>()\
Sorry, our feedback system is currently down. Please try again later.
Thank you for your feedback.