InnoDB Cluster Modify

Change Topology

mysqlsh

var cluster = dba.getCluster()

cluster.switchToMultiPrimaryMode()

cluster.switchToSinglePrimaryMode([instance])

Add Instance

cluster.addInstance('icadmin@node3:3306',{ipAllowlist:"10.0.0.0/24,10.0.1.0/24,10.0.2.0/24"})

Remove Instance

cluster.removeInstance('icadmin@node3:3306')

Bibliography