From 248de38a9f6b36ea384a08a012fac173d88e7365 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 4 Jun 2012 03:01:02 +0000 Subject: [PATCH] Added another post script for statefull, stateless and statelite install. Previously IBMhpc.postbootscript and IBMhpc.postscript are only run for statefull install, there is no general HPC script run as postscript for stateless/statelite and postbootscript for statefull. This new IBMhpc.post is supposed to do this. Currently only BSR configuration requires configuration after node installs/boots. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12997 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.post | 15 +++++++++++++++ .../share/xcat/IBMhpc/IBMhpc.postbootscript | 1 + 2 files changed, 16 insertions(+) create mode 100644 xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.post diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.post b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.post new file mode 100644 index 000000000..98f76e490 --- /dev/null +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.post @@ -0,0 +1,15 @@ +#!/bin/sh +# Sample postscript for HPC software additional configurations +# AIX: +# TBD +# +# Linux: for statefull (full-disk install) and stateless/statelite nodes +# For statefull nodes: run as postbootscript as part of IBMhpc.postbootscript. +# For stateless/statelite nodes: run as postscript, you will need to copy this +# script to /install/postscripts and specify it to nodes' postscripts attribute. +# + + +# BSR configuration on Power 775 cluster. More BSR configuration should be done by +# PE postinstall in genimage or postbootscript in statefull install +#chown root:bsr /dev/bsr* diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.postbootscript b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.postbootscript index 1503e2441..6bc54d0ee 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.postbootscript +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/IBMhpc.postbootscript @@ -8,6 +8,7 @@ ps_dir=/xcatpost # Run script to set up some basics for all HPC software $ps_dir/IBMhpc.postscript +$ps_dir/IBMhpc.post # Run script to install gpfs updates $ps_dir/gpfs_updates