Hi,
I have setup pbs server and configured pbs client, but when i am trying to execute qstat on client, i am getting below error messge.
[root@aclient ~]# qstat -a
No route to host
qstat: cannot connect to server amaster (errno=113)
Pbs Server Info:
[root@amaster ~]# pbsnodes -l -s aclient
No route to host
pbsnodes: cannot connect to server aclient, error=113
[root@amaster ~]# pbsnodes -a
aclient
Mom = aclient
Port = 15002
pbs_version = unavailable
ntype = PBS
state = state-unknown,down
pcpus = 1
resources_available.host = aclient
resources_available.ncpus = 1
resources_available.vnode = aclient
resources_assigned.accelerator_memory = 0kb
resources_assigned.hbmem = 0kb
resources_assigned.mem = 0kb
resources_assigned.naccelerators = 0
resources_assigned.ncpus = 0
resources_assigned.vmem = 0kb
comment = node down: communication closed
resv_enable = True
sharing = default_shared
last_state_change_time = Wed Dec 11 12:18:45 2019
[root@amaster ~]# netstat -tunap | grep pbs
tcp 0 0 0.0.0.0:15004 0.0.0.0:* LISTEN 31046/pbs_sched
tcp 0 0 0.0.0.0:17001 0.0.0.0:* LISTEN 31031/pbs_comm
tcp 0 0 0.0.0.0:15001 0.0.0.0:* LISTEN 31355/pbs_server.bi
tcp 0 0 192.168.1.222:17001 192.168.1.222:710 ESTABLISHED 31031/pbs_comm
tcp 0 0 192.168.1.222:17001 192.168.1.222:867 ESTABLISHED 31031/pbs_comm
tcp 0 0 192.168.1.222:43146 192.168.1.222:15007 ESTABLISHED 31355/pbs_server.bi
tcp 0 0 192.168.1.222:710 192.168.1.222:17001 ESTABLISHED 31046/pbs_sched
tcp 0 0 192.168.1.222:867 192.168.1.222:17001 ESTABLISHED 31355/pbs_server.bi
[root@amaster ~]# cat /etc/pbs.conf
PBS_EXEC=/opt/pbs
PBS_SERVER=amaster
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=0
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_SCP=/bin/scp
[root@amaster ~]# cat /var/spool/pbs/server_priv/nodes
aclient np=1
[root@amaster ~]# cat /var/spool/pbs/mom_priv/config
$clienthost amaster
Client node info:
[root@aclient ~]# qstat -a
No route to host
qstat: cannot connect to server amaster (errno=113)
[root@aclient ~]# pbsnodes -a
No route to host
pbsnodes: cannot connect to server amaster, error=113
[root@aclient ~]# netstat -tunap | grep pbs
tcp 0 0 0.0.0.0:15003 0.0.0.0:* LISTEN 5674/pbs_mom
tcp 0 0 0.0.0.0:15002 0.0.0.0:* LISTEN 5674/pbs_mom
[root@aclient ~]# cat /etc/pbs.conf
PBS_EXEC=/opt/pbs
PBS_SERVER=amaster
PBS_START_SERVER=0
PBS_START_SCHED=0
PBS_START_COMM=0
PBS_START_MOM=1
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_SCP=/bin/scp
[root@aclient ~]# cat /var/spool/pbs/mom_priv/config
$clienthost amaster
$logevent 0x1ff
$restrict_user_maxsysid 999
[root@aclient ~]#
Please guide me to resolve this issue.
Regards,
Zain