From fbd56c732b8761e68613684d091fdf407a309f32 Mon Sep 17 00:00:00 2001 From: mellor Date: Tue, 16 Oct 2012 22:01:45 +0000 Subject: [PATCH] defect 3127 AIX PE 1.2 HPC Integration git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/IBMhpc/pe/pe_install-1200 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 index e6d747f26..53574a91a 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/pe/pe_install-1200 @@ -12,6 +12,25 @@ OS=`uname` +# On AIX, need to correctly configure LAPI kernel extensions on a +# diskless node boot +# (added for PE 1.2 and newer releases) +if [ "$OS" == "AIX" ]; then + if [ "$NODESETSTATE" = "netboot" -o \ + "$NODESETSTATE" = "statelite" -o \ + "$NODESETSTATE" = "diskless" -o \ + "$NODESETSTATE" = "dataless" ]; then + # Unconfigure any existing LAPI kernel extension + if [ -x /etc/methods/ucfgzcmem ] ; then + /etc/methods/ucfgzcmem + fi + # Configure the LAPI kernel extension at the latest level + if [ -x /etc/methods/cfgzcmem ] ; then + /etc/methods/cfgzcmem + fi + fi +fi + # Configure the PNSD.cfg to use a smaller log so it doesn't use so much memory # for a stateless image. Normally, pnsd creates this file if it does not # exist, but it will not fill it in if it does exist.