首页 > 数据库 > 国内数据库 > 集群各节点只能看到自己,其他节点均为CLOSE。
多节点集群,在其中任何一个节点上执行gcadmin,能够正常返回,但是集群状态为LOCKED,且只能看到本节点服务正常,其他节点服务均为CLOSE,如下图所示。

出现该问题时需要检查服务器的防火墙是否关闭,命令如下,如果防火墙为开启状态,需要关闭防火墙。
//显示如下信息表示防火墙是开启状态
# service iptables status
# service ip6tables status

//显示如下信息表示防火墙关闭
#service iptables status
#service ip6tables status
//显示如下信息表示防火墙是开启状态
#systemctl status firewalld

//显示如下信息表示防火墙关闭
#systemctl status firewalld
//显示如下信息表示防火墙是开启状态
#/sbin/SuSEfirewall2 status
//显示如下信息表示防火墙是关闭状态
#/sbin/SuSEfireall2 status

如果防火墙开启,通过如下命令关闭防火墙:
#service iptables stop

# chkconfig iptables off
# service ip6tables stop

# chkconfig ip6tables off
最后查看防火墙是否开机自启动的命令如下:
# chkconfig --list iptables
# chkconfig --list ip6tables
临时关闭防火墙命令
# systemctl stop firewalld
永久关闭防火墙命令
# systemctl disable firewalld
//如果防火墙开启,通过如下命令关闭防火墙
#/sbin/ SuSEfireall2 stop

//最后查看防火墙是否开机自启动的命令如下:
# chkconfig –list|grep fire

//禁用防火墙开机自启动的命令如下:
#chkconfig SuSEfirewall2_init off
# chkconfig SuSEfirewall2_setup off
# chkconfig –list|grep fire

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/69979757/viewspace-2706673/ ,如需转载,请注明出处,否则将追究法律责任。