change status string from 'active' to 'ping' in nodestat command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
254f59e6a8
commit
aa68229e33
@ -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
|
||||
|
||||
|
@ -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="";
|
||||
|
Loading…
Reference in New Issue
Block a user