new kits for PE RTE 1.3.0.2 and GPFS 3.5.0.9

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2013-03-25 17:57:37 +00:00
parent cdf3b7aeb2
commit f20e77dd93
17 changed files with 930 additions and 0 deletions

View File

@ -0,0 +1,330 @@
# Kit Build File
#
# This file was initially auto-generated by the buildkit CLI command.
# To create a new kit, the user should modify this file accordingly.
# Refer to the buildkit manpage for further details.
#
# kit: This section defines general info for the Kit.
# There must be exactly one kit section in a kit build file.
#
# kit attributes:
# basename (mandatory) Kit base name. e.g., kit-lsf
# description (optional) Kit description.
# version (mandatory) Kit version. e.g., 1.0
# ostype (mandatory) Kit OS type. Must be Linux.
# AIX is currently not supported.
# isinternal (optional) PCM use only.
# Indicate if Kit is for internal use.
# Use 1 for yes, 0 for no. Default: 0
# kitdeployparams (optional) Filename containing a list of kit deployment
# parameters, relative to
# <Kit Build Directory>/other_files
kit:
basename=gpfs
description=General Parallel File System
version=3.5.0-9
ostype=Linux
kitlicense=ILAN
#kitdeployparams=
# kitrepo: This section defines a Kit Package Repository.
# There must be at least one kitrepo section in a kit build file.
# If you want to support multiple OSes, you should create a separate
# repo for each OS. Also, no two repos can be defined with the same
# OS name, major/minor version and arch. For example, you cannot have
# two repos for RHEL 6.2 x86_64 in the same kit.
#
# kitrepo attributes:
# kitrepoid (mandatory) Kit package repository ID.
# Must be unique within this file.
# osbasename (mandatory) OS distro base name. e.g., rhels.
# osmajorversion (mandatory) OS major version. e.g., 6
# osminorversion (optional) OS minor version.
# osarch (mandatory) OS architecture. e.g., x86_64
# compat_osbasenames (optional) Comma-separated list of compatible
# OS distro base names. e.g., centos
kitrepo:
kitrepoid=rhels6_x86_64
osbasename=rhels
osmajorversion=6
osarch=x86_64
#compat_osbasenames=
kitrepo:
kitrepoid=sles11_x86_64
osbasename=sles
osmajorversion=11
osarch=x86_64
# kitcomponent: This section defines one Kit Component.
# There can be zero or more kitcomponent sections.
# If you want to build a component which supports multiple OSes,
# you should create one kitcomponent section for each OS.
# Also, no two components in a kit can be defined with the same
# base name.
# You can define multiple kit components with the same base name
# only if each kit component using this base name meets these
# requirements:
# - Each kit component must be defined with the same version
# and release number
# - Each kit component must be defined with a unique kitrepoid
#
# kitcomponent attributes:
# basename (mandatory) Kit component base name
# description (optional) Kit component description
# version (mandatory) Kit component version
# release (mandatory) Kit component release
# serverroles (mandatory) Comma-separated list of servers that this
# component can install on. Valid values:
# mgtnode,servicenode,compute,login,storage,utility
# kitrepoid (mandatory) The ID of the kit package repository this
# component belongs to
# kitcompdeps (optional) Comma-separated list of kit component
# dependencies. These kit components can be included in
# this kit or in other kits.
# ospkgdeps (optional) Comma-separated list of OS package dependencies
# These packages must be shipped with the OS distro.
# kitpkgdeps (optional) Comma-separated list of kit package names that
# will be listed as "REQUIRES" when building this kit
# component. Each package must be defined in a separate
# kitpackage section. Each package must be in the same
# kitrepo as this kit component.
# non_native_pkgs (optional) TBD -- NOT SUPPORTED YET!
# Comma-separated list of non_native package
# paths that will be included as files in this kit
# component. All filenames are relative to
# <Kit Build Directory>/source_packages
# Kit component deployment scripts must be specified
# to manage these files.
# driverpacks (optional) Comma-separated list of driver package filenames
# Each driverpack must be defined in a separate kitpackage
# section.
# exlist (optional) Exclude list file for stateless image, relative
# to <Kit Build Directory>/other_files
# Kit component deployment scripts (optional) Each attribute specifies
# script path relative to <Kit Build Directory>/scripts
# Script attributes:
# preinstall, postinstall, preuninstall, postuninstall,
# preupgrade, postupgrade, postbootscripts
kitcomponent:
basename=gpfs_compute
description=GPFS for compute nodes
version=3.5.0
release=9
serverroles=compute,servicenode
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=rhels_gpfs_compute_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=min_gpfs_compute
description=Minimal GPFS for compute nodes
version=3.5.0
release=9
serverroles=compute,servicenode
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0
#driverpacks=
exlist=min-gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=rhels_min_gpfs_compute_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=gpfs_login
description=GPFS for login nodes
version=3.5.0
release=9
serverroles=login
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=rhels_gpfs_login_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=gpfs_storage
description=GPFS for storage nodes
version=3.5.0
release=9
serverroles=storage,servicenode
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage
genimage_postinstall=rhels_gpfs_storage_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=gpfs_compute
description=GPFS for compute nodes
version=3.5.0
release=9
serverroles=compute,servicenode
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 ,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=sles_gpfs_compute_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=min_gpfs_compute
description=Minimal GPFS for compute nodes
version=3.5.0
release=9
serverroles=compute,servicenode
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0
#driverpacks=
exlist=min-gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=sles_min_gpfs_compute_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=gpfs_login
description=GPFS for login nodes
version=3.5.0
release=9
serverroles=login
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config
genimage_postinstall=sles_gpfs_login_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
kitcomponent:
basename=gpfs_storage
description=GPFS for storage nodes
version=3.5.0
release=9
serverroles=storage,servicenode
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper
kitpkgdeps=gpfs.libsrc >= 3.5.0,gpfs.src >= 3.5.0,gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0
#driverpacks=
exlist=gpfs.exlist
postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage
genimage_postinstall=sles_gpfs_storage_update
non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-9.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin*
# kitpackage: This section defines one Kit Package, and how to build it.
# There can be zero or more kitpackage sections.
# All filenames should be relative paths to
# <Kit Build Directory>/source_packages
# If you want to build a package which can run on multiple OSes,
# you have two options:
# 1. Build a separate package for each OS you want to support.
# For this option, you need to define one kitpackage section
# per supported OS.
# 2. Build one package that can run on multiple OSes.
# If you are building an RPM package, you are responsible for
# creating an RPM spec file that can run on multiple OSes.
# For this option, you need to define one kitpackage section
# which contains multiple kitrepoid lines.
#
# kitpackage attributes:
# filename (mandatory) Package filename
# kitrepoid (mandatory) The repo(s) this package belongs to.
# If multiple repos are defined, the package will be built for
# the first repo only. For the other repos, a symlink is created
# to the package built for the first repo.
# Package build methods (optional)
# Define how to build the packages.
# If you don't specify a build method, the default behavior is
# to assume the package is pre-built under
# <Kit Build Directory>/source_packages
# All files in this section are relative to
# <Kit Build Directory>/source_packages
# There are four methods to build packages.
# 1. Use pre-built RPM package
# isexternalpkg: 'no'|'0', 'yes'|'1' (default: 'no')
# Indicates whether the RPM package will be added to the
# the kit tar file now as part of the kit build process,
# or whether the customer will need to separately
# obtain the RPM pacakage and add it to the kit tar file
# using 'buildkit addpkgs'
# rpm_prebuiltdir: If isexternalpkg=yes, path to directory
# containing pre-built RPM package
# 2. Build RPM from spec + src dir
# rpm_spec: Path to spec file.
# rpm_srcdir: Path to source directory.
# 3. Build RPM from spec + src tarball
# rpm_spec: Path to spec file.
# rpm_srctarball: Path to source tarball.
# 4. Build RPM from source RPM
# rpm_srpm: Path to source RPM package.
kitpackage:
filename=gpfs.base-3.5.0-9.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=gpfs.gpl-3.5.0-9.noarch.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=gpfs.docs-3.5.0-9.noarch.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=gpfs.msg.en_US-3.5.0-9.noarch.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=gpfs.src-3.5.0-9.noarch.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=gpfs.libsrc-3.5.0-9.noarch.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes

View File

@ -0,0 +1,9 @@
<HTML>
<HEAD>
<TITLE>GPFS Documentation</TITLE>
<meta http-equiv="REFRESH" content="0;url=http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.gpfs.doc/gpfsbooks.html"></HEAD>
<BODY>
Redirecting to:
http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.gpfs.doc/gpfsbooks.html
</BODY>
</HTML>

View File

@ -0,0 +1,3 @@
./usr/lpp/mmfs/include*
./usr/lpp/mmfs/samples*

View File

@ -0,0 +1,5 @@
# Exclude list for building a minimal diskless image
./usr/lpp/mmfs/include*
./usr/lpp/mmfs/samples*
./usr/lpp/mmfs/src*

View File

@ -0,0 +1,65 @@
#!/bin/sh
#
# Sample script to install and configure GPFS
# For AIX:
# Assumes the GPFS filesets and updates were installed using
# xCAT bundle files or some other mechanism. This script does not
# install additional software.
# It will do the following:
# - create /var/mmfs/etc/nsddevices that simply returns 0
# - add GPFS paths to profile
# For Linux:
# Assumes the base GPFS rpms were installed with the xCAT 'otherpkgs'
# postscript (stateful install) or with the otherpkgs processing of
# genimage (stateless/statelite install). This script will install any
# gpfs update rpms that exist on the xCAT management node in the
# /install/post/gpfs_updates directory.
# This is necessary because the GPFS updates can ONLY be installed
# after the base rpms have been installed, and the update rpms cannot
# exist in any rpm repositories used by xCAT otherpkgs processing
# since they will confuse rpm tools such as zypper and yum.
# This script will also do the following:
# - create /var/mmfs/etc/nsddevices that simply returns 0
# - add GPFS paths to profile
OS=`uname`
# Create an empty nsddevices script for GPFS
# This assumes that the node is NOT an NSD server
if [ $OS != "AIX" ]; then
# Create the script on the node
mkdir -p /var/mmfs/etc
echo 'return 0' > /var/mmfs/etc/nsddevices
chmod 744 /var/mmfs/etc/nsddevices
fi
# Add GPFS path to profile
if [ $OS != "AIX" ]; then
gpfsprofile=/etc/profile.d/gpfs
if [ ! -f "/proc/cmdline" ]; then
gpfsprofile=$gpfsprofile
fi
if [ ! -e $gpfsprofile.sh ]; then
echo 'export PATH=$PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.sh
echo 'setenv PATH $PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.csh
# Turn off LANG support since we did not install other msg catalogs
echo 'export LC_CTYPE=POSIX' >> $gpfsprofile.sh
echo 'setenv LC_CTYPE POSIX' >> $gpfsprofile.csh
echo 'export LC_ALL=POSIX' >> $gpfsprofile.sh
echo 'setenv LC_ALL POSIX' >> $gpfsprofile.csh
chmod 744 $gpfsprofile.sh
chmod 744 $gpfsprofile.csh
fi
fi
# If you are using a shared home directory stored in GPFS,
# create the symbolic link
#
# GPFSHOME=/gpfs/home
# HOMEDIR=/u
# ln -s $GPFSHOME $HOMEDIR

View File

@ -0,0 +1,65 @@
#!/bin/sh
#
# Sample script to install and configure GPFS
# For AIX:
# Assumes the GPFS filesets and updates were installed using
# xCAT bundle files or some other mechanism. This script does not
# install additional software.
# It will do the following:
# - create /var/mmfs/etc/nsddevices that simply returns 0
# - add GPFS paths to profile
# For Linux:
# Assumes the base GPFS rpms were installed with the xCAT 'otherpkgs'
# postscript (stateful install) or with the otherpkgs processing of
# genimage (stateless/statelite install). This script will install any
# gpfs update rpms that exist on the xCAT management node in the
# /install/post/gpfs_updates directory.
# This is necessary because the GPFS updates can ONLY be installed
# after the base rpms have been installed, and the update rpms cannot
# exist in any rpm repositories used by xCAT otherpkgs processing
# since they will confuse rpm tools such as zypper and yum.
# This script will also do the following:
# - create /var/mmfs/etc/nsddevices that simply returns 0
# - add GPFS paths to profile
OS=`uname`
## Create an empty nsddevices script for GPFS
## This assumes that the node is NOT an NSD server
#if [ $OS != "AIX" ]; then
# # Create the script on the node
# mkdir -p /var/mmfs/etc
# echo 'return 0' > /var/mmfs/etc/nsddevices
# chmod 744 /var/mmfs/etc/nsddevices
#fi
# Add GPFS path to profile
if [ $OS != "AIX" ]; then
gpfsprofile=/etc/profile.d/gpfs
if [ ! -f "/proc/cmdline" ]; then
gpfsprofile=$gpfsprofile
fi
if [ ! -e $gpfsprofile.sh ]; then
echo 'export PATH=$PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.sh
echo 'setenv PATH $PATH:/usr/lpp/mmfs/bin' > $gpfsprofile.csh
# Turn off LANG support since we did not install other msg catalogs
echo 'export LC_CTYPE=POSIX' >> $gpfsprofile.sh
echo 'setenv LC_CTYPE POSIX' >> $gpfsprofile.csh
echo 'export LC_ALL=POSIX' >> $gpfsprofile.sh
echo 'setenv LC_ALL POSIX' >> $gpfsprofile.csh
chmod 744 $gpfsprofile.sh
chmod 744 $gpfsprofile.csh
fi
fi
# If you are using a shared home directory stored in GPFS,
# create the symbolic link
#
# GPFSHOME=/gpfs/home
# HOMEDIR=/u
# ln -s $GPFSHOME $HOMEDIR

View File

@ -0,0 +1,30 @@
#!/bin/sh
# xCAT postscript to configure GPFS on a stateless node.
# Before booting nodes with this postscript, gpfs must be up and configured correctly on the node
# pointed to by the -p flag below. The $MASTER environment variable will be set by xCAT to
# the service node or management node of this booting node. If you want the nodes to get their
# GPFS configuration from a different node, replace $MASTER with that IP address.
# The source server:location of the mmsdrfs file. Default is this xCAT MN.
#SOURCE=gpfsmgr:/var/mmfs/gen/mmsdrfs
SOURCE=/var/mmfs/gen/mmsdrfs
# The gpfsmgr which save the mmsdrfs file. generally it is XCATMASTER
GPFSMGR=$MASTER
if [[ ! -z "$installroot" ]]; then
OS=`uname`
if [[ "$OS" != "AIX" ]]; then
rsync -i -t $SOURCE $installroot/var/mmfs/gen/mmsdrfs
if [[ $? != 0 ]]
then
echo "Error: rsync -i -t $SOURCE $installroot/var/mmfs/gen/mmsdrfs failed. Please make sure GPFS is configured correctly!"
else
echo "rsync -i -t $SOURCE $installroot/var/mmfs/gen/mmsdrfs succeed"
fi
exit
fi
else
echo "Restoring GPFS configration file from server."
/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp &
fi

View File

@ -0,0 +1,11 @@
#!/bin/sh
# Run this script as a postscript on any node (stateless, statefull,
# full-disk install, AIX, Linux) to start the GPFS daemon
#
# If you have any special network dependencies, you may want to add code
# to check them first
/usr/lpp/mmfs/bin/mmstartup

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-rhels-6-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-rhels-6-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-rhels-6-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-rhels-6-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-sles-11-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-9-sles-11-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-sles-11-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-9-sles-11-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-sles-11-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-9-sles-11-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,13 @@
#!/bin/sh
if [[ ! -z "$installroot" ]]; then
if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
else
if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then
rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-9-rhels-6-x86_64/*.rpm
fi
fi
exit 0

View File

@ -0,0 +1,308 @@
# Kit Build File
#
#
# xCAT Kit buildkit configuration file for:
# PE RTE 1.3.0.2
# This will create a "partial" kit that does not contain the full product
# rpm packages.
# Rename this file to 'buildkit.conf' before using
#
# Refer to the buildkit manpage for further details.
#
# kit: This section defines general info for the Kit.
# There must be exactly one kit section in a kit build file.
#
# kit attributes:
# basename (mandatory) Kit base name. e.g., kit-lsf
# description (optional) Kit description.
# version (mandatory) Kit version. e.g., 1.0
# ostype (mandatory) Kit OS type. Must be Linux.
# AIX is currently not supported.
# isinternal (optional) PCM use only.
# Indicate if Kit is for internal use.
# Use 1 for yes, 0 for no. Default: 0
# kitdeployparams (optional) Filename containing a list of kit deployment
# parameters, relative to
# <Kit Build Directory>/other_files
kit:
basename=pperte
description=Parallel Environment Runtime Edition
version=1.3.0.2
ostype=Linux
kitlicense=ILAN
kitdeployparams=pe.env
# kitrepo: This section defines a Kit Package Repository.
# There must be at least one kitrepo section in a kit build file.
# If you want to support multiple OSes, you should create a separate
# repo for each OS. Also, no two repos can be defined with the same
# OS name, major/minor version and arch. For example, you cannot have
# two repos for RHEL 6.2 x86_64 in the same kit.
#
# kitrepo attributes:
# kitrepoid (mandatory) Kit package repository ID.
# Must be unique within this file.
# osbasename (mandatory) OS distro base name. e.g., rhels.
# osmajorversion (mandatory) OS major version. e.g., 6
# osminorversion (optional) OS minor version.
# osarch (mandatory) OS architecture. e.g., x86_64
# compat_osbasenames (optional) Comma-separated list of compatible
# OS distro base names. e.g., centos
kitrepo:
kitrepoid=rhels6_x86_64
osbasename=rhels
osmajorversion=6
osarch=x86_64
kitrepo:
kitrepoid=sles11_x86_64
osbasename=sles
osmajorversion=11
osarch=x86_64
#compat_osbasenames=
# kitcomponent: This section defines one Kit Component.
# There can be zero or more kitcomponent sections.
# If you want to build a component which supports multiple OSes,
# you should create one kitcomponent section for each OS.
# Also, no two components in a kit can be defined with the same
# base name.
#
# kitcomponent attributes:
# basename (mandatory) Kit component base name
# description (optional) Kit component description
# version (mandatory) Kit component version
# release (mandatory) Kit component release
# serverroles (mandatory) Comma-separated list of servers that this
# component can install on. Valid values:
# mgtnode,servicenode,compute,login,storage,utility
# kitrepoid (mandatory) The ID of the kit package repository this
# component belongs to
# kitcompdeps (optional) Comma-separated list of kit component
# dependencies. These kit components can be included in
# this kit or in other kits.
# ospkgdeps (optional) Comma-separated list of OS package dependencies
# These packages must be shipped with the OS distro.
# kitpkgdeps (optional) Comma-separated list of kit package names that
# will be listed as "REQUIRES" when building this kit
# component. Each package must be defined in a separate
# kitpackage section. Each package must be in the same
# kitrepo as this kit component.
# non_native_pkgs (optional) TBD -- NOT SUPPORTED YET!
# Comma-separated list of non-native package
# paths that will be included as files in this kit
# component. All filenames are relative to
# <Kit Build Directory>/source_packages
# Kit component deployment scripts must be specified
# to manage these files.
# driverpacks (optional) Comma-separated list of driver package filenames
# Each driverpack must be defined in a separate kitpackage
# section.
# exlist (optional) Exclude list file for stateless image, relative
# to <Kit Build Directory>/other_files
# Kit component deployment scripts (optional) Each attribute specifies
# script path relative to <Kit Build Directory>/scripts
# Script attributes:
# preinstall, postinstall, preuninstall, postuninstall,
# preupgrade, postupgrade, postbootscripts
kitcomponent:
basename=pperte_compute
description=PE RTE for compute nodes
version=1.3.0.2
release=0
serverroles=compute
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum,at,rsh,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64)
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,pperteman >= 1.3.0.2,ppertesamples >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
kitcomponent:
basename=min_pperte_compute
description=Minimal PE RTE for compute nodes
version=1.3.0.2
release=0
serverroles=compute
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum,at,rsh,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64)
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
kitcomponent:
basename=pperte_login
description=PE RTE for login nodes
version=1.3.0.2
release=0
serverroles=login
kitrepoid=rhels6_x86_64
#kitcompdeps=
ospkgdeps=yum,at,rsh,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64)
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,pperteman >= 1.3.0.2,ppertesamples >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
kitcomponent:
basename=pperte_compute
description=PE RTE for compute nodes
version=1.3.0.2
release=0
serverroles=compute
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,pperteman >= 1.3.0.2,ppertesamples >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
kitcomponent:
basename=min_pperte_compute
description=Minimal PE RTE for compute nodes
version=1.3.0.2
release=0
serverroles=compute
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
kitcomponent:
basename=pperte_login
description=PE RTE for login nodes
version=1.3.0.2
release=0
serverroles=login
kitrepoid=sles11_x86_64
#kitcompdeps=
ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs
kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.2,pperteman >= 1.3.0.2,ppertesamples >= 1.3.0.2,src
exlist=pe.exlist
postinstall=pperte_postinstall
postupgrade=pperte_postinstall
postbootscripts=pperte_postboot
# kitpackage: This section defines one Kit Package, and how to build it.
# There can be zero or more kitpackage sections.
# All filenames should be relative paths to
# <Kit Build Directory>/source_packages
# If you want to build a package which can run on multiple OSes,
# you have two options:
# 1. Build a separate package for each OS you want to support.
# For this option, you need to define one kitpackage section
# per supported OS.
# 2. Build one package that can run on multiple OSes.
# If you are building an RPM package, you are responsible for
# creating an RPM spec file that can run on multiple OSes.
# For this option, you need to define one kitpackage section
# which contains multiple kitrepoid lines.
#
# kitpackage attributes:
# filename (mandatory) Package filename
# kitrepoid (mandatory) The repo(s) this package belongs to.
# If multiple repos are defined, the package will be built for
# the first repo only. For the other repos, a symlink is created
# to the package built for the first repo.
# Package build methods (optional)
# Define how to build the packages.
# If you don't specify a build method, the default behavior is
# to assume the package is pre-built under
# <Kit Build Directory>/source_packages
# All files in this section are relative to
# <Kit Build Directory>/source_packages
# There are four methods to build packages.
# 1. Use pre-built RPM package
# isexternalpkg: 'no'|'0', 'yes'|'1' (default: 'no')
# Indicates whether the RPM package will be added to the
# the kit tar file now as part of the kit build process,
# or whether the customer will need to separately
# obtain the RPM pacakage and add it to the kit tar file
# using 'buildkit addpkgs'
# rpm_prebuiltdir: If isexternalpkg=yes, path to directory
# containing pre-built RPM package
# 2. Build RPM from spec + src dir
# rpm_spec: Path to spec file.
# rpm_srcdir: Path to source directory.
# 3. Build RPM from spec + src tarball
# rpm_spec: Path to spec file.
# rpm_srctarball: Path to source tarball.
# 4. Build RPM from source RPM
# rpm_srpm: Path to source RPM package.
### RH6 x86_64 rpms
kitpackage:
filename=pperte-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=pperteman-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=ppertesamples-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=ppe_rte_1302-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=ppe_rte_man-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=ppe_rte_samples-1.3.0.2-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
kitpackage:
filename=src-*.i386.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes
### License rpm gets placed in all repos
kitpackage:
filename=ppe_rte_license-1.3.0.0-*.x86_64.rpm
kitrepoid=rhels6_x86_64,sles11_x86_64
# Method 1: Use pre-built RPM package
isexternalpkg=yes