fix defect 3140519, start of DB2 xcatdb instance after reboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8596 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
9062415f6f
commit
9b26e72eaa
@ -1112,6 +1112,16 @@ sub db2reboot
|
||||
xCAT::MsgUtils->message("W", " $cmd failed.");
|
||||
|
||||
}
|
||||
# root needs to run the command also
|
||||
$cmd = $::installdb2dir;
|
||||
$cmd .= "\/bin\/db2iauto -on xcatdb ";
|
||||
xCAT::Utils->runcmd($cmd, 0);
|
||||
if ($::RUNCMD_RC != 0)
|
||||
{ # if error exit
|
||||
xCAT::MsgUtils->message("W", " $cmd failed.");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user