From 5b4e8e993380b3365c5ca1be3580efc0867aa0fa Mon Sep 17 00:00:00 2001 From: mellor Date: Mon, 22 Mar 2010 16:35:13 +0000 Subject: [PATCH] sample SLES pkglist, postinstall, and litefile files for IB git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/ib/netboot/sles/ib.pkglist | 18 ++++++++++++++++++ .../share/xcat/ib/netboot/sles/ib.postinstall | 16 ++++++++++++++++ .../share/xcat/ib/netboot/sles/statelite.csv | 3 +++ 3 files changed, 37 insertions(+) create mode 100644 xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist create mode 100755 xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall create mode 100644 xCAT-server/share/xcat/ib/netboot/sles/statelite.csv diff --git a/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist b/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist new file mode 100644 index 000000000..19db3bdba --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/ib.pkglist @@ -0,0 +1,18 @@ +# List of packages required for Infiniband support +libehca-rdmav2 +libehca-rdmav2-32bit +libgomp43-32bit +libibcm +libibcm-32bit +libibcommon1 +libibcommon1-32bit +libibmad1 +libibmad1-32bit +libibumad1 +libibumad1-32bit +libibverbs +libibverbs-32bit +libmthca-rdmav2 +libmthca-rdmav2-32bit +ofed + diff --git a/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall b/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall new file mode 100755 index 000000000..eb945efba --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/ib.postinstall @@ -0,0 +1,16 @@ +# Sample script for diskless image changes for IB support +# Invoke this script from your +# /install/custom/netboot///.postinstall script as: +# /opt/xcat/share/xcat/ib/sles/ib.postinstall $1 +# +installroot=$1 +cd $installroot/usr/lib +ln -s libibverbs.so.1.0.0 libibverbs.so +cd $installroot/usr/lib64 +ln -s libibverbs.so.1.0.0 libibverbs.so + +/usr/bin/sed -i 's/SDP_LOAD=yes/SDP_LOAD=no/g' $installroot/etc/infiniband/openi +b.conf +/usr/bin/sed -i 's/MLX4_EN_LOAD=yes/MLX4_EN_LOAD=no/g' $installroot/etc/infiniba +nd/openib.conf + diff --git a/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv b/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv new file mode 100644 index 000000000..d9417e4a8 --- /dev/null +++ b/xCAT-server/share/xcat/ib/netboot/sles/statelite.csv @@ -0,0 +1,3 @@ +#image,file,options,comments,disable +"ALL","/etc/modprobe.conf.local",,"for IB", +"ALL","/etc/infiniband/openib.conf",,"for IB",