FSP/BPA redundancy: add support for the rpower operation on CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c5b80d26f5
commit
4e7fe2eb0f
@ -29,10 +29,12 @@ use constant {
|
||||
##############################################
|
||||
my %lssyscfg = (
|
||||
fsp =>"lssyscfg -r sys -m %s -F %s",
|
||||
cec =>"lssyscfg -r sys -m %s -F %s",
|
||||
fsps =>"lssyscfg -r sys -F %s",
|
||||
node =>"lssyscfg -r lpar -m %s -F %s --filter lpar_ids=%s",
|
||||
lpar =>"lssyscfg -r lpar -m %s -F %s",
|
||||
bpa =>"lssyscfg -r frame -e %s -F %s",
|
||||
frame =>"lssyscfg -r frame -e %s -F %s",
|
||||
bpas =>"lssyscfg -r frame -F %s",
|
||||
prof =>"lssyscfg -r prof -m %s --filter %s",
|
||||
profs =>"lssyscfg -r prof -m %s -F %s --filter %s",
|
||||
@ -1141,7 +1143,8 @@ sub power_cmd {
|
||||
|
||||
my $op = shift;
|
||||
my $d = shift;
|
||||
my $type = (@$d[4] eq "fsp") ? "sys" : @$d[4];
|
||||
#my $type = (@$d[4] eq "fsp") ? "sys" : @$d[4];
|
||||
my $type = ( @$d[4] =~ /^(fsp|cec)$/ ) ? "sys" : @$d[4];
|
||||
|
||||
##############################
|
||||
# Build command
|
||||
|
Loading…
x
Reference in New Issue
Block a user