diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/buildkit.conf deleted file mode 100644 index 5dfde8075..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/buildkit.conf +++ /dev/null @@ -1,306 +0,0 @@ -# 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 -# /other_files -kit: - basename=xlc - description=XLC12 for Linux - version=12.1.0.0 - ostype=Linux - kitlicense=ILAN -# kitdeployparams=sample/kitdeployparams.lst - - -# 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=xlc_compute - description=XLC12 for compute nodes - version=12.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vac.lic >= 12.1.0.0,vacpp.help.pdf >= 12.1.0.0,vacpp.man >= 12.1.0.0,vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0,vacpp.samples >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,rhels_xlc_compute_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - -kitcomponent: - basename=xlc_loginnode - description=XLC12 for login nodes - version=12.1.0.0 - release=120323 - serverroles=loginnode - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vac.lic >= 12.1.0.0,vacpp.help.pdf >= 12.1.0.0,vacpp.man >= 12.1.0.0,vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0,vacpp.samples >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,rhels_xlc_login_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - -kitcomponent: - basename=min_xlc_compute - description=Minimal XLC12 packages for compute nodes - version=12.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,rhels_min_xlc_compute_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - -kitcomponent: - basename=xlc_compute - description=XLC12 for compute nodes - version=12.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vac.lic >= 12.1.0.0,vacpp.help.pdf >= 12.1.0.0,vacpp.man >= 12.1.0.0,vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0,vacpp.samples >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,sles_xlc_compute_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - -kitcomponent: - basename=xlc_loginnode - description=XLC12 for login nodes - version=12.1.0.0 - release=120323 - serverroles=loginnode - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vacpp.help.pdf >= 12.1.0.0,vacpp.lib >= 12.1.0.0,vacpp.man >= 12.1.0.0,vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0,vacpp.samples >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,sles_xlc_login_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - -kitcomponent: - basename=min_xlc_compute - description=Minimal XLC12 packages for compute nodes - version=12.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64) - kitpkgdeps=vacpp.rte >= 12.1.0.0,vacpp.rte.lnk >= 12.1.0.0 - exlist=xlc.exlist - genimage_postinstall=xlc_license,sles_min_xlc_compute_install - non_native_pkgs=EXTERNALPKGS:vac.lib-12.1.0.0*,EXTERNALPKGS:vac.cmp-12.1.0.0*,EXTERNALPKGS:vacpp.lib-12.1.0.0*,EXTERNALPKGS:vacpp.cmp-12.1.0.0* - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=vac.cmp-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vac.lib-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vac.lic-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.cmp-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.help.pdf-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.lib-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.man-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.rte-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.rte.lnk-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=vacpp.samples-12.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/other_files/xlc.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/other_files/xlc.exlist deleted file mode 100755 index 18b4e5c98..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/other_files/xlc.exlist +++ /dev/null @@ -1,14 +0,0 @@ -./opt/ibmcmp/msg/* -+./opt/ibmcmp/msg/en_US* - -./opt/ibmcmp/vac/*/crt/include* -./opt/ibmcmp/vac/*/include* -./opt/ibmcmp/vac/*/msg/* -+./opt/ibmcmp/vac/*/msg/en_US* -./opt/ibmcmp/vac/*/lap/LI_* -./opt/ibmcmp/vac/*/lap/LA_* -./opt/ibmcmp/vac/*/lap/license/*.txt - -./opt/ibmcmp/vacpp/*/include* -./opt/ibmcmp/vacpp/*/msg/* -+./opt/ibmcmp/vacpp/*/msg/en_US* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_min_xlc_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_min_xlc_compute_install deleted file mode 100755 index c94da9070..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_min_xlc_compute_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_compute_install deleted file mode 100755 index 8119574be..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_compute_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_login_install deleted file mode 100755 index 697b5b73f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/rhels_xlc_login_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_min_xlc_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_min_xlc_compute_install deleted file mode 100755 index 7b9afb99d..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_min_xlc_compute_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_min_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_compute_install deleted file mode 100755 index 0d439e213..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_compute_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_compute-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_login_install deleted file mode 100755 index 0e2de01ec..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/sles_xlc_login_install +++ /dev/null @@ -1,15 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlc/xlc_login-12.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 -~ diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/xlc_license b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/xlc_license deleted file mode 100755 index a67701d78..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlc12-Linux/scripts/xlc_license +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# -# Sample script to accept licenses for the IBM vacpp compilers -# For Linux: -# Assumes all compiler software has been installed - -OS=`uname` -if [ $OS != "AIX" ]; then - cd $installroot/ - vacpp_script=`find opt/ibmcmp/vacpp -name new_install -print` - - if [ -n $installroot ]; then - # Being run from a stateful install postscript or stateless postbootscript. - if [ -n "$vacpp_script" ] ; then - echo 1 | chroot $installroot /$vacpp_script - fi - else - # Being run from a stateful install postscript postbootscript. - if [ -n "$vacpp_script" ] ; then - echo 1 | $vacpp_script - fi - fi -fi - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/buildkit.conf deleted file mode 100644 index 6e7f7b024..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/buildkit.conf +++ /dev/null @@ -1,327 +0,0 @@ -# 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 -# /other_files -kit: - basename=xlf - description=XLF14 for Linux - version=14.1.0.0 - ostype=Linux - kitlicense=ILAN -# kitdeployparams=sample/kitdeployparams.lst - - -# 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,service,compute,login,storage -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=xlf_compute - description=XLF14 for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=xlf_login - description=XLF14 for login nodes - version=14.1.0.0 - release=120323 - serverroles=login - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_xlf_login_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=min_xlf_compute - description=Minimal XLF14 packages for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.00 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_min_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - - -kitcomponent: - basename=xlf_compute - description=XLF14 for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=xlf_login - description=XLF14 for login nodes - version=14.1.0.0 - release=120323 - serverroles=login - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_xlf_login_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=min_xlf_compute - description=Minimal XLF14 packages for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.00 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_min_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=xlf.cmp-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.help.pdf-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.lib-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.lic-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.man-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.msg.rte-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.rte-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.rte.lnk-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlf.samples-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlmass.lib-7.1.0.0-120322.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlsmp.lib-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlsmp.msg.rte-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=xlsmp.rte-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/other_files/xlf.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/other_files/xlf.exlist deleted file mode 100755 index e5cfe3931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/other_files/xlf.exlist +++ /dev/null @@ -1,14 +0,0 @@ -./opt/ibmcmp/msg/* -+./opt/ibmcmp/msg/en_US* - -./opt/ibmcmp/xlmass/*/include* -./opt/ibmcmp/xlsmp/*/include* -./opt/ibmcmp/xlhelp* - -./opt/ibmcmp/xlf/*/include* -./opt/ibmcmp/xlf/*/msg/* -+./opt/ibmcmp/xlf/*/msg/en_US* -./opt/ibmcmp/xlf/*/lap/LA_* -./opt/ibmcmp/xlf/*/lap/LI_* -./opt/ibmcmp/xlf/*/lap/license/*.txt - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_min_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_min_xlf_compute_install deleted file mode 100755 index 630270738..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_min_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_compute_install deleted file mode 100755 index 21bc6f712..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_login_install deleted file mode 100755 index 1a982d5f8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/rhels_xlf_login_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_min_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_min_xlf_compute_install deleted file mode 100755 index b599a190e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_min_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_compute_install deleted file mode 100755 index eafaad3f8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_login_install deleted file mode 100755 index 91be832ec..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/sles_xlf_login_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/xlf_license b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/xlf_license deleted file mode 100755 index d0799ea9c..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/partial_xlf14-Linux/scripts/xlf_license +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# -# Sample script to accept licenses for the IBM xlf compilers -# For Linux: -# Assumes all compiler software has been installed - -OS=`uname` -if [ $OS != "AIX" ]; then - cd $installroot/ - xlf_script=`find opt/ibmcmp/xlf -name new_install -print` - - if [ -n $installroot ]; then - # Being run from a stateful install postscript or stateless postbootscript. - if [ -n "$xlf_script" ] ; then - echo 1 | chroot $installroot /$xlf_script - fi - else - # Being run from a stateful install postscript postbootscript. - if [ -n "$xlf_script" ] ; then - echo 1 | $xlf_script - fi - fi -fi - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/buildkit.conf deleted file mode 100644 index 34cac51fe..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/buildkit.conf +++ /dev/null @@ -1,340 +0,0 @@ -# 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 -# /other_files -kit: - basename=xlf - description=XLF14 for Linux - version=14.1.0.0 - ostype=Linux - kitlicense=ILAN -# kitdeployparams=sample/kitdeployparams.lst - - -# 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,service,compute,login,storage -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=xlf_compute - description=XLF14 for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=xlf_login - description=XLF14 for login nodes - version=14.1.0.0 - release=120323 - serverroles=login - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_xlf_login_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=min_xlf_compute - description=Minimal XLF14 packages for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.00 - exlist=xlf.exlist - genimage_postinstall=xlf_license,rhels_min_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - - -kitcomponent: - basename=xlf_compute - description=XLF14 for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=xlf_login - description=XLF14 for login nodes - version=14.1.0.0 - release=120323 - serverroles=login - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlmass.lib >= 7.1.0.0,xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlsmp.lib >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.0,xlf.help.pdf >= 14.1.0.0,xlf.samples >= 14.1.0.0,xlf.man >= 14.1.0.0,xlf.lic >= 14.1.0.0 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_xlf_login_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -kitcomponent: - basename=min_xlf_compute - description=Minimal XLF14 packages for compute nodes - version=14.1.0.0 - release=120323 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=libstdc++(ppc-32),libstdc++(ppc-64),libstdc++-devel(ppc-32),libstdc++-devel(ppc-64),glibc-devel(ppc-32),glibc-devel(ppc-64),compat-libstdc++-33(ppc-32),compat-libstdc++-33(ppc-64) - kitpkgdeps=xlsmp.msg.rte >= 3.1.0.0,xlsmp.rte >= 3.1.0.0,xlf.msg.rte >= 14.1.0.0,xlf.rte >= 14.1.0.0,xlf.rte.lnk >= 14.1.0.00 - exlist=xlf.exlist - genimage_postinstall=xlf_license,sles_min_xlf_compute_install - non_native_pkgs=EXTERNALPKGS:xlf.lib-14.1.0.0-*.rpm,EXTERNALPKGS:xlf.cmp-14.1.0.0-*.rpm - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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=xlf.cmp-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.help.pdf-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.lib-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.lic-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.man-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.msg.rte-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.rte-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.rte.lnk-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlf.samples-14.1.0.0-120323.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlmass.lib-7.1.0.0-120322.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlsmp.lib-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlsmp.msg.rte-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=xlsmp.rte-3.1.0.0-120315a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/other_files/xlf.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/other_files/xlf.exlist deleted file mode 100755 index e5cfe3931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/other_files/xlf.exlist +++ /dev/null @@ -1,14 +0,0 @@ -./opt/ibmcmp/msg/* -+./opt/ibmcmp/msg/en_US* - -./opt/ibmcmp/xlmass/*/include* -./opt/ibmcmp/xlsmp/*/include* -./opt/ibmcmp/xlhelp* - -./opt/ibmcmp/xlf/*/include* -./opt/ibmcmp/xlf/*/msg/* -+./opt/ibmcmp/xlf/*/msg/en_US* -./opt/ibmcmp/xlf/*/lap/LA_* -./opt/ibmcmp/xlf/*/lap/LI_* -./opt/ibmcmp/xlf/*/lap/license/*.txt - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_min_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_min_xlf_compute_install deleted file mode 100755 index 630270738..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_min_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_compute_install deleted file mode 100755 index 21bc6f712..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_login_install deleted file mode 100755 index 1a982d5f8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/rhels_xlf_login_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_min_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_min_xlf_compute_install deleted file mode 100755 index b599a190e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_min_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/min_xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_compute_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_compute_install deleted file mode 100755 index eafaad3f8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_compute_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_compute-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_login_install b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_login_install deleted file mode 100755 index 91be832ec..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/sles_xlf_login_install +++ /dev/null @@ -1,14 +0,0 @@ - -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/xlf/xlf_login-14.1.0.0-120323-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/xlf_license b/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/xlf_license deleted file mode 100755 index d0799ea9c..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/compiler/xlf14-Linux/scripts/xlf_license +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -# -# Sample script to accept licenses for the IBM xlf compilers -# For Linux: -# Assumes all compiler software has been installed - -OS=`uname` -if [ $OS != "AIX" ]; then - cd $installroot/ - xlf_script=`find opt/ibmcmp/xlf -name new_install -print` - - if [ -n $installroot ]; then - # Being run from a stateful install postscript or stateless postbootscript. - if [ -n "$xlf_script" ] ; then - echo 1 | chroot $installroot /$xlf_script - fi - else - # Being run from a stateful install postscript postbootscript. - if [ -n "$xlf_script" ] ; then - echo 1 | $xlf_script - fi - fi -fi - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/buildkit.conf deleted file mode 100644 index a99b20915..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/buildkit.conf +++ /dev/null @@ -1,294 +0,0 @@ -# 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 -# /other_files -kit: - basename=essl - description=essl for Linux - version=5.1.1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=essl.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=essl_compute - description=essl for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_loginnode - description=essl for login nodes - version=5.1.1 - release=0 - serverroles=loginnode - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=min_essl_compute - description=Minimal essl packages for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_compute - description=essl for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_loginnode - description=essl for compute nodes - version=5.1.1 - release=0 - serverroles=loginnode - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=min_essl_compute - description=Minimal essl packages for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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=essl.3232.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.3264.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.6464.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.bg.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.common-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.license-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.man-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.msg-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=essl.rte.common-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.env b/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.env deleted file mode 100644 index c7198f9a0..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_ESSL_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.exlist deleted file mode 100755 index 71d38cfb9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/other_files/essl.exlist +++ /dev/null @@ -1,6 +0,0 @@ -./opt/ibmmath/essl/*/FFTW3/include* -./opt/ibmmath/essl/*/include* -./opt/ibmmath/essl/*/lap/license/*.txt -./opt/ibmmath/essl/*/lap/LI_* -./opt/ibmmath/essl/*/lap/LA_* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/essl/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/buildkit.conf deleted file mode 100644 index f028692c0..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/buildkit.conf +++ /dev/null @@ -1,294 +0,0 @@ -# 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 -# /other_files -kit: - basename=essl - description=essl for Linux - version=5.1.1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=essl.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=essl_compute - description=essl for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_loginnode - description=essl for login nodes - version=5.1.1 - release=0 - serverroles=loginnode - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=min_essl_compute - description=Minimal essl packages for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_compute - description=essl for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=essl_loginnode - description=essl for login nodes - version=5.1.1 - release=0 - serverroles=loginnode - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.man >= 5.1.1,essl.msg >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - -kitcomponent: - basename=min_essl_compute - description=Minimal essl packages for compute nodes - version=5.1.1 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=essl.3232.rte >= 5.1.1,essl.3264.rte >= 5.1.1,essl.6464.rte >= 5.1.1,essl.bg.rte >= 5.1.1,essl.common >= 5.1.1,essl.license >= 5.1.1,essl.rte >= 5.1.1,essl.rte.common >= 5.1.1 - exlist=essl.exlist - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=essl.3232.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.3264.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.6464.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.bg.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.common-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.license-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.man-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.msg-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.rte-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=essl.rte.common-5.1.1-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.env b/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.env deleted file mode 100644 index c7198f9a0..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_ESSL_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.exlist deleted file mode 100755 index 5d25e2fae..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/other_files/essl.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmmath/essl/*/FFTW3/include* -./opt/ibmmath/essl/*/include* -./opt/ibmmath/essl/*/lap/license/*.txt -./opt/ibmmath/essl/*/lap/LI_* -./opt/ibmmath/essl/*/lap/LA_* - -./opt/ibmmath/pessl/*/lap/LA_* -./opt/ibmmath/pessl/*/lap/LI_* -./opt/ibmmath/pessl/*/lap/*.jar - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/essl/partial_essl/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/buildkit.conf deleted file mode 100644 index 11856411e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/buildkit.conf +++ /dev/null @@ -1,330 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0 - ostype=Linux - #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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - #compat_osbasenames= - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 ,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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-6.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.gpl-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.docs-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.gnr-3.5.0-6.sles.ppc64.rpm - kitrepoid=sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_mmsdrfs deleted file mode 100755 index 9bf7c31ba..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_mmsdrfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - cmd="/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp&" - $cmd > /dev/null 2>&1 - if [[ $? != 0 ]] - then - echo "mmsdrrestore failed!" - exit 2 - else - echo "mmsdrrestore succeeded" - fi -fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_update deleted file mode 100755 index 436a2be92..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -n $installroot ]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/rpm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/rpm deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 9bf7c31ba..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - cmd="/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp&" - $cmd > /dev/null 2>&1 - if [[ $? != 0 ]] - then - echo "mmsdrrestore failed!" - exit 2 - else - echo "mmsdrrestore succeeded" - fi -fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates deleted file mode 100755 index 382a9fd25..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -# 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage deleted file mode 100755 index 94b7891cd..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -## 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh deleted file mode 100644 index 2fa3d84e1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 post script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh deleted file mode 100644 index abbcb3e56..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo "running sample-comp1 postboot script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh deleted file mode 100644 index a5596e931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh deleted file mode 100644 index a4ad3c500..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh deleted file mode 100644 index 36a88c970..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 pre script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh deleted file mode 100644 index e94c3aa8e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh deleted file mode 100644 index bf2248496..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/buildkit.conf deleted file mode 100644 index 3b8d61f39..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/buildkit.conf +++ /dev/null @@ -1,329 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-6 - ostype=Linux - #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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 ,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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-6.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.gpl-3.5.0-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.docs-3.5.0-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.src-3.5.0-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.libsrc-3.5.0-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 9bf7c31ba..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - cmd="/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp&" - $cmd > /dev/null 2>&1 - if [[ $? != 0 ]] - then - echo "mmsdrrestore failed!" - exit 2 - else - echo "mmsdrrestore succeeded" - fi -fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates deleted file mode 100755 index 382a9fd25..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -# 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage deleted file mode 100755 index 94b7891cd..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -## 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh deleted file mode 100644 index 2fa3d84e1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 post script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh deleted file mode 100644 index abbcb3e56..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo "running sample-comp1 postboot script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh deleted file mode 100644 index a5596e931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh deleted file mode 100644 index a4ad3c500..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh deleted file mode 100644 index 36a88c970..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 pre script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh deleted file mode 100644 index e94c3aa8e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh deleted file mode 100644 index bf2248496..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/buildkit.conf deleted file mode 100644 index 3a87209e0..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/buildkit.conf +++ /dev/null @@ -1,327 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-7 - 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6-ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - #compat_osbasenames= - -kitrepo: - kitrepoid=sles11-ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=rhels6-ppc64 - #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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=rhels6-ppc64 - #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 - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - serverroles=login - kitrepoid=rhels6-ppc64 - #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 - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - serverroles=storage,servicenode - kitrepoid=rhels6-ppc64 - #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 - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update_storage - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=sles11-ppc64 - #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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=sles11-ppc64 - #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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - serverroles=login - kitrepoid=sles11-ppc64 - #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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - serverroles=storage,servicenode - kitrepoid=sles11-ppc64 - #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=gpfs_update_storage - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.ppc64.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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-7.ppc64.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.gpl-3.5.0-7.noarch.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.docs-3.5.0-7.noarch.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-7.noarch.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.libsrc-3.5.0-7.noarch.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.src-3.5.0-7.noarch.rpm - kitrepoid=rhels6-ppc64,sles11-ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 95b3d05b1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update deleted file mode 100755 index 1e705acb8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update_storage deleted file mode 100755 index dd5ceec90..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_update_storage +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/buildkit.conf deleted file mode 100644 index f291070df..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/buildkit.conf +++ /dev/null @@ -1,330 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-7 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - 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=gpfs_update_storage - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - 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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - 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=gpfs_update_storage - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-7.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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-7.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.gpl-3.5.0-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.docs-3.5.0-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.src-3.5.0-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base - -kitpackage: - filename=gpfs.libsrc-3.5.0-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir=base diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 95b3d05b1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start deleted file mode 100755 index 5f13c81ca..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start +++ /dev/null @@ -1,19 +0,0 @@ -#!/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 - -hostname=`hostname -s`; - -if [ !-z $NODE ] -then - hostname=`echo $NODE | awk -F-hf '{print $1}'` -fi - -/usr/lpp/mmfs/bin/mmchlicense client --accept -N $hostname -/usr/lpp/mmfs/bin/mmstartup - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update deleted file mode 100755 index a27b5ebc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update_storage deleted file mode 100755 index dd5ceec90..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_update_storage +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/buildkit.conf deleted file mode 100644 index 82e7ff20c..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/buildkit.conf +++ /dev/null @@ -1,335 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-6 - ostype=Linux - #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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - #compat_osbasenames= - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 ,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=sles11_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.gnr >= 3.5.0 - #non_native_pkgs=update - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.ppc64.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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-6.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.gpl-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.docs-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-6.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.gnr-3.5.0-6.sles.ppc64.rpm - kitrepoid=sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.gplbin*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - isexternalpkg=yes diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 9bf7c31ba..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - cmd="/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp&" - $cmd > /dev/null 2>&1 - if [[ $? != 0 ]] - then - echo "mmsdrrestore failed!" - exit 2 - else - echo "mmsdrrestore succeeded" - fi -fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_update deleted file mode 100755 index 436a2be92..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -n $installroot ]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates deleted file mode 100755 index 382a9fd25..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -# 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage deleted file mode 100755 index 94b7891cd..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/gpfs_updates_storage +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -## 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh deleted file mode 100644 index 2fa3d84e1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/post.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 post script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh deleted file mode 100644 index abbcb3e56..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postboot.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo "running sample-comp1 postboot script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh deleted file mode 100644 index a5596e931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh deleted file mode 100644 index a4ad3c500..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/postup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh deleted file mode 100644 index 36a88c970..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/pre.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 pre script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh deleted file mode 100644 index e94c3aa8e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh deleted file mode 100644 index bf2248496..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-ppc64/scripts/sample/preup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/buildkit.conf deleted file mode 100644 index 57726cf41..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/buildkit.conf +++ /dev/null @@ -1,329 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-6 - ostype=Linux - #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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0 ,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=6 - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=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=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=6 - serverroles=login - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps=ksh - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=6 - serverroles=storage,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=gpfs.base >= 3.5.0,gpfs.gpl >= 3.5.0,gpfs.msg.en_US >= 3.5.0,gpfs.docs >= 3.5.0,gpfs.src >= 3.5.0,gpfs.libsrc >= 3.5.0 - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-3.5.0-6.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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-6.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-6.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-6.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-6.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-6.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-6.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 9bf7c31ba..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 - cmd="/usr/lpp/mmfs/bin/mmsdrrestore -p $GPFSMGR -R /usr/bin/scp&" - $cmd > /dev/null 2>&1 - if [[ $? != 0 ]] - then - echo "mmsdrrestore failed!" - exit 2 - else - echo "mmsdrrestore succeeded" - fi -fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_update deleted file mode 100755 index 4f46bc9a0..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -n $installroot ]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-6-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates deleted file mode 100755 index 382a9fd25..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -# 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage deleted file mode 100755 index 94b7891cd..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/gpfs_updates_storage +++ /dev/null @@ -1,84 +0,0 @@ -#!/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` -INSTALL_DIR='/install' -UPDATES_DIR='post/otherpkgs/gpfs_updates' - -if [ $OS != "AIX" ]; then - if [ -f "/proc/cmdline" ]; then - # Being run from a stateful install postscript - # Copy rpms directly from the xCAT management node and install - mkdir -p /tmp/gpfs_updates - rm -f -R /tmp/gpfs_updates/* - cd /tmp/gpfs_updates -# wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=3 ftp://$SITEMASTER/$UPDATES_DIR/*.rpm 2> /tmp/wget.log - wget -l inf -N -r --waitretry=10 --random-wait --retry-connrefused -t 10 -T 60 -nH --cut-dirs=4 --reject "index.html*" --no-parent http://$SITEMASTER$INSTALL_DIR/$UPDATES_DIR/ 2> /tmp/wget.log - if [ -n "`ls *.rpm 2> /dev/null`" ] ; then - rpm -Uvh *.rpm - fi - cd / - rm -f -R /tmp/gpfs_updates - fi -fi - -## 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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh deleted file mode 100644 index 2fa3d84e1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/post.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 post script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh deleted file mode 100644 index abbcb3e56..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postboot.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -echo "running sample-comp1 postboot script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh deleted file mode 100644 index a5596e931..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh deleted file mode 100644 index a4ad3c500..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/postup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 postup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh deleted file mode 100644 index 36a88c970..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/pre.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 pre script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh deleted file mode 100644 index e94c3aa8e..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preun.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preun script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh deleted file mode 100644 index bf2248496..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-6-Linux-x86_64/scripts/sample/preup.sh +++ /dev/null @@ -1,3 +0,0 @@ - -echo "running sample-comp1 preup script" - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/buildkit.conf deleted file mode 100644 index 58b1ae147..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/buildkit.conf +++ /dev/null @@ -1,327 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-7 - 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - #compat_osbasenames= - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=rhels6_ppc64 - #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 - 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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - serverroles=login - kitrepoid=rhels6_ppc64 - #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 - 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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - serverroles=storage,servicenode - kitrepoid=rhels6_ppc64 - #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 - 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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - serverroles=compute,servicenode - kitrepoid=sles11_ppc64 - #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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - serverroles=login - kitrepoid=sles11_ppc64 - #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-7.ppc64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - serverroles=storage,servicenode - kitrepoid=sles11_ppc64 - #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-7.ppc64.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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-7.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.gpl-3.5.0-7.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.docs-3.5.0-7.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.msg.en_US-3.5.0-7.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.libsrc-3.5.0-7.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.src-3.5.0-7.noarch.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 95b3d05b1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_compute_update deleted file mode 100755 index 1e705acb8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_login_update deleted file mode 100755 index bd969291a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_storage_update deleted file mode 100755 index b84e88924..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_min_gpfs_compute_update deleted file mode 100755 index 05b5aaaa4..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/rhels_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_compute_update deleted file mode 100755 index 521c2eb0c..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_login_update deleted file mode 100755 index fee3ca9cd..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_storage_update deleted file mode 100755 index 5a3d53550..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_min_gpfs_compute_update deleted file mode 100755 index 05b5aaaa4..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-ppc64/scripts/sles_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-ppc64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/buildkit.conf deleted file mode 100644 index 0cb3297d8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/buildkit.conf +++ /dev/null @@ -1,330 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0-7 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - version=3.5.0 - release=7 - 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-7.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - version=3.5.0 - release=7 - 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-7.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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-7.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-7.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-7.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-7.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-7.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-7.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/docs/index.html deleted file mode 100644 index 95aabc644..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -GPFS Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.gpfs.doc/gpfsbooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist deleted file mode 100755 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist deleted file mode 100755 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/sample/exclude.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/sample/exclude.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/sample/kitdeployparams.lst b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/other_files/sample/kitdeployparams.lst deleted file mode 100644 index e69de29bb..000000000 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config deleted file mode 100755 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage deleted file mode 100755 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs deleted file mode 100755 index 95b3d05b1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start deleted file mode 100755 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_compute_update deleted file mode 100755 index a27b5ebc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_login_update deleted file mode 100755 index ca22e35ed..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_storage_update deleted file mode 100755 index dd5ceec90..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_min_gpfs_compute_update deleted file mode 100755 index fd53fd866..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/rhels_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-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-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_compute_update deleted file mode 100755 index f031a6986..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_compute-3.5.0-7-sles-11-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_login_update deleted file mode 100755 index c667a112b..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_login-3.5.0-7-sles-11-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_storage_update deleted file mode 100755 index 85a90f06d..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force --root $installroot -Uvh $installroot/opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/gpfs_storage-3.5.0-7-sles-11-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_min_gpfs_compute_update deleted file mode 100755 index fd53fd866..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-7-Linux-x86_64/scripts/sles_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [[ ! -z "$installroot" ]]; then - if [ -n "`ls $installroot/opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-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-7-rhels-6-x86_64/*.rpm - fi -else - if [ -n "`ls /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm 2> /dev/null`" ] ; then - rpm --force -Uvh /opt/xcat/kits/gpfs/min_gpfs_compute-3.5.0-7-rhels-6-x86_64/*.rpm - fi -fi - -exit 0 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/buildkit.conf deleted file mode 100644 index 23123b9d2..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/buildkit.conf +++ /dev/null @@ -1,302 +0,0 @@ -# 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 -# /other_files -kit: - basename=gpfs - description=General Parallel File System - version=3.5.0 - release=9 - ostype=Linux - osarch=x86_64 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - serverroles=compute,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - serverroles=login - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - serverroles=storage,servicenode - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_compute - description=GPFS for compute nodes - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - ospkgdeps=zypper - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=min_gpfs_compute - description=Minimal GPFS for compute nodes - serverroles=compute,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - ospkgdeps=zypper - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US - #driverpacks= - exlist=min-gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_login - description=GPFS for login nodes - serverroles=login - kitrepoid=sles11_x86_64 - #kitcompdeps= - ospkgdeps=zypper - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.x86_64.update.rpm,EXTERNALPKGS:gpfs.gplbin* - -kitcomponent: - basename=gpfs_storage - description=GPFS for storage nodes - serverroles=storage,servicenode - kitrepoid=sles11_x86_64 - #kitcompdeps= - ospkgdeps=zypper - kitpkgdeps=gpfs.base,gpfs.gpl,gpfs.msg.en_US,gpfs.docs - #driverpacks= - exlist=gpfs.exlist - postbootscripts=gpfs_mmsdrfs,gpfs_start,gpfs_config_storage - genimage_postinstall=gpfs_update - non_native_pkgs=EXTERNALPKGS:gpfs.base-*.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 -# /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 -# /source_packages -# All files in this section are relative to -# /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-*.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.gpl-*.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.docs-*.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=gpfs.msg.en_US-*.noarch.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/docs/index.html deleted file mode 100644 index 95aabc644..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -GPFS Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.gpfs.doc/gpfsbooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/gpfs.exlist deleted file mode 100644 index e019951c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/gpfs.exlist +++ /dev/null @@ -1,3 +0,0 @@ -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/min-gpfs.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/min-gpfs.exlist deleted file mode 100644 index ccb5ebe96..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/other_files/min-gpfs.exlist +++ /dev/null @@ -1,5 +0,0 @@ -# Exclude list for building a minimal diskless image - -./usr/lpp/mmfs/include* -./usr/lpp/mmfs/samples* -./usr/lpp/mmfs/src* diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config deleted file mode 100644 index 9850b01b6..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config_storage b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config_storage deleted file mode 100644 index 59a9befc9..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_config_storage +++ /dev/null @@ -1,65 +0,0 @@ -#!/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 - - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_mmsdrfs b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_mmsdrfs deleted file mode 100644 index 95b3d05b1..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_mmsdrfs +++ /dev/null @@ -1,30 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_start b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_start deleted file mode 100644 index 18bd1d1ee..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/gpfs_start +++ /dev/null @@ -1,11 +0,0 @@ -#!/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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_compute_update deleted file mode 100644 index 3beb6fb91..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_login_update deleted file mode 100644 index d6aa412fc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_storage_update deleted file mode 100644 index 1c68efb77..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_min_gpfs_compute_update deleted file mode 100644 index 333f5b29b..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/rhels_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_compute_update deleted file mode 100644 index 9e3c76109..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_login_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_login_update deleted file mode 100644 index 457aed33f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_login_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_storage_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_storage_update deleted file mode 100644 index e60f2f417..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_gpfs_storage_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_min_gpfs_compute_update b/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_min_gpfs_compute_update deleted file mode 100644 index 333f5b29b..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/gpfs/partial-gpfs-3.5.0-9-Linux-x86_64/scripts/sles_min_gpfs_compute_update +++ /dev/null @@ -1,13 +0,0 @@ -#!/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 diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/buildkit.conf deleted file mode 100644 index a423679a2..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/buildkit.conf +++ /dev/null @@ -1,287 +0,0 @@ -# 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 -# /other_files -kit: - basename=pessl - description=pessl for Linux - version=4.2.0 - ostype=Linux - kitlicense=ILAN - kitdeployparams=pessl.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pessl_compute - description=pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=pessl_loginnode - description=pessl for login nodes - version=4.2.0 - release=0 - serverroles=loginnode - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=min_pessl_compute - description=Minimal pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=min-pessl.exlist - - -kitcomponent: - basename=pessl_compute - description=pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=essl_loginnode - description=pessl for login nodes - version=4.2.0 - release=0 - serverroles=loginnode - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=min_pessl_compute - description=Minimal pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=min-pessl.exlist - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=pessl.3232.rte.mpich-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - -kitpackage: - filename=pessl.3232.rte.ppe-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.3264.rte.mpich-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.3264.rte.ppe-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.common-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.license-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.man-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.msg-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pessl.rte.common-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/min-pessl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/min-pessl.exlist deleted file mode 100755 index 903c93802..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/min-pessl.exlist +++ /dev/null @@ -1,5 +0,0 @@ -./opt/ibmmath/pessl/*/lap/LA_* -./opt/ibmmath/pessl/*/lap/LI_* -./opt/ibmmath/pessl/*/lap/*.jar -./opt/ibmmath/pessl/*/example* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.env b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.env deleted file mode 100644 index 90146f379..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PESSL_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.exlist deleted file mode 100755 index 4ef49f9c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/other_files/pessl.exlist +++ /dev/null @@ -1,5 +0,0 @@ -./opt/ibmmath/pessl/*/lap/LA_* -./opt/ibmmath/pessl/*/lap/LI_* -./opt/ibmmath/pessl/*/lap/*.jar - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/partial_pessl/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/buildkit.conf deleted file mode 100644 index a7a5abd70..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/buildkit.conf +++ /dev/null @@ -1,286 +0,0 @@ -# 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 -# /other_files -kit: - basename=pessl - description=pessl for Linux - version=4.2.0 - ostype=Linux - kitlicense=ILAN - kitdeployparams=pessl.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pessl_compute - description=pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=pessl_loginnode - description=pessl for login nodes - version=4.2.0 - release=0 - serverroles=loginnode - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=min_pessl_compute - description=Minimal pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=min-pessl.exlist - -kitcomponent: - basename=essl_compute - description=pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=essl_loginnode - description=pessl for login nodes - version=4.2.0 - release=0 - serverroles=loginnode - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.man >= 4.2.0,pessl.msg >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=pessl.exlist - -kitcomponent: - basename=min_essl_compute - description=Minimal pessl for compute nodes - version=4.2.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - ospkgdeps=bc - kitpkgdeps=pessl.3232.rte.mpich >= 4.2.0,pessl.3232.rte.ppe >= 4.2.0,pessl.3264.rte.mpich >= 4.2.0,pessl.3264.rte.ppe >= 4.2.0,pessl.common >= 4.2.0,pessl.license >= 4.2.0,pessl.rte.common >= 4.2.0 - exlist=min-pessl.exlist - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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=pessl.3232.rte.mpich-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= -kitpackage: - filename=pessl.3232.rte.ppe-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.3264.rte.mpich-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.3264.rte.ppe-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.common-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.license-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.man-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.msg-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pessl.rte.common-4.2.0-0.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/min-pessl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/min-pessl.exlist deleted file mode 100755 index 903c93802..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/min-pessl.exlist +++ /dev/null @@ -1,5 +0,0 @@ -./opt/ibmmath/pessl/*/lap/LA_* -./opt/ibmmath/pessl/*/lap/LI_* -./opt/ibmmath/pessl/*/lap/*.jar -./opt/ibmmath/pessl/*/example* - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.env b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.env deleted file mode 100644 index 90146f379..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PESSL_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.exlist deleted file mode 100755 index 4ef49f9c7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/other_files/pessl.exlist +++ /dev/null @@ -1,5 +0,0 @@ -./opt/ibmmath/pessl/*/lap/LA_* -./opt/ibmmath/pessl/*/lap/LI_* -./opt/ibmmath/pessl/*/lap/*.jar - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/imageprofile.pm b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/imageprofile.pm deleted file mode 100644 index f42b70e7f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/imageprofile.pm +++ /dev/null @@ -1,175 +0,0 @@ -package xCAT_plugin::<<>>_imageprofile; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Image Profile Kit Plugin - This plugin contains commands to run custom actions - during image profile operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitimagevalidatecomps => '<<>>_imageprofile', - kitimageimport => '<<>>_imageprofile', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # This kit plugin is passed the name of an image profile. - # We need to determine which kits is used by this - # image profile to decide if this plugin should run or not. - - my $imgprofilename = $request->{arg}->[0]; - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_image_profiles([$imgprofilename]); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Name of command and node list - my $command = $request->{command}->[0]; - my $args = $request->{arg}; - - if($command eq 'kitimagevalidatecomps') { - kitimagevalidatecomps($callback, $args); - } - elsif ($command eq 'kitimageimport') { - kitimageimport($callback, $args); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitimagevalidatecomps - - This command is called to validate new changes to an - image profile's kit component list before the changes - are committed. - -=cut - -#------------------------------------------------------- - -sub kitimagevalidatecomps { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - my $newcomplist = $args->[1]; - my @newcomplist = (); - if (defined($newcomplist)) { - @newcomplist = split(/,/, $newcomplist); - } - my $newosdistro = $args->[2]; - my $newosdistroupdate = $args->[3]; - - $rsp->{data}->[0] = "Running kitimagevalidatecomps"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitimageimport - - This command is called after changes to an image profile - have been committed. - -=cut - -#------------------------------------------------------- - -sub kitimageimport { - my $callback = shift; - my $args = shift; - my $rsp; - - # Parameters - my $imgprofilename = $args->[0]; - - $rsp->{data}->[0] = "Running kitimageimport"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/nodemgmt.pm b/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/nodemgmt.pm deleted file mode 100644 index 1eb766eb7..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/pessl/pessl/plugins/sample/nodemgmt.pm +++ /dev/null @@ -1,251 +0,0 @@ -package xCAT_plugin::<<>>_nodemgmt; - -use strict; -use warnings; - -require xCAT::Utils; -require xCAT::Table; -require xCAT::KitPluginUtils; - -# buildkit Processing -# In order to avoid collisions with other plugins, the package -# name for this plugin must contain the full kit name. -# The buildkit buildtar command will copy this file from your plugins -# directory to the the kit build directory, renaming the file with the -# correct kit name. All strings in this file of the form -# <<>> -# will be replaced with the full kit name. In order for buildkit to -# correctly edit this file, do not remove these strings. - -# Global Variables - -# This is the full name of the kit which this plugin belongs -# to. The kit name is used by some code in process_request() -# to determine if the plugin should run. When you are testing -# your plugin the kit name should be set to "TESTMODE" to -# bypass the plugin check in process_request(). - -our ($PLUGIN_KITNAME); -#$PLUGIN_KITNAME = "TESTMODE"; -$PLUGIN_KITNAME = "<<>>"; - - -#------------------------------------------------------- - -=head1 - - Node Management Kit Plugin - This plugin contains commands to run custom actions - during node management operations. - -=cut - -#------------------------------------------------------- - - -#------------------------------------------------------- - -=head3 handled_commands - - Return list of kit plugin commands handled by this plugin - -=cut - -#------------------------------------------------------- - -sub handled_commands { - return { - kitnodeadd => '<<>>_nodemgmt', - kitnoderemove => '<<>>_nodemgmt', - kitnodeupdate => '<<>>_nodemgmt', - kitnoderefresh => '<<>>_nodemgmt', - kitnodefinished => '<<>>_nodemgmt', - }; -} - - -#------------------------------------------------------- - -=head3 process_request - - Process the kit plugin command. - -=cut - -#------------------------------------------------------- - -sub process_request { - my $request = shift; - my $callback = shift; - - # Name of command and node list - my $command = $request->{command}->[0]; - my $nodes = $request->{node}; - - # This kit plugin is passed a list of node names. - # We need to determine which kits are used by these - # nodes to decide if this plugin should run or not. - - my $kitdata = $request->{kitdata}; - if (! defined($kitdata)) { - $kitdata = xCAT::KitPluginUtils->get_kits_used_by_nodes($nodes); - $request->{kitdata} = $kitdata; - } - - if ($PLUGIN_KITNAME ne "TESTMODE" && ! exists($kitdata->{$PLUGIN_KITNAME})) { - return; - } - - # Get the nodes using this plugin's kit - $nodes = $kitdata->{$PLUGIN_KITNAME}; - - - if($command eq 'kitnodeadd') { - kitnodeadd($callback, $nodes); - } - elsif ($command eq 'kitnoderemove') { - kitnoderemove($callback, $nodes); - } - elsif ($command eq 'kitnodeupdate') { - kitnodeupdate($callback, $nodes); - } - elsif ($command eq 'kitnoderefresh') { - kitnoderefresh($callback, $nodes); - } - elsif ($command eq 'kitnodefinished') { - kitnodefinished($callback); - - } else { - my $rsp; - $rsp->{data}->[0] = "Command is not supported"; - xCAT::MsgUtils->message("E", $rsp, $callback); - } -} - - -#------------------------------------------------------- - -=head3 kitnodeadd - - This command is called when one or more nodes are added - to the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnodeadd { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeadd"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderemove - - This command is called when one or more nodes are - removed from the cluster. - -=cut - -#------------------------------------------------------- - -sub kitnoderemove { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderemove"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodeupdate - - This command is called when the configuration of one - or more nodes are updated. - -=cut - -#------------------------------------------------------- - -sub kitnodeupdate { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnodeupdate"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnoderefresh - - This command is called when node-related configuration - files are updated. - -=cut - -#------------------------------------------------------- - -sub kitnoderefresh { - my $callback = shift; - my $rsp; - - # Parameters - my $nodes = shift; - - $rsp->{data}->[0] = "Running kitnoderefresh"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - - -#------------------------------------------------------- - -=head3 kitnodefinished - - This command is called at the end of a node management - operation. - -=cut - -#------------------------------------------------------- - -sub kitnodefinished { - my $callback = shift; - my $rsp; - - $rsp->{data}->[0] = "Running kitnodefinished"; - xCAT::MsgUtils->message("I", $rsp, $callback); - - # TODO - # ... ADD YOUR CODE HERE -} - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/buildkit.conf deleted file mode 100644 index b71af6143..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/buildkit.conf +++ /dev/null @@ -1,302 +0,0 @@ -# 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 -# /other_files -kit: - basename=pperte - description=Parallel Environment Runtime Edition - version=1.3.0.0 - 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - #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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pperte_compute - description=PE RTE for compute nodes - version=1.3.0.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=0 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,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.0 - release=0 - serverroles=login - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=0 - serverroles=compute - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,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.0 - release=0 - serverroles=login - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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 -# /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 -# /source_packages -# All files in this section are relative to -# /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 ppc64 rpms -kitpackage: - filename=pperte-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=pperteman-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppertesamples-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppe_rte_1300-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppe_rte_man-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppe_rte_samples-1.3.0.0-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=src-1.3.1.1-12080.ppc.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # 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-*.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.env deleted file mode 100644 index 27d8b4473..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPE_RTE_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.exlist deleted file mode 100755 index c8a7cdabc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/other_files/pe.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmhpc/lapi/include* -./opt/ibmhpc/lapi/pnsd/include* -./opt/ibmhpc/lapi/samples* - -./opt/ibmhpc/pecurrent/ppe.poe/include* -./opt/ibmhpc/pecurrent/ppe.poe/man/* -./opt/ibmhpc/pecurrent/ppe.poe/samples* -./opt/ibmhpc/pecurrent/hal/include* -./etc/opt/ibmhpc/license/*.txt - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postboot b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postboot deleted file mode 100755 index 54c01a009..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postboot +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Generate mpi modules -# - Generate and store checkpoint key -# - BSR support configuration - -# Generate mpi modules - gen_xlf=`grep PE_LATEST_LEVEL /etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod - if [ -x $gen_xlf ] ; then - $gen_xlf - fi - -if [ ! -z "$NODESETSTATE" ]; then - if [ "$NODESETSTATE" != "netboot" ] || [ "$NODESETSTATE" != "statelite" ]; then - /sbin/srcmstr & - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. -# KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') -# echo $KEY > /root/.ckpt.key -# chmod 400 /root/.ckpt.key -# - -# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluster. -# groupadd bsr -# mkdir -p /var/lib/bsr -# chown root:bsr /var/lib/bsr -# chmod g+sw /var/lib/bsr - - -# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. -#PE_VERSION=1202 -# if [ -f "/proc/cmdline" ]; then -# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks -# fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postinstall b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postinstall deleted file mode 100755 index 01e305926..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-ppc64/scripts/pperte_postinstall +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Create a smaller PNSD log file in /tmp -# - Configure poe.limits file -# - Generate and store checkpoint key -# - BSR support configuration - -# 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. -if [ ! -f /etc/PNSD.cfg ]; then - echo "log_file = /tmp/serverlog" > /etc/PNSD.cfg - echo "log_file_size = 2097152" >> /etc/PNSD.cfg - echo "socket_file = /tmp/PNSD" >> /etc/PNSD.cfg -else - /bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' /etc/PNSD.cfg - if [ -f "/proc/cmdline" ]; then - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -# Configure the poe.limits file -if [ ! -f /etc/poe.limits ]; then - echo "MP_POE_LAUNCH=all" > /etc/poe.limits -else - /bin/sed -i 's/MP_POE_LAUNCH=.*/MP_POE_LAUNCH=all/g' /etc/poe.limits -fi - - -# POE requires rsh to be running - /bin/sed -i 's/disable.*/disable = no/g' /etc/xinetd.d/rsh - if [ -f "/proc/cmdline" ]; then - chkconfig xinetd on - service xinetd restart - fi - -#max locked memory -if ! grep "max locked memory" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max locked memory" >> /etc/security/limits.conf - echo "* soft memlock unlimited" >> /etc/security/limits.conf - echo "* hard memlock unlimited" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -#max nofile configuration -if ! grep "max nofile" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max nofile" >> /etc/security/limits.conf - echo "* soft nofile 4096" >> /etc/security/limits.conf - echo "* hard nofile 4096" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -# several sysctl parameters. -if ! grep "ppe rte sysctl parameters" /etc/sysctl.conf >/dev/null 2>&1 ; then - echo "#ppe rte sysctl parameters" >> /etc/sysctl.conf - echo "net.core.wmem_max = 1048576" >> /etc/sysctl.conf - echo "net.core.rmem_max = 8388608" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_low_thresh = 1048576" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_high_thresh = 8388608" >> /etc/sysctl.conf -fi - -if [ -f "/proc/cmdline" ]; then - /sbin/sysctl -p -fi - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/buildkit.conf deleted file mode 100644 index b16cbd919..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/buildkit.conf +++ /dev/null @@ -1,303 +0,0 @@ -# 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 -# /other_files -kit: - basename=pperte - description=Parallel Environment Runtime Edition - version=1.3.0.0 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pperte_compute - description=PE RTE for compute nodes - version=1.3.0.0 - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - 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.0,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.0 - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - 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.0,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.0 - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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 -# /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 -# /source_packages -# All files in this section are relative to -# /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.0-*.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.0-*.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.0-*.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppe_rte_1300-1.3.0.0-*.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.0-*.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.0-*.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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/docs/index.html deleted file mode 100644 index be391b859..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -PE RTE Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.pe.doc/pebooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.env deleted file mode 100644 index 27d8b4473..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPE_RTE_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.exlist deleted file mode 100644 index c8a7cdabc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/other_files/pe.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmhpc/lapi/include* -./opt/ibmhpc/lapi/pnsd/include* -./opt/ibmhpc/lapi/samples* - -./opt/ibmhpc/pecurrent/ppe.poe/include* -./opt/ibmhpc/pecurrent/ppe.poe/man/* -./opt/ibmhpc/pecurrent/ppe.poe/samples* -./opt/ibmhpc/pecurrent/hal/include* -./etc/opt/ibmhpc/license/*.txt - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postboot b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postboot deleted file mode 100755 index 54c01a009..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postboot +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Generate mpi modules -# - Generate and store checkpoint key -# - BSR support configuration - -# Generate mpi modules - gen_xlf=`grep PE_LATEST_LEVEL /etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod - if [ -x $gen_xlf ] ; then - $gen_xlf - fi - -if [ ! -z "$NODESETSTATE" ]; then - if [ "$NODESETSTATE" != "netboot" ] || [ "$NODESETSTATE" != "statelite" ]; then - /sbin/srcmstr & - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. -# KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') -# echo $KEY > /root/.ckpt.key -# chmod 400 /root/.ckpt.key -# - -# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluster. -# groupadd bsr -# mkdir -p /var/lib/bsr -# chown root:bsr /var/lib/bsr -# chmod g+sw /var/lib/bsr - - -# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. -#PE_VERSION=1202 -# if [ -f "/proc/cmdline" ]; then -# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks -# fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postinstall b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postinstall deleted file mode 100755 index 01e305926..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.0-x86_64/scripts/pperte_postinstall +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Create a smaller PNSD log file in /tmp -# - Configure poe.limits file -# - Generate and store checkpoint key -# - BSR support configuration - -# 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. -if [ ! -f /etc/PNSD.cfg ]; then - echo "log_file = /tmp/serverlog" > /etc/PNSD.cfg - echo "log_file_size = 2097152" >> /etc/PNSD.cfg - echo "socket_file = /tmp/PNSD" >> /etc/PNSD.cfg -else - /bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' /etc/PNSD.cfg - if [ -f "/proc/cmdline" ]; then - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -# Configure the poe.limits file -if [ ! -f /etc/poe.limits ]; then - echo "MP_POE_LAUNCH=all" > /etc/poe.limits -else - /bin/sed -i 's/MP_POE_LAUNCH=.*/MP_POE_LAUNCH=all/g' /etc/poe.limits -fi - - -# POE requires rsh to be running - /bin/sed -i 's/disable.*/disable = no/g' /etc/xinetd.d/rsh - if [ -f "/proc/cmdline" ]; then - chkconfig xinetd on - service xinetd restart - fi - -#max locked memory -if ! grep "max locked memory" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max locked memory" >> /etc/security/limits.conf - echo "* soft memlock unlimited" >> /etc/security/limits.conf - echo "* hard memlock unlimited" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -#max nofile configuration -if ! grep "max nofile" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max nofile" >> /etc/security/limits.conf - echo "* soft nofile 4096" >> /etc/security/limits.conf - echo "* hard nofile 4096" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -# several sysctl parameters. -if ! grep "ppe rte sysctl parameters" /etc/sysctl.conf >/dev/null 2>&1 ; then - echo "#ppe rte sysctl parameters" >> /etc/sysctl.conf - echo "net.core.wmem_max = 1048576" >> /etc/sysctl.conf - echo "net.core.rmem_max = 8388608" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_low_thresh = 1048576" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_high_thresh = 8388608" >> /etc/sysctl.conf -fi - -if [ -f "/proc/cmdline" ]; then - /sbin/sysctl -p -fi - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.1-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.1-x86_64/buildkit.conf deleted file mode 100644 index 7b32200e2..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.1-x86_64/buildkit.conf +++ /dev/null @@ -1,308 +0,0 @@ -# Kit Build File -# -# -# xCAT Kit buildkit configuration file for: -# PE RTE 1.3.0.1 -# 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 -# /other_files -kit: - basename=pperte - description=Parallel Environment Runtime Edition - version=1.3.0.1 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pperte_compute - description=PE RTE for compute nodes - version=1.3.0.1 - 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.1,pperteman >= 1.3.0.1,ppertesamples >= 1.3.0.1,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.1 - 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.1,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.1 - 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.1,pperteman >= 1.3.0.1,ppertesamples >= 1.3.0.1,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.1 - 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.1,pperteman >= 1.3.0.1,ppertesamples >= 1.3.0.1,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.1 - 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.1,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.1 - 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.1,pperteman >= 1.3.0.1,ppertesamples >= 1.3.0.1,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 -# /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 -# /source_packages -# All files in this section are relative to -# /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.1-*.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.1-*.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.1-*.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppe_rte_1301-1.3.0.1-*.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.1-*.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.1-*.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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/buildkit.conf deleted file mode 100644 index 46cca73e5..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/buildkit.conf +++ /dev/null @@ -1,308 +0,0 @@ -# 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 -# /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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /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 -# /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 -# /source_packages -# All files in this section are relative to -# /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 - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/docs/index.html deleted file mode 100644 index be391b859..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -PE RTE Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.pe.doc/pebooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.env deleted file mode 100644 index 879215385..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.env +++ /dev/null @@ -1,2 +0,0 @@ -#ENV:IBM_PPE_RTE_LICENSE_ACCEPT=yes# -#ENV:MP_PE_UPGRADE=no# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.exlist deleted file mode 100644 index c8a7cdabc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/other_files/pe.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmhpc/lapi/include* -./opt/ibmhpc/lapi/pnsd/include* -./opt/ibmhpc/lapi/samples* - -./opt/ibmhpc/pecurrent/ppe.poe/include* -./opt/ibmhpc/pecurrent/ppe.poe/man/* -./opt/ibmhpc/pecurrent/ppe.poe/samples* -./opt/ibmhpc/pecurrent/hal/include* -./etc/opt/ibmhpc/license/*.txt - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postboot b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postboot deleted file mode 100644 index 54c01a009..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postboot +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Generate mpi modules -# - Generate and store checkpoint key -# - BSR support configuration - -# Generate mpi modules - gen_xlf=`grep PE_LATEST_LEVEL /etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod - if [ -x $gen_xlf ] ; then - $gen_xlf - fi - -if [ ! -z "$NODESETSTATE" ]; then - if [ "$NODESETSTATE" != "netboot" ] || [ "$NODESETSTATE" != "statelite" ]; then - /sbin/srcmstr & - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. -# KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') -# echo $KEY > /root/.ckpt.key -# chmod 400 /root/.ckpt.key -# - -# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluster. -# groupadd bsr -# mkdir -p /var/lib/bsr -# chown root:bsr /var/lib/bsr -# chmod g+sw /var/lib/bsr - - -# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. -#PE_VERSION=1202 -# if [ -f "/proc/cmdline" ]; then -# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks -# fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postinstall b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postinstall deleted file mode 100644 index 01e305926..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/partial-pperte-1.3.0.2-x86_64/scripts/pperte_postinstall +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Create a smaller PNSD log file in /tmp -# - Configure poe.limits file -# - Generate and store checkpoint key -# - BSR support configuration - -# 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. -if [ ! -f /etc/PNSD.cfg ]; then - echo "log_file = /tmp/serverlog" > /etc/PNSD.cfg - echo "log_file_size = 2097152" >> /etc/PNSD.cfg - echo "socket_file = /tmp/PNSD" >> /etc/PNSD.cfg -else - /bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' /etc/PNSD.cfg - if [ -f "/proc/cmdline" ]; then - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -# Configure the poe.limits file -if [ ! -f /etc/poe.limits ]; then - echo "MP_POE_LAUNCH=all" > /etc/poe.limits -else - /bin/sed -i 's/MP_POE_LAUNCH=.*/MP_POE_LAUNCH=all/g' /etc/poe.limits -fi - - -# POE requires rsh to be running - /bin/sed -i 's/disable.*/disable = no/g' /etc/xinetd.d/rsh - if [ -f "/proc/cmdline" ]; then - chkconfig xinetd on - service xinetd restart - fi - -#max locked memory -if ! grep "max locked memory" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max locked memory" >> /etc/security/limits.conf - echo "* soft memlock unlimited" >> /etc/security/limits.conf - echo "* hard memlock unlimited" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -#max nofile configuration -if ! grep "max nofile" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max nofile" >> /etc/security/limits.conf - echo "* soft nofile 4096" >> /etc/security/limits.conf - echo "* hard nofile 4096" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -# several sysctl parameters. -if ! grep "ppe rte sysctl parameters" /etc/sysctl.conf >/dev/null 2>&1 ; then - echo "#ppe rte sysctl parameters" >> /etc/sysctl.conf - echo "net.core.wmem_max = 1048576" >> /etc/sysctl.conf - echo "net.core.rmem_max = 8388608" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_low_thresh = 1048576" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_high_thresh = 8388608" >> /etc/sysctl.conf -fi - -if [ -f "/proc/cmdline" ]; then - /sbin/sysctl -p -fi - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/buildkit.conf deleted file mode 100644 index fc2875961..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/buildkit.conf +++ /dev/null @@ -1,303 +0,0 @@ -# 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 -# /other_files -kit: - basename=pperte - description=Parallel Environment Runtime Edition - version=1.3.0.0 - 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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - -kitrepo: - kitrepoid=sles11_ppc64 - osbasename=sles - osmajorversion=11 - osarch=ppc64 - - #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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pperte_compute - description=PE RTE for compute nodes - version=1.3.0.0 - release=1302a - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh,rsh-server,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0 - 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.0 - release=1302a - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh,rsh-server,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0 - 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.0 - release=1302a - serverroles=login - kitrepoid=rhels6_ppc64 - #kitcompdeps= - ospkgdeps=yum,at,rsh,rsh-server,sudo,libibverbs(ppc-32),libibverbs(ppc-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0 - 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.0 - release=1302a - serverroles=compute - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0 - 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.0 - release=1302a - serverroles=compute - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0 - 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.0 - release=1302a - serverroles=login - kitrepoid=sles11_ppc64 - #kitcompdeps= - ospkgdeps=zypper,at,rsh-server,xinetd,sudo,libibverbs-32bit,libibverbs - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0 - 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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 ppc64 rpms -kitpackage: - filename=pperte-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pperteman-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppertesamples-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_1300-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_man-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_samples-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=src-*.ppc.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -### License rpm gets placed in all repos -kitpackage: - filename=ppe_rte_license-1.3.0.0-1302a.ppc64.rpm - kitrepoid=rhels6_ppc64,sles11_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.env deleted file mode 100644 index 27d8b4473..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPE_RTE_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.exlist deleted file mode 100644 index c8a7cdabc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/other_files/pe.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmhpc/lapi/include* -./opt/ibmhpc/lapi/pnsd/include* -./opt/ibmhpc/lapi/samples* - -./opt/ibmhpc/pecurrent/ppe.poe/include* -./opt/ibmhpc/pecurrent/ppe.poe/man/* -./opt/ibmhpc/pecurrent/ppe.poe/samples* -./opt/ibmhpc/pecurrent/hal/include* -./etc/opt/ibmhpc/license/*.txt - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postboot b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postboot deleted file mode 100755 index 54c01a009..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postboot +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Generate mpi modules -# - Generate and store checkpoint key -# - BSR support configuration - -# Generate mpi modules - gen_xlf=`grep PE_LATEST_LEVEL /etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod - if [ -x $gen_xlf ] ; then - $gen_xlf - fi - -if [ ! -z "$NODESETSTATE" ]; then - if [ "$NODESETSTATE" != "netboot" ] || [ "$NODESETSTATE" != "statelite" ]; then - /sbin/srcmstr & - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. -# KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') -# echo $KEY > /root/.ckpt.key -# chmod 400 /root/.ckpt.key -# - -# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluster. -# groupadd bsr -# mkdir -p /var/lib/bsr -# chown root:bsr /var/lib/bsr -# chmod g+sw /var/lib/bsr - - -# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. -#PE_VERSION=1202 -# if [ -f "/proc/cmdline" ]; then -# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks -# fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postinstall b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postinstall deleted file mode 100755 index 01e305926..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-ppc64/scripts/pperte_postinstall +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Create a smaller PNSD log file in /tmp -# - Configure poe.limits file -# - Generate and store checkpoint key -# - BSR support configuration - -# 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. -if [ ! -f /etc/PNSD.cfg ]; then - echo "log_file = /tmp/serverlog" > /etc/PNSD.cfg - echo "log_file_size = 2097152" >> /etc/PNSD.cfg - echo "socket_file = /tmp/PNSD" >> /etc/PNSD.cfg -else - /bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' /etc/PNSD.cfg - if [ -f "/proc/cmdline" ]; then - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -# Configure the poe.limits file -if [ ! -f /etc/poe.limits ]; then - echo "MP_POE_LAUNCH=all" > /etc/poe.limits -else - /bin/sed -i 's/MP_POE_LAUNCH=.*/MP_POE_LAUNCH=all/g' /etc/poe.limits -fi - - -# POE requires rsh to be running - /bin/sed -i 's/disable.*/disable = no/g' /etc/xinetd.d/rsh - if [ -f "/proc/cmdline" ]; then - chkconfig xinetd on - service xinetd restart - fi - -#max locked memory -if ! grep "max locked memory" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max locked memory" >> /etc/security/limits.conf - echo "* soft memlock unlimited" >> /etc/security/limits.conf - echo "* hard memlock unlimited" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -#max nofile configuration -if ! grep "max nofile" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max nofile" >> /etc/security/limits.conf - echo "* soft nofile 4096" >> /etc/security/limits.conf - echo "* hard nofile 4096" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -# several sysctl parameters. -if ! grep "ppe rte sysctl parameters" /etc/sysctl.conf >/dev/null 2>&1 ; then - echo "#ppe rte sysctl parameters" >> /etc/sysctl.conf - echo "net.core.wmem_max = 1048576" >> /etc/sysctl.conf - echo "net.core.rmem_max = 8388608" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_low_thresh = 1048576" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_high_thresh = 8388608" >> /etc/sysctl.conf -fi - -if [ -f "/proc/cmdline" ]; then - /sbin/sysctl -p -fi - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/buildkit.conf deleted file mode 100644 index d46fb2233..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/buildkit.conf +++ /dev/null @@ -1,303 +0,0 @@ -# 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 -# /other_files -kit: - basename=pperte - description=Parallel Environment Runtime Edition - version=1.3.0.0 - 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=pperte_compute - description=PE RTE for compute nodes - version=1.3.0.0 - release=1302a - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=1302a - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,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.0 - release=1302a - serverroles=login - kitrepoid=rhels6_x86_64 - #kitcompdeps= - ospkgdeps=yum,at,rsh-server,xinetd,sudo,libibverbs(x86-32),libibverbs(x86-64) - kitpkgdeps=ppe_rte_license,pperte >= 1.3.0.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=1302a - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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.0 - release=1302a - 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.0,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.0 - release=1302a - 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.0,pperteman >= 1.3.0.0,ppertesamples >= 1.3.0.0,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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=pperteman-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppertesamples-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_1300-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_man-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppe_rte_samples-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=src-*.i386.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -### License rpm gets placed in all repos -kitpackage: - filename=ppe_rte_license-1.3.0.0-1302a.x86_64.rpm - kitrepoid=rhels6_x86_64,sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.env deleted file mode 100644 index 27d8b4473..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPE_RTE_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.exlist b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.exlist deleted file mode 100644 index c8a7cdabc..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/other_files/pe.exlist +++ /dev/null @@ -1,11 +0,0 @@ -./opt/ibmhpc/lapi/include* -./opt/ibmhpc/lapi/pnsd/include* -./opt/ibmhpc/lapi/samples* - -./opt/ibmhpc/pecurrent/ppe.poe/include* -./opt/ibmhpc/pecurrent/ppe.poe/man/* -./opt/ibmhpc/pecurrent/ppe.poe/samples* -./opt/ibmhpc/pecurrent/hal/include* -./etc/opt/ibmhpc/license/*.txt - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postboot b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postboot deleted file mode 100755 index 54c01a009..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postboot +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Generate mpi modules -# - Generate and store checkpoint key -# - BSR support configuration - -# Generate mpi modules - gen_xlf=`grep PE_LATEST_LEVEL /etc/ppe.cfg | cut -f2 -d ' ' `/mpich2/sbin/xlf_gen_mpimod - if [ -x $gen_xlf ] ; then - $gen_xlf - fi - -if [ ! -z "$NODESETSTATE" ]; then - if [ "$NODESETSTATE" != "netboot" ] || [ "$NODESETSTATE" != "statelite" ]; then - /sbin/srcmstr & - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -#Generate checkpoint key and store it into the image, ckpt script could ust it after boot. -# KEY=$(dd if=/dev/random count=1 2>/dev/null | sha1sum | awk '{print $1}') -# echo $KEY > /root/.ckpt.key -# chmod 400 /root/.ckpt.key -# - -# BSR configuration, uncomment the following lines to enable BSR configuration on Power Linux cluster. -# groupadd bsr -# mkdir -p /var/lib/bsr -# chown root:bsr /var/lib/bsr -# chmod g+sw /var/lib/bsr - - -# pelinks script support, uncomment the following lines and change to the correct pe version that you intend to use. -#PE_VERSION=1202 -# if [ -f "/proc/cmdline" ]; then -# MP_CONFIG=$PE_VERSION /opt/ibmhpc/pe$PE_VERSION/ppe.poe/bin/pelinks -# fi diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postinstall b/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postinstall deleted file mode 100755 index 01e305926..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppe/pperte-1.3.0.0-x86_64/scripts/pperte_postinstall +++ /dev/null @@ -1,70 +0,0 @@ -#!/bin/sh -# -# -# For Linux: -# - Create a smaller PNSD log file in /tmp -# - Configure poe.limits file -# - Generate and store checkpoint key -# - BSR support configuration - -# 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. -if [ ! -f /etc/PNSD.cfg ]; then - echo "log_file = /tmp/serverlog" > /etc/PNSD.cfg - echo "log_file_size = 2097152" >> /etc/PNSD.cfg - echo "socket_file = /tmp/PNSD" >> /etc/PNSD.cfg -else - /bin/sed -i 's/log_file_size = .*/log_file_size = 2097152/g' /etc/PNSD.cfg - if [ -f "/proc/cmdline" ]; then - stopsrc -s pnsd - startsrc -s pnsd - fi -fi - -# Configure the poe.limits file -if [ ! -f /etc/poe.limits ]; then - echo "MP_POE_LAUNCH=all" > /etc/poe.limits -else - /bin/sed -i 's/MP_POE_LAUNCH=.*/MP_POE_LAUNCH=all/g' /etc/poe.limits -fi - - -# POE requires rsh to be running - /bin/sed -i 's/disable.*/disable = no/g' /etc/xinetd.d/rsh - if [ -f "/proc/cmdline" ]; then - chkconfig xinetd on - service xinetd restart - fi - -#max locked memory -if ! grep "max locked memory" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max locked memory" >> /etc/security/limits.conf - echo "* soft memlock unlimited" >> /etc/security/limits.conf - echo "* hard memlock unlimited" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -#max nofile configuration -if ! grep "max nofile" /etc/security/limits.conf >/dev/null 2>&1 ; then - sed -i "/# End of file/d" /etc/security/limits.conf - echo "#max nofile" >> /etc/security/limits.conf - echo "* soft nofile 4096" >> /etc/security/limits.conf - echo "* hard nofile 4096" >> /etc/security/limits.conf - echo "# End of file" >> /etc/security/limits.conf -fi - -# several sysctl parameters. -if ! grep "ppe rte sysctl parameters" /etc/sysctl.conf >/dev/null 2>&1 ; then - echo "#ppe rte sysctl parameters" >> /etc/sysctl.conf - echo "net.core.wmem_max = 1048576" >> /etc/sysctl.conf - echo "net.core.rmem_max = 8388608" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_low_thresh = 1048576" >> /etc/sysctl.conf - echo "net.ipv4.ipfrag_high_thresh = 8388608" >> /etc/sysctl.conf -fi - -if [ -f "/proc/cmdline" ]; then - /sbin/sysctl -p -fi - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/buildkit.conf deleted file mode 100644 index acf44f3fb..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/buildkit.conf +++ /dev/null @@ -1,202 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0-1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6p >= 1.2.0-1,ppedev_runtime_rh6p >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6p >= 1.2.0-1,ppedev_runtime_rh6p >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_rh6p >= 1.2.0-1 - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=ppedev_hpct_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_license-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_ptp_rte_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_runtime_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-ppc64/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/buildkit.conf deleted file mode 100644 index 737d9f501..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/buildkit.conf +++ /dev/null @@ -1,260 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0-1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x >= 1.2.0-1,ppedev_runtime_rh6x >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x >= 1.2.0-1,ppedev_runtime_rh6x >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_rh6x >= 1.2.0-1 - -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x >= 1.2.0-1,ppedev_runtime_sles11x >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x >= 1.2.0-1,ppedev_runtime_sles11x >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_sles11x >= 1.2.0-1 - - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=ppedev_hpct_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_license-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_ptp_rte_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_runtime_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_hpct_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_license-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - - -kitpackage: - filename=ppedev_ptp_rte_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_runtime_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/docs/index.html deleted file mode 100644 index 0aba5b0a4..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -PE DE Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.pedev.doc/pedevbooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-1-x86_64/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/buildkit.conf deleted file mode 100644 index 451c683e8..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/buildkit.conf +++ /dev/null @@ -1,199 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0 - release=2 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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 - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x,ppedev_runtime_rh6x,ppedev_license - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x,ppedev_runtime_rh6x,ppedev_license,ppedev_ptp_rte_rh6x - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=ppedev_hpct_rh6x-*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_license-*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_ptp_rte_rh6x-*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_runtime_rh6x-*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/docs/index.html deleted file mode 100644 index 0aba5b0a4..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -PE DE Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.pedev.doc/pedevbooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-RHEL6/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/buildkit.conf deleted file mode 100644 index 9523ce64f..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/buildkit.conf +++ /dev/null @@ -1,200 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0 - release=2 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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=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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x,ppedev_runtime_sles11x,ppedev_license - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x,ppedev_runtime_sles11x,ppedev_license,ppedev_ptp_rte_sles11x - - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=ppedev_hpct_sles11x-*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_license-*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_ptp_rte_sles11x-*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - - -kitpackage: - filename=ppedev_runtime_sles11x-*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/docs/index.html deleted file mode 100644 index 0aba5b0a4..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -PE DE Documentation - - -Redirecting to: -http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/topic/com.ibm.cluster.pedev.doc/pedevbooks.html - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/partial-ppedev-1.2.0-2-x86_64-SLES11/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/buildkit.conf deleted file mode 100644 index 4026e2445..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/buildkit.conf +++ /dev/null @@ -1,203 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0-1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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 ppc64 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., ppc64 -# compat_osbasenames (optional) Comma-separated list of compatible -# OS distro base names. e.g., centos - -kitrepo: - kitrepoid=rhels6_ppc64 - osbasename=rhels - osmajorversion=6 - osarch=ppc64 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6p >= 1.2.0-1,ppedev_runtime_rh6p >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_ppc64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6p >= 1.2.0-1,ppedev_runtime_rh6p >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_rh6p >= 1.2.0-1 - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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=ppedev_hpct_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppedev_license-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_ptp_rte_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - -kitpackage: - filename=ppedev_runtime_rh6p-1.2.0-1.ppc64.rpm - kitrepoid=rhels6_ppc64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-ppc64/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/buildkit.conf deleted file mode 100644 index 6afbcc147..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/buildkit.conf +++ /dev/null @@ -1,268 +0,0 @@ -# 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 -# /other_files -kit: - basename=ppedev - description=Parallel Environment Developer Edition - version=1.2.0-1 - ostype=Linux - kitlicense=ILAN - kitdeployparams=ppedev.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 - - -# 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,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x >= 1.2.0-1,ppedev_runtime_rh6x >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=rhels6_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_rh6x >= 1.2.0-1,ppedev_runtime_rh6x >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_rh6x >= 1.2.0-1 - -kitcomponent: - basename=ppedev_compute - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x >= 1.2.0-1,ppedev_runtime_sles11x >= 1.2.0-1,ppedev_license >= 1.2.0 - -kitcomponent: - basename=ppedev_loginnode - description=ppe developer edition for compute node - version=1.2.0 - release=1 - serverroles=compute - kitrepoid=sles11_x86_64 - #kitcompdeps= - #ospkgdeps= - kitpkgdeps=ppedev_hpct_sles11x >= 1.2.0-1,ppedev_runtime_sles11x >= 1.2.0-1,ppedev_license >= 1.2.0,ppedev_ptp_rte_sles11x >= 1.2.0-1 - - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=no, 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=ppedev_hpct_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_license-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_ptp_rte_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_runtime_rh6x-1.2.0-1.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_hpct_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_license-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - - -kitpackage: - filename=ppedev_ptp_rte_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= - - -kitpackage: - filename=ppedev_runtime_sles11x-1.2.0-1.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=no - rpm_prebuiltdir= diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/other_files/ppedev.env b/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/other_files/ppedev.env deleted file mode 100644 index 524c8af4a..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/ppedev/ppedev-1.2.0-1-x86_64/other_files/ppedev.env +++ /dev/null @@ -1 +0,0 @@ -#ENV:IBM_PPEDEV_LICENSE_ACCEPT=yes# diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/buildkit.conf deleted file mode 100644 index 5cad8940d..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/buildkit.conf +++ /dev/null @@ -1,197 +0,0 @@ -# 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 -# /other_files -kit: - basename=teal - description=teal for Linux - version=1.2.0.2 - release=1 - ostype=Linux - osbasename=rhels - osarch=x86_64 - 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 - - -# 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,mgtnode,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=teal_base - description=teal for management nodes - serverroles=mgtnode - kitrepoid=rhels6_x86_64 - kitpkgdeps=teal-base - -kitcomponent: - basename=teal_ib - description=teal for ib - serverroles=mgtnode - kitrepoid=rhels6_x86_64 - kitcompdeps=teal_base - kitpkgdeps=teal-ib - -kitcomponent: - basename=teal_syslog - description=teal for syslog - serverroles=mgtnode - kitrepoid=rhels6_x86_64 - kitcompdeps=teal_base - kitpkgdeps=teal-syslog - - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=teal-base-1.2.0*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - -kitpackage: - filename=teal-ib-1.2.0*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - -kitpackage: - filename=teal-syslog-1.2.0*.x86_64.rpm - kitrepoid=rhels6_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/docs/index.html deleted file mode 100644 index cd2e6995d..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-rhel-1.2.0-2-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -Teal Documentation - - -Redirecting to: -https://sourceforge.net/apps/mediawiki/pyteal/index.php?title=Main_Page - - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/buildkit.conf b/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/buildkit.conf deleted file mode 100644 index 2205e7950..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/buildkit.conf +++ /dev/null @@ -1,196 +0,0 @@ -# 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 -# /other_files -kit: - basename=teal - description=teal for Linux - version=1.2.0.2 - release=1 - ostype=Linux - osbasename=sles - osarch=x86_64 - 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=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,mgtnode,loginnode,storagenode -# 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 -# /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 /other_files -# Kit component deployment scripts (optional) Each attribute specifies -# script path relative to /scripts -# Script attributes: -# preinstall, postinstall, preuninstall, postuninstall, -# preupgrade, postupgrade, postbootscripts -kitcomponent: - basename=teal_base - description=teal for management nodes - serverroles=mgtnode - kitrepoid=sles11_x86_64 - kitpkgdeps=teal-base - -kitcomponent: - basename=teal_ib - description=teal for ib - serverroles=mgtnode - kitrepoid=sles11_x86_64 - kitcompdeps=teal_base - kitpkgdeps=teal-ib - -kitcomponent: - basename=teal_syslog - description=teal for syslog - serverroles=mgtnode - kitrepoid=sles11_x86_64 - kitcompdeps=teal_base - kitpkgdeps=teal-syslog - -# 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 -# /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 -# /source_packages -# All files in this section are relative to -# /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=teal-base-1.2.0*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - -kitpackage: - filename=teal-ib-1.2.0*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - -kitpackage: - filename=teal-syslog-1.2.0*.x86_64.rpm - kitrepoid=sles11_x86_64 - # Method 1: Use pre-built RPM package - isexternalpkg=yes - diff --git a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/docs/index.html b/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/docs/index.html deleted file mode 100644 index cd2e6995d..000000000 --- a/xCAT-buildkit/share/xcat/kits/kit_build/teal/partial-teal-sles-1.2.0-2-x86_64/docs/index.html +++ /dev/null @@ -1,9 +0,0 @@ - - -Teal Documentation - - -Redirecting to: -https://sourceforge.net/apps/mediawiki/pyteal/index.php?title=Main_Page - -