MySQL 10.133.62.118:3306 ssl JS > dba.getCluster().status()
{
"clusterName": "test02",
"defaultReplicaSet": {
"name": "default",
"primary": "10.133.62.118:3306",
"ssl": "REQUIRED",
"status": "OK",
"statusText": "Cluster is ONLINE and can tolerate up to ONE failure.",
"topology": {
"10.133.62.109:3306": {
"address": "10.133.62.109:3306",
"memberRole": "SECONDARY",
"mode": "R/O",
"readReplicas": {},
"replicationLag": "00:00:35.488061",
"role": "HA",
"status": "ONLINE",
"version": "8.0.25"
},
"10.133.62.110:3306": {
"address": "10.133.62.110:3306",
"memberRole": "SECONDARY",
"mode": "R/O",
"readReplicas": {},
"replicationLag": "00:00:52.794993",
"role": "HA",
"status": "ONLINE",
"version": "8.0.25"
},
"10.133.62.118:3306": {
"address": "10.133.62.118:3306",
"memberRole": "PRIMARY",
"mode": "R/W",
"readReplicas": {},
"replicationLag": null,
"role": "HA",
"status": "ONLINE",
"version": "8.0.25"
}
},
"topologyMode": "Single-Primary"
},
"groupInformationSourceMember": "10.133.62.118:3306"
}
用mysql-shell-8.0.28-1.el7.x86_64.rpm正常 |