From 99663079d94dabd85beff2d01b3831c965358926 Mon Sep 17 00:00:00 2001 From: linggao Date: Mon, 29 Sep 2008 13:10:28 +0000 Subject: [PATCH] added 'appstatus' in nodelist table to hold the application status. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2256 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 9826ecaee..c91112bc1 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -257,13 +257,14 @@ nodehm => { }, }, nodelist => { - cols => [qw(node groups status comments disable)], + cols => [qw(node groups status appstatus comments disable)], keys => [qw(node)], table_desc => "The list of all the nodes in the cluster, including each node's current status and what groups it is in.", descriptions => { node => 'The hostname of a node in the cluster.', groups => "A comma-delimited list of groups this node is a member of. Group names are arbitrary, except all nodes should be part of the 'all' group.", status => 'The current status of this node. This attribute will be set by xCAT software. Valid values: defined, booting, netbooting, booted, discovering, installing, alive, powering-off, unreachable. The default value is defined. The possible status change sequenses are: defined->[discovering]->installing->booting->booted->alive, defined->netbooting->booted->alive, alive/unreachable->booting->booted->alive, alive->powering-off->unreachable, alive->unreachable', + appstatus => "A comma-delimited list monitored applications that are active on the node. For example 'sshd,rmcd,gmond", comments => 'Any user-written notes.', disable => "Set to 'yes' or '1' to comment out this row.", }, @@ -1017,10 +1018,14 @@ my @nodeattrs = ( tabentry => 'nodelist.groups', access_tabentry => 'nodelist.node=attr:node', }, - {attr_name => 'status', + {attr_name => 'status', tabentry => 'nodelist.status', access_tabentry => 'nodelist.node=attr:node', }, + {attr_name => 'appstatus', + tabentry => 'nodelist.appstatus', + access_tabentry => 'nodelist.node=attr:node', + }, #################### # hosts table # ####################