在innodb集群中获取ipallowlist



我是innodb集群的新手,在设置innodb集群时,有一个步骤来设置ipAllowlist

c.addInstance("cluster_admin@service_name_of_new_node:3306",{ipAllowlist: "node1_service_name,new_node_service_name,...all_existing_service_names_in_this_cluster", recoveryMethod:"clone"});

如何检索当前ipAllowlist?

可以使用

cluster = dba.getCluster()
cluster.options()

最新更新