Added dev nodes in hpc integration which could install all the applications and their dependencies.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		
							
								
								
									
										7
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.exlist
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.exlist
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist# | ||||
							
								
								
									
										5
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.otherpkgs.pkglist
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.otherpkgs.pkglist
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist# | ||||
							
								
								
									
										4
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.pkglist
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.pkglist
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.ppc64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.ppc64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist# | ||||
							
								
								
									
										62
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.postinstall
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										62
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.rhels6.ppc64.postinstall
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,62 @@ | ||||
| #!/bin/sh | ||||
| # Sample postinstall script for building a diskless SLES11 PPC64 image | ||||
| #  with all IBM HPC products | ||||
| # | ||||
| #-- this script is run after all packages from $profile.pkglist are installed | ||||
| #-- | ||||
| #-- it gets these arguments: | ||||
| #-- | ||||
| #-- $1 = install root (chroot directory for profile) | ||||
| #-- $2 = OS version | ||||
| #-- $3 = architecture | ||||
| #-- $4 = profile name | ||||
| #-- $5 = work dir (where genimage is located) | ||||
| #-- | ||||
| #-- | ||||
| installroot=$1 | ||||
| osver=$2 | ||||
| arch=$3 | ||||
| profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| otherpkgs=/install/post/otherpkgs/$osver/$arch | ||||
|  | ||||
| ################ | ||||
| # This script runs other postinstall scripts from the $hpc directory | ||||
| # If you have created a custom copy of ANY of these scripts, | ||||
| #   make sure to change the execution path from $hpc/<product> to the location | ||||
| #   you have placed your script in | ||||
| ############### | ||||
| hpc=/opt/xcat/share/xcat/IBMhpc | ||||
| custom=/install/custom/netboot/rh | ||||
| installps=/install/postscripts | ||||
|  | ||||
| # Run default postinstall shipped with xcat | ||||
| /opt/xcat/share/xcat/netboot/rh/compute.rhels6.ppc64.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run general IBMhpc postinstall script | ||||
| $hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run script to install gpfs updates | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/gpfs/gpfs_updates | ||||
| # Run script to update GPFS mmsdrfs file in the image | ||||
| installroot=$installroot   $hpc/gpfs/gpfs_mmsdrfs | ||||
|  | ||||
|  | ||||
| # Run script to accept compiler license | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/compilers/compilers_license | ||||
|  | ||||
|  | ||||
| # Run script to install PE and accept license | ||||
| installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage   $hpc/pe/pe_install-1200 | ||||
|  | ||||
| # Run script to accept LoadLeveler license, install product rpms,  | ||||
| # and do some config | ||||
| installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage   $hpc/loadl/loadl_install-5103 | ||||
|  | ||||
| # Run script to install RSCT rpms | ||||
| installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage   $hpc/rsct/rsct_install | ||||
|  | ||||
|  | ||||
| @@ -0,0 +1,7 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist# | ||||
| @@ -0,0 +1,3 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.x86_64.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.otherpkgs.pkglist#    | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist# | ||||
| @@ -0,0 +1,4 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.rhels6.x86_64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.rhels6.x86_64.pkglist#     | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.rhels6.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist# | ||||
| @@ -0,0 +1,60 @@ | ||||
| #!/bin/sh | ||||
| # Sample postinstall script for building a diskless SLES11 PPC64 image | ||||
| #  with all IBM HPC products | ||||
| # | ||||
| #-- this script is run after all packages from $profile.pkglist are installed | ||||
| #-- | ||||
| #-- it gets these arguments: | ||||
| #-- | ||||
| #-- $1 = install root (chroot directory for profile) | ||||
| #-- $2 = OS version | ||||
| #-- $3 = architecture | ||||
| #-- $4 = profile name | ||||
| #-- $5 = work dir (where genimage is located) | ||||
| #-- | ||||
| #-- | ||||
| installroot=$1 | ||||
| osver=$2 | ||||
| arch=$3 | ||||
| profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| otherpkgs=/install/post/otherpkgs/$osver/$arch | ||||
|  | ||||
| ################ | ||||
| # This script runs other postinstall scripts from the $hpc directory | ||||
| # If you have created a custom copy of ANY of these scripts, | ||||
| #   make sure to change the execution path from $hpc/<product> to the location | ||||
| #   you have placed your script in | ||||
| ############### | ||||
| hpc=/opt/xcat/share/xcat/IBMhpc | ||||
| custom=/install/custom/netboot/rh | ||||
| installps=/install/postscripts | ||||
|  | ||||
| # Run default postinstall shipped with xcat | ||||
| /opt/xcat/share/xcat/netboot/rh/compute.rhels6.x86_64.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run general IBMhpc postinstall script | ||||
| $hpc/IBMhpc.rhel.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run script to install gpfs updates | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/gpfs/gpfs_updates | ||||
| # Run script to update GPFS mmsdrfs file in the image | ||||
| installroot=$installroot   $hpc/gpfs/gpfs_mmsdrfs | ||||
|  | ||||
|  | ||||
| # Run script to accept compiler license.  x86_64 is using gcc, comment this line. | ||||
| #installroot=$installroot NODESETSTATE=genimage   $hpc/compilers/compilers_license | ||||
|  | ||||
|  | ||||
| # Run script to install PE and accept license | ||||
| installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage   $hpc/pe/pe_install-1200 | ||||
|  | ||||
| # Run script to accept LoadLeveler license, install product rpms,  | ||||
| # and do some config | ||||
| installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage   $hpc/loadl/loadl_install-5103 | ||||
|  | ||||
| # Run script to install RSCT rpms.  Not available on x86_64 | ||||
| #installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage   $hpc/rsct/rsct_install | ||||
| @@ -0,0 +1,10 @@ | ||||
| # Sample exlude list for building a diskless SLES 11 PPC64 image | ||||
|  | ||||
| #INCLUDE:/opt/xcat/share/xcat/netboot/sles/compute.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.exlist# | ||||
| @@ -0,0 +1,13 @@ | ||||
| # Sample otherpkgs pkglist for installing all IBM HPC products in a  | ||||
| # SLES11 PPC64 diskless image | ||||
|  | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.otherpkgs.pkglist# | ||||
| #NEW_INSTALL_LIST# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist# | ||||
|  | ||||
| #  For full-disk (stateful) images, EDIT below to use rsct.otherpkgs | ||||
| #  For diskless, rpms are installed with postinstall script | ||||
| #do not INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.otherpkgs.pkglist# | ||||
| @@ -0,0 +1,10 @@ | ||||
| #  Sample package list for installing all IBM HPC products in a | ||||
| #  SLES11 ppc64 diskless image | ||||
|  | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.ppc64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/compilers/compilers.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/essl/essl.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.ppc64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/rsct/rsct.pkglist# | ||||
|  | ||||
|  | ||||
							
								
								
									
										68
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.sles11.ppc64.postinstall
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										68
									
								
								xCAT-IBMhpc/share/xcat/IBMhpc/dev-compute.sles11.ppc64.postinstall
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,68 @@ | ||||
| #!/bin/sh | ||||
| # Sample postinstall script for building a diskless SLES11 PPC64 image | ||||
| #  with all IBM HPC products | ||||
| # | ||||
| #-- this script is run after all packages from $profile.pkglist are installed | ||||
| #-- | ||||
| #-- it gets these arguments: | ||||
| #-- | ||||
| #-- $1 = install root (chroot directory for profile) | ||||
| #-- $2 = OS version | ||||
| #-- $3 = architecture | ||||
| #-- $4 = profile name | ||||
| #-- $5 = work dir (where genimage is located) | ||||
| #-- | ||||
| #-- | ||||
| installroot=$1 | ||||
| osver=$2 | ||||
| arch=$3 | ||||
| profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| otherpkgs=/install/post/otherpkgs/$osver/$arch | ||||
|  | ||||
| ################ | ||||
| # This script runs other postinstall scripts from the $hpc directory | ||||
| # If you have created a custom copy of ANY of these scripts, | ||||
| #   make sure to change the execution path from $hpc/<product> to the location | ||||
| #   you have placed your script in | ||||
| ############### | ||||
| hpc=/opt/xcat/share/xcat/IBMhpc | ||||
| custom=/install/custom/netboot/sles | ||||
| installps=/install/postscripts | ||||
|  | ||||
|  | ||||
| # Run default postinstall shipped with xcat | ||||
| /opt/xcat/share/xcat/netboot/sles/compute.sles11.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run general IBMhpc postinstall script | ||||
| $hpc/IBMhpc.sles.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run script to install gpfs updates | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/gpfs/gpfs_updates | ||||
| # Run script to update GPFS mmsdrfs file in the image | ||||
| installroot=$installroot   $hpc/gpfs/gpfs_mmsdrfs | ||||
|  | ||||
|  | ||||
| # Run script to accept compiler license | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/compilers/compilers_license | ||||
|  | ||||
|  | ||||
| # Run script to install PE and accept license | ||||
| installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage   $hpc/pe/pe_install | ||||
|  | ||||
|  | ||||
| # Run script to install ESSL and PESSL rpms | ||||
| #installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage   $hpc/essl/essl_install | ||||
|  | ||||
|  | ||||
| # Run script to accept LoadLeveler license, install product rpms,  | ||||
| # and do some config | ||||
| installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage   $hpc/loadl/loadl_install-5103 | ||||
|  | ||||
| # Run script to install RSCT rpms | ||||
| installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage   $hpc/rsct/rsct_install | ||||
|  | ||||
|  | ||||
| @@ -0,0 +1,3 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.x86_64.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.exlist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe.exlist# | ||||
| @@ -0,0 +1,3 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/gpfs/gpfs.x86_64.otherpkgs.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.x86_64.otherpkgs.pkglist#    | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/loadl/loadl-5103.otherpkgs.pkglist# | ||||
| @@ -0,0 +1,2 @@ | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/IBMhpc.sles11.x86_64.pkglist# | ||||
| #INCLUDE:/opt/xcat/share/xcat/IBMhpc/pe/pe-1200.sles11.x86_64.pkglist#     | ||||
| @@ -0,0 +1,65 @@ | ||||
| #!/bin/sh | ||||
| # Sample postinstall script for building a diskless SLES11 PPC64 image | ||||
| #  with all IBM HPC products | ||||
| # | ||||
| #-- this script is run after all packages from $profile.pkglist are installed | ||||
| #-- | ||||
| #-- it gets these arguments: | ||||
| #-- | ||||
| #-- $1 = install root (chroot directory for profile) | ||||
| #-- $2 = OS version | ||||
| #-- $3 = architecture | ||||
| #-- $4 = profile name | ||||
| #-- $5 = work dir (where genimage is located) | ||||
| #-- | ||||
| #-- | ||||
| installroot=$1 | ||||
| osver=$2 | ||||
| arch=$3 | ||||
| profile=$4 | ||||
| workdir=$5 | ||||
|  | ||||
| otherpkgs=/install/post/otherpkgs/$osver/$arch | ||||
|  | ||||
| ################ | ||||
| # This script runs other postinstall scripts from the $hpc directory | ||||
| # If you have created a custom copy of ANY of these scripts, | ||||
| #   make sure to change the execution path from $hpc/<product> to the location | ||||
| #   you have placed your script in | ||||
| ############### | ||||
| hpc=/opt/xcat/share/xcat/IBMhpc | ||||
| custom=/install/custom/netboot/sles | ||||
| installps=/install/postscripts | ||||
|  | ||||
| # Run default postinstall shipped with xcat | ||||
| /opt/xcat/share/xcat/netboot/sles/compute.sles11.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run general IBMhpc postinstall script | ||||
| $hpc/IBMhpc.sles.postinstall $1 $2 $3 $4 $5 | ||||
|  | ||||
|  | ||||
| # Run script to install gpfs updates | ||||
| installroot=$installroot NODESETSTATE=genimage   $hpc/gpfs/gpfs_updates | ||||
| # Run script to update GPFS mmsdrfs file in the image | ||||
| installroot=$installroot   $hpc/gpfs/gpfs_mmsdrfs | ||||
|  | ||||
|  | ||||
| # Run script to accept compiler license.  x86_64 is using gcc, comment this line. | ||||
| #installroot=$installroot NODESETSTATE=genimage   $hpc/compilers/compilers_license | ||||
|  | ||||
|  | ||||
| # Run script to install PE and accept license | ||||
| installroot=$installroot pedir=$otherpkgs/pe NODESETSTATE=genimage   $hpc/pe/pe_install-1200 | ||||
|  | ||||
|  | ||||
| # Run script to install ESSL and PESSL rpms.  Not available on x86_64. | ||||
| #installroot=$installroot essldir=$otherpkgs/essl NODESETSTATE=genimage   $hpc/essl/essl_install | ||||
|  | ||||
|  | ||||
| # Run script to accept LoadLeveler license, install product rpms,  | ||||
| # and do some config | ||||
| installroot=$installroot loadldir=$otherpkgs/loadl NODESETSTATE=genimage   $hpc/loadl/loadl_install-5103 | ||||
|  | ||||
| # Run script to install RSCT rpms.  Not available on x86_64 | ||||
| #installroot=$installroot rsctdir=$otherpkgs/rsct NODESETSTATE=genimage   $hpc/rsct/rsct_install | ||||
		Reference in New Issue
	
	Block a user