2009年10月23日 星期五

upgrade GPFS on CentOS 5.4

剛好最近 CentOS 5.4 release 了,更新一下,順便 update gpfs (3.2.1-14 -> 3.3.0-1)
更新上沒有太大問題。

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)

$ tar xvf gpfs-3.3.0-1.x86_64.update.tar.gz
README
gpfs.base-3.3.0-1.x86_64.update.rpm
gpfs.docs-3.3.0-1.noarch.rpm
gpfs.gpl-3.3.0-1.noarch.rpm
gpfs.gui-3.3.0-1.x86_64.rpm
gpfs.msg.en_US-3.3.0-1.noarch.rpm

$ rpm -U gpfs.base-3.3.0-1.x86_64.update.rpm
$ rpm -U gpfs.docs-3.3.0-1.noarch.rpm
$ rpm -U gpfs.msg.en_US-3.3.0-1.noarch.rpm
$ rpm -U gpfs.gui-3.3.0-1.x86_64.rpm
You may start the GPFS GUI now by typing : /etc/init.d/gpfsgui start
Alternatively, the GPFS GUI will start on reboot.
$ rpm -ivh --force gpfs.gpl-3.3.0-1.noarch.rpm
Preparing... ########################################### [100%]
1:gpfs.gpl ########################################### [100%]

$ cd /usr/lpp/mmfs/src
$ export SHARKCLONEROOT=/usr/lpp/mmfs/src

$ make Autoconfig
cd /usr/lpp/mmfs/src/config; ./configure --genenvonly; /usr/bin/cpp -P def.mk.proto > ./def.mk; exit $? || exit 1

$ cat config/env.mcr
#define GPFS_ARCH_X86_64
#define GPFS_LINUX
LINUX_DISTRIBUTION := REDHAT_AS_LINUX
#define LINUX_DISTRIBUTION_LEVEL 54
#define LINUX_KERNEL_VERSION 2061899
KERNEL_BUILD_DIR := /lib/modules/2.6.18-164.el5/build

$ make clean
$ make World
$ make InstallImages

good ref link: http://www.ibm.com/developerworks/wikis/display/hpccentral/General+Parallel+File+System+(GPFS)

另外補一下 gpfs tuning link: http://www.ibm.com/developerworks/wikis/display/hpccentral/GPFS+Tuning+Parameters

沒有留言:

張貼留言