From 01ccf9e3f867a193d5684cd47ecd9c538b0d9e4d Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 21 Mar 2011 20:14:41 +0000 Subject: [PATCH] rollupdate - final fix for LL EXTSHM problem git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/rollupdate.pm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/rollupdate.pm b/xCAT-server/lib/xcat/plugins/rollupdate.pm index 904a5052f..d59496e84 100644 --- a/xCAT-server/lib/xcat/plugins/rollupdate.pm +++ b/xCAT-server/lib/xcat/plugins/rollupdate.pm @@ -136,6 +136,9 @@ sub process_request { $::SUBREQ = shift; my $ret; + # ENV variable required by all LL commands + $ENV{'EXTSHM'} = 'ON'; + # globals used by all subroutines. $::command = $::request->{command}->[0]; $::args = $::request->{arg}; @@ -2602,13 +2605,7 @@ sub llreconfig { if ( $llattr =~ /RESOURCE_MGR_LIST/ ) { $llrms = $llval; } } - ###### - ### WORKAROUND FOR LL BUG - ### The "EXTSHM=ON" is a workaround for a LL bug - ### This must be set when calling llrctl from xcatd - ###### - #$cmd = "llrctl reconfig"; - $cmd = "export EXTSHM=ON;llrctl reconfig"; + $cmd = "llrctl reconfig"; my @llms = split(/\s+/,$llcms." ".$llrms); my %have = (); my @llnodes;