BUG-子节点down状态

这个bug,还是因为防火墙的问题,需要添加一行,然后重启,再次关闭防火墙 。

配置成功了,后期还会配置一次,届时会将完整的流程写在公众号中。

 

 $ cat /etc/selinux/config

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
SELINUX=disabled # 加入这一行

 

service iptables stop # 关闭防火墙

==========================

down状态的节点变成了free

==========================

重启

===========================

$ pbsnodes -a
*********
state = free
power_state = Running
np = 12
ntype = cluster
status = opsys=linux,uname=Linux *************** 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64,nsessions=0,nusers=0,idletime=114,totmem=135691344kb,availmem=130985800kb,physmem=131497044kb,ncpus=56,loadave=0.10,gres=,netload=16996962,state=free,varattr= ,cpuclock=Fixed,macaddr=ac:1f:6b:3a:80:94,version=6.1.1.1,rectime=1614316363,jobs=
mom_service_port = 15002
mom_manager_port = 15003

**************
state = down
power_state = Running
np = 122
ntype = cluster
mom_service_port = 15002
mom_manager_port = 15003

 ===================================

$ service iptables stop
Stopping iptables (via systemctl): [ OK ]
[root@Yuan-SW-F 2021-02-26 13:14 ~]
$ pbsnodes -a
*****************
state = free
power_state = Running
np = 12
ntype = cluster
status = opsys=linux,uname=Linux ****************** 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64,nsessions=0,nusers=0,idletime=204,totmem=135691344kb,availmem=130979260kb,physmem=131497044kb,ncpus=56,loadave=0.02,gres=,netload=17235478,state=free,varattr= ,cpuclock=Fixed,macaddr=ac:1f:6b:3a:80:94,version=6.1.1.1,rectime=1614316453,jobs=
mom_service_port = 15002
mom_manager_port = 15003

*******************
state = free
power_state = Running
np = 122
ntype = cluster
status = opsys=linux,uname=Linux ****************** 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64,nsessions=0,nusers=0,idletime=161,totmem=538279468kb,availmem=521657492kb,physmem=527793712kb,ncpus=160,loadave=0.04,gres=,netload=186417,state=free,varattr= ,cpuclock=Fixed,macaddr=3c:ec:ef:38:20:ec,version=6.1.1.1,rectime=1614316444,jobs=
mom_service_port = 15002
mom_manager_port = 15003

 ===========================================

 

 

 

 好了,成功了。

 

posted on 2021-02-26 13:04  Yuan-SW-F(abysw)  阅读(212)  评论(0编辑  收藏  举报

导航