This post is more than 5 years old
10 Posts
0
3404
MDM to cluster, MDM role is not a Slave but a Tie-Breaker,
Hello,
litte mistake, after uninstall mdm from cluster, i need to readd the mdm to cluster.
I wanted to upgrade from ubuntu 14.04 to 16.04, but then I fixed the scaleio in the trialversion is not yet available.
What have i do:
- uninstalled emc software from node 1
- switched to one node cluster
root@esther02:~# scli --query_cluster
Cluster:
Mode: 1_node, State: Normal, Active: 1/1, Replicas: 1/1
Master MDM:
Name: Manager2, ID: 0x210c0653683e7121
IPs: 192.168.12.11, Management IPs: 192.168.12.11, Port: 9011
Version: 2.0.7120
- installed mdm
MDM_IP=192.168.12.10,192.168.12.15 dpkg -i EMC-ScaleIO-mdm-2.0-7120.0.Ubuntu.14.04.x86_64.deb
root@esther02:~# scli --add_standby_mdm --new_mdm_ip 192.168.12.10 --mdm_role manager --new_mdm_management_ip 192.168.12.10 --approve_certificate --force_clean
You are about to clear previous configuration on this MDM. Press 'y' and then Enter to confirm.y
Error: MDM failed command. Status: MDM role is not a Slave but a Tie-Breaker
He says the mdm is a tie-breaker. Here I know no further, Tie-Breaker was in the cluster the 192.168.12.13.
I will reconnect the mdm to 3 node cluster.
King regards
Stefan
RHasleton1
73 Posts
1
December 5th, 2016 06:00
Hi Stefan,
When installing the MDM, you need to use the precursors as follows:
MDM_ROLE_IS_MANAGER=1 dpkg -i
MDM_ROLE_IS_MANAGER=0 dpkg -i
When set as 1, it will be an MDM. When set as 0, it will be a tie breaker.
The quickest way to fix is to go edit the /opt/emc/scaleio/mdm/cfg/conf.txt. You should have a line in the file that looks like this currently:
actor_role_is_manager=0
Edit the line and make the 0 into a 1, save the file, and then stop and restart the mdm process:
/opt/emc/scaleio/mdm/bin/delete_service.sh
/opt/emc/scaleio/mdm/bin/create_service.sh
Then you can add this node in as an MDM instead of a tie breaker.
Good luck!
samrein
10 Posts
0
December 5th, 2016 07:00
Perfekt, thanks a lot Rick.