defect 3396907 - added new reconfiglist keyword to send LL reconfig cmd to specified nodes, e.g. submit-only nodes such as login nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dc10e5945e
commit
b52c6611b0
@ -842,6 +842,9 @@ sub ll_jobs {
|
||||
if (defined($::FILEATTRS{newfeature}[0])){
|
||||
push (@ugdflines, "newfeature=$::FILEATTRS{newfeature}[0]\n");
|
||||
}
|
||||
if (defined($::FILEATTRS{reconfiglist}[0])){
|
||||
push (@ugdflines, "reconfiglist=$::FILEATTRS{reconfiglist}[0]\n");
|
||||
}
|
||||
push (@ugdflines, "\n");
|
||||
push (@ugdflines, &get_prescripts($nodelist));
|
||||
if (defined($::FILEATTRS{shutdowntimeout}[0])){
|
||||
@ -2834,6 +2837,11 @@ sub llreconfig {
|
||||
$runlocal=1;
|
||||
}
|
||||
}
|
||||
if ( defined($::FILEATTRS{reconfiglist}[0]) ) {
|
||||
push (@llnodes, split( /,/,$::FILEATTRS{reconfiglist}[0]) );
|
||||
} elsif ( defined($::DATAATTRS{reconfiglist}[0]) ) {
|
||||
push (@llnodes, split( /,/,$::DATAATTRS{reconfiglist}[0]) );
|
||||
}
|
||||
if ($runlocal) {
|
||||
if ($::VERBOSE) {
|
||||
open (RULOG, ">>$::LOGDIR/$::LOGFILE");
|
||||
|
@ -151,6 +151,17 @@ mutex_count=2
|
||||
maxupdates=all
|
||||
|
||||
|
||||
# reconfiglist: For LoadLeveler, the list of nodes (as known by xCAT)
|
||||
# that xCAT will xdsh an 'llctl reconfig' command to. xCAT will always send
|
||||
# the reconfig command to the local xCAT management node, and to all nodes
|
||||
# listed as the LL central managers and LL resource managers in the LL
|
||||
# database. This is a list of additional machines required to immediately see
|
||||
# any database changes xCAT may make. For example, all LL submit-only nodes
|
||||
# should be added to this list so that any machine FEATURE changes are
|
||||
# visible for job submission.
|
||||
#reconfiglist=login1,login2
|
||||
|
||||
|
||||
|
||||
# jobtemplate: Scheduler job template file. See this sample LoadLeveler file
|
||||
# for details on how the template will be processed:
|
||||
|
@ -111,6 +111,17 @@ newfeature=newvalue
|
||||
maxupdates=16
|
||||
|
||||
|
||||
# reconfiglist: For LoadLeveler, the list of nodes (as known by xCAT)
|
||||
# that xCAT will xdsh an 'llctl reconfig' command to. xCAT will always send
|
||||
# the reconfig command to the local xCAT management node, and to all nodes
|
||||
# listed as the LL central managers and LL resource managers in the LL
|
||||
# database. This is a list of additional machines required to immediately see
|
||||
# any database changes xCAT may make. For example, all LL submit-only nodes
|
||||
# should be added to this list so that any machine FEATURE changes are
|
||||
# visible for job submission.
|
||||
#reconfiglist=login1,login2
|
||||
|
||||
|
||||
|
||||
#jobtemplate: Scheduler job template file. See this sample LoadLeveler file
|
||||
# for details on how the template will be processed:
|
||||
|
@ -119,6 +119,16 @@ updategroup=ns11(c4lpar211-c4lpar214)
|
||||
maxupdates=all
|
||||
|
||||
|
||||
# reconfiglist: For LoadLeveler, the list of nodes (as known by xCAT)
|
||||
# that xCAT will xdsh an 'llctl reconfig' command to. xCAT will always send
|
||||
# the reconfig command to the local xCAT management node, and to all nodes
|
||||
# listed as the LL central managers and LL resource managers in the LL
|
||||
# database. This is a list of additional machines required to immediately see
|
||||
# any database changes xCAT may make. For example, all LL submit-only nodes
|
||||
# should be added to this list so that any machine FEATURE changes are
|
||||
# visible for job submission.
|
||||
#reconfiglist=login1,login2
|
||||
|
||||
|
||||
# jobtemplate: Scheduler job template file. See this sample LoadLeveler file
|
||||
# for details on how the template will be processed:
|
||||
|
Loading…
Reference in New Issue
Block a user