From ac43dd8cdd70cb3483de663e863084343fcf3662 Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 15 Oct 2009 18:44:06 +0000 Subject: [PATCH] man page change for nodeset command to include prescript git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 6 +++--- xCAT-client/pods/man8/nodeset.8.pod | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 583d1af5b..674be968b 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -698,11 +698,11 @@ eventlog => { prescripts => { cols => [qw(node begin end comments disable)], keys => [qw(node)], - table_desc => 'The scripts that should be run at the beginning and the end of the nodeset or nimnodeset/mkdsklsnode (AIX) command.', + table_desc => 'The scripts that should be run at the beginning and the end of the nodeset command.', descriptions => { node => 'The node name or group name.', begin => -"The scripts to be run at the beginning of the nodeset (Linux) or nimnodeset/mkdsklsnode (AIX) command.\n". +"The scripts to be run at the beginning of the nodeset (Linux) command.\n". "\t\tThe format is:\n". "\t\t[action1:]s1,s2...[|action2:s3,s4,s5...]\n". "\t\twhere action1 and action2 are the nodeset/nimnodeset actions specified in the command.\n". @@ -712,7 +712,7 @@ prescripts => { "\t\tmyscript1,myscript2\n". "\t\tinstall:myscript1,myscript2|netboot:myscript3", end => -"The scripts to be run at the end of the nodeset (Linux) or nimnodeset/mkdsklsnode (AIX) command.\n" . +"The scripts to be run at the end of the nodeset (Linux) command.\n" . "\t\tThe format is the same as the 'begin' column.", comments => 'Any user-written notes.', disable => "Set to 'yes' or '1' to comment out this row.", diff --git a/xCAT-client/pods/man8/nodeset.8.pod b/xCAT-client/pods/man8/nodeset.8.pod index e56b87199..7fdf81bcf 100644 --- a/xCAT-client/pods/man8/nodeset.8.pod +++ b/xCAT-client/pods/man8/nodeset.8.pod @@ -30,6 +30,8 @@ B only sets the next boot state, but does not reboot. B is called by rinstall and winstall and is also called by the installation process remotely to set the boot state back to "boot". +User can supply their own scripts to be run on the mn or on the service node (if their is hierarchy) for a node during the nodeset command. Such scripts are called B. A table called I is used to specify the scripts and their associated actions. The scripts to be run at the beginning of the nodeset command are stored in the 'begin' column of I table. The scripts to be run at the end of the noodeset command are stored in the 'end' column of I table. Please run 'tabdump prescripts -d' command for details. + =head1 B =over 7