Let's add a comment for the following hosts
The following hosts are candidate masters:
[x] db1083.yaml:# candidate master for s1
[x] db2103.yaml:# candidate master for s1
[x] db1076.yaml:# candidate master for s2
[x] db2104.yaml:# candidate master for s2
[x] db1075.yaml:# candidate master for s3
[x] db2127.yaml:# candidate master for s3
[x] db1081.yaml:# candidate master for s4
[x] db2110.yaml:# candidate master for s4
[x] db1100.yaml:# candidate master for s5
[x] db2113.yaml:# candidate master for s5
[x] db1093.yaml:# candidate master for s6
[x] db2114.yaml:# candidate master for s6
[x] db1086.yaml:# candidate master for s7
[x] db2121.yaml:# candidate master for s7
[x] db1104.yaml:# candidate master for s8
[x] db2080.yaml:# candidate master for s8
Example:
```
dbctl instance db1083 set-candidate-master --section s1 true
root@cumin1001:/home/marostegui# dbctl instance db1083 get
{
"db1083": {
"host_ip": "10.64.16.101",
"note": "",
"port": 3306,
"sections": {
"s1": {
"candidate_master": true,
"percentage": 100,
"pooled": true,
"weight": 500
}
}
},
"tags": "datacenter=eqiad"
}
```
The following hosts are sanitarium
[x] s1: db1106
[] s1: db2072
[x] s2: db1074
[] s2: db2126
[x] s3: db1112
[] s3: db2074
[x] s4: db1121
[] s4: db2073
[x] s5: db1082
[] s5: db2128
[x] s6: db1085
[] s6: db2076
[x] s7: db1079
[] s7: db2077
[x] s8: db1087
[] s8: db2082
```
root@cumin1001:/home/marostegui# dbctl instance db1106 set-note "s1: sanitarium master for db1124"
root@cumin1001:/home/marostegui# dbctl instance db1106 get
{
"db1106": {
"host_ip": "10.64.48.13",
"note": "s1: sanitarium master for db1124",
"port": 3306,
"sections": {
"s1": {
"groups": {
"dump": {
"pooled": true,
"weight": 1
},
"vslow": {
"pooled": true,
"weight": 1
}
},
"percentage": 100,
"pooled": true,
"weight": 50
}
}
},
"tags": "datacenter=eqiad"
}
```