use Mellonax ofed to support for IB QDR

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jjhua 2012-02-27 08:23:49 +00:00
parent 2ebc79c323
commit 7b7b5bfd1b
2 changed files with 25 additions and 1 deletions

View File

@ -12,6 +12,18 @@ PLTFRM=`uname`
if [[ $OSVER == rhels5* || "$OSVER" == rhels6* ]]
then
ib_driver="rdma"
/sbin/service $ib_driver status
if [ $? -eq 1 ]
then
$ib_driver="openibd"
/sbin/service $ib_driver status
if [ $? -eq 1 ]
then
echo "Not found the driver dameon: rdma or openibd"
exit
fi
fi
else
ib_driver="openibd"
fi

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh
# IBM(c) 2008 EPL license http://www.eclipse.org/legal/epl-v10.html
# Sample xCAT post script for configuring secondary adatper based on eth0
@ -11,6 +11,18 @@ PLTFRM=`uname`
if [[ $OSVER == rhels5* || "$OSVER" == rhels6* ]]
then
ib_driver="rdma"
/sbin/service $ib_driver status
if [ $? -eq 1 ]
then
$ib_driver="openibd"
/sbin/service $ib_driver status
if [ $? -eq 1 ]
then
echo "Not found the driver dameon: rdma or openibd"
exit
fi
fi
else
ib_driver="openibd"
fi