diff --git a/xCAT-client/pods/man1/nodestat.1.pod b/xCAT-client/pods/man1/nodestat.1.pod index d298215c9..ee8e93000 100644 --- a/xCAT-client/pods/man1/nodestat.1.pod +++ b/xCAT-client/pods/man1/nodestat.1.pod @@ -72,24 +72,24 @@ Print help. 1. nodestat compute - node1 alive,sshd - node2 alive,sshd - node3 alive - node4 alive,pbs + node1 ping,sshd + node2 ping,sshd + node3 ping + node4 ping,pbs node5 noping 2. nodeset compute -u - node1 alive,sshd - node2 alive,sshd - node3 alive + node1 ping,sshd + node2 ping,sshd + node3 ping node4 netboot node5 noping 3. nodeset compute -m - node1 alive,sshd,ll,gpfs=ok - node2 alive,sshd,ll,gpfs=not ok,someapp=something is wrong + node1 ping,sshd,ll,gpfs=ok + node2 ping,sshd,ll,gpfs=not ok,someapp=something is wrong node3 netboot node4 noping diff --git a/xCAT-server/lib/xcat/plugins/nodestat.pm b/xCAT-server/lib/xcat/plugins/nodestat.pm index a80779081..f9a3b5b12 100644 --- a/xCAT-server/lib/xcat/plugins/nodestat.pm +++ b/xCAT-server/lib/xcat/plugins/nodestat.pm @@ -414,7 +414,7 @@ sub interrogate_node { #Meant to run against confirmed up nodes my $status = ""; my $appsd=""; #detailed status my $ret={}; - $ret->{'status'}=$::STATUS_ACTIVE; + $ret->{'status'}="ping"; foreach my $port (keys(%portservices)) { if (nodesockopen($node,$port)) { @@ -532,7 +532,7 @@ sub process_request_nmap { push @nodesetnodes,$currnode; #Aggregate call to nodeset next; } - $ret->{$currnode}->{'status'}=$::STATUS_ACTIVE; + $ret->{$currnode}->{'status'}="ping"; $ret->{$currnode}->{'appstatus'}=$status; $ret->{$currnode}->{'appsd'}=$appsd; $currnode="";