xcatd - export EXTSHM and DB2INSTANCE for db2 use, LL calls, CNM calls

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2011-03-22 15:06:13 +00:00
parent b16fd9d944
commit 1ea136fffb
2 changed files with 3 additions and 3 deletions

View File

@ -136,9 +136,6 @@ 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};

View File

@ -6,6 +6,9 @@ use Carp qw(cluck confess);
BEGIN
{
$::XCATROOT = $ENV{'XCATROOT'} ? $ENV{'XCATROOT'} : '/opt/xcat';
# Required when using DB2 as the xCAT database:
$ENV{'DB2INSTANCE'} = 'xcatdb';
$ENV{'EXTSHM'} = 'ON';
}
# if AIX - make sure we include perl 5.8.2 in INC path.