+++ /dev/null
-#!/bin/bash
-
-# Make this explicit so we only get non-SoFS updates to make things
-# nice and clear. This duplicates what happens in
-# basic-postinstall.sh but we may have just rewound the cluster, so we
-# might be running this on the node install of from kickstart.
-echo "Updating from YUM repositories"
-yum -y update
-
-echo "Trying install of scsi-target-utils"
-yum -y install scsi-target-utils
-
-# we have to force the base GPFS package first, due to the way gpfs updates work
-echo "Installing GPFS base"
-yum -y install gpfs.base-@@GPFS_BASE_VERSION@@.@@RHEL_ARCH@@
-
-# then update it
-
-echo "Updating GPFS base"
-yum -y update
-
-echo "Installing SoFS packages"
-yum -y install sofs-toolset
-nodes="@@NODES@@"
-# Install the GUI packages if WITH_SOFS_GUI is set or there is one or
-# more sofs_gui nodes... and there are GUI packages listed to install.
-if [ "@@WITH_SOFS_GUI@@" = 1 -o "${nodes/sofs_gui:/}" != "$nodes" ] &&
- [ -n "@@SOFS_GUI_PACKAGES@@" ] ; then
- yum -y install @@SOFS_GUI_PACKAGES@@
-else
- echo "Skipping installation of SoFS GUI packages"
-fi
-
-echo "Installing ctdb packages"
-yum -y install ctdb ctdb-debuginfo
-
-echo "Installing samba packages"
-yum -y install samba samba-debuginfo samba-client samba-doc samba-winbind-32bit
-
-echo "Installing remaining GPFS packages"
-yum -y install gpfs.src gpfs.msg gpfs.docs gpfs.gpl gpfs.msg.en_US
-
-echo "Installing SMutil"
-yum -y install SMutil
-
-echo "Installing ipvsadm"
-yum -y install ipvsadm
-
-echo "Rebuilding the GPFS modules"
-(cd /usr/lpp/mmfs/src && make Autoconfig World InstallImages)
-
-# the TSM packages cause trouble with auto-install
-# yum -y install TIVsm-API TIVsm-HSM TIVsm-BA
-
-echo "Enabling NFS locking"
-chkconfig nfslock on
-service nfslock start
-
-# For some reason only the x86_64 version gets installed and we need
-# this to build the 32-bit version of the winbind libraries.
-echo "Installing keyutils-libs-devel.i386"
-yum -y install keyutils-libs-devel.i386
-
-
-# Install extra packages...
-sofs_extra_packages="@@SOFS_EXTRA_PACKAGES@@"
-if [ -n "$sofs_extra_packages" ] ; then
- yum install -y $sofs_extra_packages
-fi
defconf ISO "@uto" \
"<file>" "ISO image for base image creation"
-# which template kickstart file to use. There are separate templates
-# for each version of SoFS
-defconf KICKSTART "$installdir/templates/kickstart-SoFS.cfg" \
+defconf KICKSTART "$installdir/templates/gpfs-nas-kickstart.cfg" \
"<file>" "choice of kickstart file"
# the install server where we will get local packages from
+++ /dev/null
-VERSION BUILD=6050612 RECORDER=FX\r
-TAB T=1\r
-URL GOTO=https://10.0.0.31:1081/ibm/console/logon.jsp\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:j_security_check ATTR=ID:other\r
-FRAME F=2\r
-TAG POS=1 TYPE=IMG ATTR=ID:I0\r
-TAG POS=1 TYPE=IMG ATTR=ID:I7\r
-TAG POS=1 TYPE=A ATTR=TXT:Configure<SP>Clustered<SP>CIFS\r
-FRAME F=4\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ecb&.pa=true ATTR=ID:viewns_*_:form1:clustername CONTENT=t1\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ecb&.pa=true ATTR=ID:viewns_*_:form1:dcname CONTENT=10.0.0.100\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ecb&.pa=true ATTR=ID:viewns_*_:form1:userid CONTENT=administrator\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7eb9&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.1.131\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7eb9&.pa=true ATTR=ID:viewns_*_:form1:ifListBox CONTENT=$eth1\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7eb9&.pa=true ATTR=ID:viewns_*_:form1:hostListBox CONTENT=$t1n2.vsofs1.com:$t1n3.vsofs1.com:$t1n4.vsofs1.com\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7eb1&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.1.132\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ead&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.1.133\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ea9&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.2.131\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ea9&.pa=true ATTR=ID:viewns_*_:form1:ifListBox CONTENT=$eth2\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7ea1&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.2.132\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:-7e9d&.pa=true ATTR=ID:viewns_*_:form1:newsrv CONTENT=10.0.2.133\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:link1woajax\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
-TAG POS=1 TYPE=TABLE ATTR=ID:viewns_*_:form1:progressTable:1:grid1&&TXT:<BR><BR><BR><BR><BR><BR>\r
+++ /dev/null
-VERSION BUILD=6050612 RECORDER=FX\r
-TAB T=1\r
-URL GOTO=https://10.0.0.31:1081/ibm/console/logon.jsp\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:j_security_check ATTR=ID:other\r
-FRAME F=2\r
-TAG POS=1 TYPE=IMG ATTR=ID:I0\r
-TAG POS=1 TYPE=A ATTR=TXT:Protocol<SP>Configuration\r
-FRAME F=4\r
-TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME: ATTR=ID:viewns_0x002d540780751_:form1:serviceTable:2:_id23__input_sel\r
-TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME: ATTR=ID:viewns_0x002d540780751_:form1:serviceTable:3:_id23__input_sel\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_0x002d540780751_:form1:serviceTable:serviceTable_action0\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_0x002d540780751_:form1:serviceTable:_id10\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_0x002d540780751_:form1:progressCloseBtn\r
-FRAME F=2\r
-TAG POS=1 TYPE=A ATTR=TXT:Export<SP>Configuration\r
-FRAME F=4\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_145490192_:form1:addservice\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e0f&.pa=true ATTR=ID:viewns_1210708450_:form1:shareName CONTENT=data\r
-TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e0f&.pa=true ATTR=ID:viewns_1210708450_:form1:enableNfsCheckbox CONTENT=YES\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e0f&.pa=true ATTR=ID:viewns_1210708450_:form1:path CONTENT=/gpfs/data\r
-TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e0f&.pa=true ATTR=ID:viewns_1210708450_:form1:enableSambaCheckbox CONTENT=YES\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e09&.pa=true ATTR=ID:viewns_1210708450_:form1:inputNewName CONTENT=10.0.*\r
-TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e09&.pa=true ATTR=ID:viewns_1210708450_:form1:checkboxgui1 CONTENT=NO\r
-TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e09&.pa=true ATTR=ID:viewns_1210708450_:form1:checkboxgui2 CONTENT=NO\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:addOKBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=1210708450&_rid=2373a5ba:11b00552795:-7e07&.pa=true ATTR=NAME:viewns_1210708450_:form1:_id12 CONTENT=data<SP>share\r
-TAG POS=1 TYPE=TD ATTR=TXT:<BR> <BR> browseable<BR> <BR> \r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:nextbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:finish\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_1210708450_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_145490192_:form1:serviceTable:_id86\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_415464508_:form1:applybutton
\ No newline at end of file
+++ /dev/null
-VERSION BUILD=6050612 RECORDER=FX\r
-TAB T=1\r
-TAB CLOSEALLOTHERS\r
-URL GOTO=https://10.0.0.21:1081/ibm/console/logon.jsp\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:j_security_check ATTR=ID:other\r
-FRAME F=2\r
-TAG POS=1 TYPE=IMG ATTR=ID:I0\r
-TAG POS=1 TYPE=IMG ATTR=ID:I7\r
-TAG POS=1 TYPE=A ATTR=TXT:Install<SP>GPFS<SP>Cluster\r
-FRAME F=4\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:createrunbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:hostsTable:hostsTable_action1\r
-TAG POS=1 TYPE=TEXTAREA FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:hostlist CONTENT=10.0.0.21<BR>10.0.0.22<BR>10.0.0.23<BR>10.0.0.24\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:startButton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:finishButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:packageform:checkSettingsButton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:packageform:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:packageform:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:testbutton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-WAIT SECONDS=35\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:networkform:testbutton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:networkform:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:networkform:dnsserverInput CONTENT=10.0.0.1\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:networkform:searchSuffix1 CONTENT=vsofs1.com\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:networkform:searchSuffix2 CONTENT=ozlabs.au.ibm.com\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:networkform:searchSuffix3 CONTENT=vpn.tridgell.net\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:networkform:nextButton\r
-TAG POS=1 TYPE=TEXTAREA FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:additionalhostsdata CONTENT=10.0.0.20<SP>tsmserver<BR>\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:checkbutton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:skipbutton\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:newMaster CONTENT=pool.ntp.org\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:addexternalmasterbutton\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:availablemasternodeslist CONTENT=$c1n1.vsofs1.com:$c1n2.vsofs1.com:$c1n3.vsofs1.com:$c1n4.vsofs1.com\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:addinternalmasterbutton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-WAIT SECONDS=15\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:clusternameinput CONTENT=samba01.vsofs1.com\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:globalPagePool CONTENT=$64M\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextButton\r
-WAIT SECONDS=35\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:nextbutton\r
+++ /dev/null
-VERSION BUILD=6050612 RECORDER=FX\r
-TAB T=1\r
-URL GOTO=https://10.0.0.31:1081/ibm/console/logon.jsp\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:j_security_check ATTR=ID:other\r
-FRAME F=2\r
-TAG POS=1 TYPE=IMG ATTR=ID:I0\r
-TAG POS=1 TYPE=IMG ATTR=ID:I1\r
-TAG POS=1 TYPE=IMG ATTR=ID:I2\r
-TAG POS=1 TYPE=A ATTR=TXT:File<SP>Systems\r
-FRAME F=4\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:addnode\r
-TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME: ATTR=ID:viewns_*_:form1:fullDataTable:selecticons1__selectCtrlIconsAll\r
-TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:forcecheckbox CONTENT=YES\r
-TAG POS=1 TYPE=SELECT FORM=ACTION:pa.do?_pa=*&_rid=*:*:*&.pa=true ATTR=ID:viewns_*_:form1:blocksizemenu CONTENT=$64K\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:createFs\r
-WAIT SECONDS=20\r
-TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME: ATTR=ID:viewns_*_:form1:progressCloseBtn\r
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-# Use $1 if set, otherwise "daily".
-SONAS_VERSION="${1:-daily}"
-#
-SOFS_VERSION="none" # lazy but effective
-#
-case "$SONAS_VERSION" in
- (1.1.0.*) RHEL_VERSION="5.4" ;;
- (*) RHEL_VERSION="5.5" ;;
-esac
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-BASENAME="SONAS-${SONAS_VERSION}-base"
-SOFS_GUI_PACKAGES=
-SOFS_EXTRA_PACKAGES="java-1.5.0-ibm ibmnas-cim-providers ibmcim* expect.x86_64 perfcol sdstat xml4c*"
-GPFS_BASE_VERSION="3.3.0-0"
-YUM_TEMPLATE="|rhel_gen_yum_repos SONAS-${SONAS_VERSION} SONAS-Regression-Test"
-#
-add_extra_package rsyslog
-add_extra_package dstat
-#
-add_extra_chkconfig irqbalance on
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
-add_extra_chkconfig kdump on
-#
-KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
-#
-MEM=1024000
-GUIMEM=1440000
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="1.1"
-#
-RHEL_VERSION="5.1"
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-YUM_TEMPLATE="|rhel_gen_yum_repos SOFS-Stable"
-#
-add_extra_chkconfig irqbalance off
-add_extra_chkconfig syslog on
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="1.5.1-Stable"
-#
-RHEL_VERSION="5.2"
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-add_extra_package rsyslog
-#
-add_extra_chkconfig irqbalance on
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="1.5.2-Stable"
-#
-RHEL_VERSION="5.2"
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-add_extra_package rsyslog
-#
-add_extra_chkconfig irqbalance on
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
-add_extra_chkconfig kdump on
-#
-KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
-# Need extra memory to cover the above 128MB.
-MEM=$(($MEM + 131072))
-# Need that extra 128MB plus even for GUI growth.
-GUIMEM=1048576
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="1.5.3-Stable"
-#
-RHEL_VERSION="5.3"
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-YUM_TEMPLATE="|rhel_gen_yum_repos SoFS-${SOFS_VERSION} SOFS-additional"
-#
-add_extra_package rsyslog
-add_extra_package dstat
-#
-add_extra_chkconfig irqbalance on
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
-add_extra_chkconfig kdump on
-#
-KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
-# Need extra memory to cover the above 128MB.
-MEM=$(($MEM + 131072))
-# Need that extra 128MB plus even for GUI growth.
-GUIMEM=1048576
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="1.5-Stable"
-#
-RHEL_VERSION="5.2"
-#
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-add_extra_package rsyslog
-#
-add_extra_chkconfig irqbalance off
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-SOFS_VERSION="2.0"
-#
-RHEL_VERSION="5.4"
-#
-. "${BASH_SOURCE%/*}/SoFS.common"
-#
-add_extra_package rsyslog
-add_extra_package dstat
-#
-add_extra_chkconfig irqbalance on
-add_extra_chkconfig syslog off
-add_extra_chkconfig rsyslog on
-add_extra_chkconfig kdump on
-#
-KS_KERNEL_OPTS="$KS_KERNEL_OPTS crashkernel=128M@16M"
-# Need extra memory to cover the above 128MB.
-MEM=$(($MEM + 131072))
-# Need that extra 128MB plus even for GUI growth.
-GUIMEM=1048576
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-. "${BASH_SOURCE%/*}/SoFS-2.0.release"
-#
-YUM_TEMPLATE="|rhel_gen_yum_repos SoFS-${SOFS_VERSION} SoFS-daily SOFS-additional"
-BASENAME="SoFS-daily-base"
+++ /dev/null
-# Hey Emacs, this is a -*- shell-script -*- !!!
-
-NODES="tsm_server:0 sofs_gui:1 sofs_front:2-4"
-
-NFSSHARE="10.0.0.1:/home/SOFS"
-NFS_MOUNTPOINT="/root/SOFS"
-DOMAIN="VSOFS1.COM"
-WORKGROUP="VSOFS1"
-KDC_NAME="sofs1-ad"
-TSMNAME="SOFS01"
-INSTALL_SERVER="http://9.155.106.11/mediasets"
-#
-BASENAME="SoFS-${SOFS_VERSION}-base"
-KICKSTART="$installdir/templates/kickstart-SoFS.cfg"
-KS_KERNEL_OPTS="rhgb console=tty1 console=ttyS0,19200 nodmraid nompath"
-POSTINSTALL_TEMPLATE="${BASE_TEMPLATES}/all/root/scripts/SoFS-postinstall.sh"
-#
-ISO=$(rhel_print_iso)
-
-case "$SOFS_VERSION" in
- 1.*)
- SOFS_GUI_PACKAGES="sofs-base sofs-gpfs-gui sofs-stats-gui sofs-wizards sofs-space-gui sofs-common"
- YUM_TEMPLATE="|rhel_gen_yum_repos SoFS-${SOFS_VERSION} SOFS-Stable SOFS-additional"
- ;;
- 2.*)
- SOFS_GUI_PACKAGES="sofs-cli sofs-backend sofs-base sofs-gui sofs-help"
- SOFS_EXTRA_PACKAGES="ibmnas-cim-providers ibmcim* perfcol sdstat"
- GPFS_BASE_VERSION="3.3.0-0"
- YUM_TEMPLATE="|rhel_gen_yum_repos SoFS-${SOFS_VERSION} SOFS-additional"
-esac
+++ /dev/null
-# Merged kickstart. Minor bugfixes come for free bug features should
-# be configured for the correct version.
-install
-cdrom
-#ignoredisk --drives=[sdb,sdc,sdd,sde,sdf,sdg,sdh,sdi,sdj,sdk,sdl,sdm,sdn,sdo,sdp,sdq,sdr,sds,sdt,sdu,sdv,sdw,sdx,sdy,sdz,sdaa]
-key @@INSTALLKEY@@
-lang @@KS_LANGUAGE@@
-keyboard @@KEYBOARD@@
-skipx
-text
-network --device eth0 --bootproto dhcp
-network --device eth1 --onboot no --bootproto static
-rootpw @@ROOTPASSWORD@@
-firewall --disabled
-selinux --disabled
-authconfig --enableshadow --enablemd5
-timezone --utc @@TIMEZONE@@
-halt
-# if you want to have quiet boots add option 'quiet' to the next line
-# For debugging purposes or in case of trouble boot messages are very helpful
-bootloader --location=mbr --driveorder=@@SYSTEM_DISK_PREFIX@@a --append="@@KS_KERNEL_OPTS@@"
-
-# The following is the partition information you requested
-# Note that any partitions you deleted are not expressed
-# here so unless you clear all partitions first, this is
-# not guaranteed to work
-clearpart --drives=@@SYSTEM_DISK_PREFIX@@a --initlabel
-part / --ondisk=@@SYSTEM_DISK_PREFIX@@a --fstype ext3 --size=@@ROOTSIZE@@
-part swap --ondisk=@@SYSTEM_DISK_PREFIX@@a --size=@@SWAPSIZE@@
-
-
-
-#The following Part lists all the packages that are needed for the Installation
-%packages
-
-@@@RHEL_PACKAGES@@@
-
-@@_EXTRA_RHEL_PACKAGES@@
-
-@@EXTRA_PACKAGES@@
-
-%post
-
-(
-set -x
-
-echo "Turn off several services ..."
-chkconfig atd off
-chkconfig avahi-daemon off
-chkconfig avahi-dnsconfd off
-chkconfig bluetooth off
-chkconfig cpuspeed off
-chkconfig cups off
-chkconfig dhcdbd off
-chkconfig dund off
-chkconfig firstboot off
-chkconfig haldaemon off
-chkconfig hidd off
-chkconfig ip6tables off
-chkconfig ipmi off
-chkconfig iptables off
-chkconfig irda off
-chkconfig kudzu off
-chkconfig nfslock off
-chkconfig nscd off
-chkconfig pand off
-chkconfig pcscd off
-chkconfig restorecond off
-chkconfig rhnsd off
-chkconfig sendmail off
-chkconfig setroubleshoot off
-chkconfig smartd off
-chkconfig xfs off
-chkconfig yum-updatesd off
-chkconfig gpm off
-
-echo "Turn on several services ..."
-chkconfig multipathd on
-
-for i in @@EXTRA_CHKCONFIGS@@ ; do
- chkconfig ${i%:*} ${i#*:}
-done
-
-echo "Changing network settings regarding IPv6 in /etc/sysconfig/network..."
-# Changing network settings regarding IPv6 in /etc/sysconfig/network - set NETWORKIN_IPV6 to 'no'
-sed s/"NETWORKING_IPV6=yes"/"NETWORKING_IPV6=no"/g /etc/sysconfig/network -i.org
-echo "Done - /etc/sysconfig/network changed"
-echo "SED executed."
-echo " "
-
-echo "Changing filter settings in lvm.conf..."
-# Change filter for scanning devices in /etc/lvm/lvm.conf to reduce boot time
-sed s/"filter = \[ \"a\/\.\*\/\" \]"/"filter = \[ \"a\|\^\/dev\/mapper\/\.\*\|\"\, \"a\|\^\/dev\/sda\.\*\|\"\, \"r\|\.\*\|\" ]"/g /etc/lvm/lvm.conf -i.org
-echo "Done - lvm.conf changed"
-echo "SED executed."
-echo " "
-
-echo "Changing settings in /etc/init.d/sysstat..."
-/etc/init.d/sysstat stop
-rm -f /var/log/sa/*
-# Change settings in /etc/init.d/sysstat to report also disk IO to the SoFS GUI
-sed s/"sadc -F -L -"/"sadc -F -L -d -"/g /etc/init.d/sysstat -i.org
-sed s/"sadc -F -L"/"sadc -d -F -L"/g /usr/lib64/sa/sa1 -i.org
-echo "Done - systat changed"
-/etc/init.d/sysstat start
-echo "SED executed."
-echo " "
-
-echo "Setting the value of max opened files"
-echo "* soft nofile 50000" >> /etc/security/limits.conf
-echo "* hard nofile 50000" >> /etc/security/limits.conf
-echo "* soft core unlimited" >> /etc/security/limits.conf
-echo "Done setting the value of max opened files in /etc/security/limits.conf"
-
-echo "Changing the configuration options for sshd_config (Increase number of connections)"
-echo "
-# SoFS specific settings
-MaxStartups 1024
-">>/etc/ssh/sshd_config
-
-
-echo "Disabling the prelink feature in /etc/sysconfig/prelink"
-# Disable the prelink feature to have static checksums
-sed s/"PRELINKING=yes"/"PRELINKING=no"/g /etc/sysconfig/prelink -i.org
-echo "Done - /etc/sysconfig/prelink changed"
-echo "SED executed."
-echo " "
-
-echo "Disabling several unneeded modules"
-echo '###############################
-### SoFS disabled modules ###
-alias pcspkr off
-alias lp off
-alias parport off
-alias parport_pc off
-alias joydev off
-alias bluetooth off
-alias l2cap off
-alias rfcomm off
-alias video off
-alias backlight off
-alias button off
-alias battery off
-alias net-pf-10 off
-alias ipv6 off
-### END SoFS disabled modules ###
-'>>/etc/modprobe.conf
-echo "Done - Disabling unneeded modules"
-
-echo "Creating new multipath.conf"
-# Save the existing multipath.conf file
-cat /etc/multipath.conf >/etc/multipath.conf.org
-# Write Multipath.conf - NOTE: The file will be created!
-echo '
-#-------------------
-defaults {
-udev_dir /dev
-getuid_callout "/sbin/scsi_id -g -u -s /block/%n"
-user_friendly_names yes
-}
-
-blacklist {
-#devnode "^\(ram\|raw\|loop\|fd\|md\|dm-\|sr\|scd\|st\)[0-9]*"
-#devnode "^hd[a-z]"
-devnode "^@@SYSTEM_DISK_PREFIX@@a[0-9]*$"
-}
-
-#-------------------
-'>/etc/multipath.conf
-echo "Done - Creating multipath.conf"
-echo "."
-
-echo "Enabling dumps logging for multipathd" >>/tmp/ks.log
-echo 'DAEMON_COREFILE_LIMIT="unlimited"' >/etc/sysconfig/multipathd
-echo "Done - Enabling dumps logging for multipathd" >>/tmp/ks.log
-echo "." >>/tmp/ks.log
-
-echo 'if ! echo ${PATH} | grep -q /usr/lpp/mmfs/bin ; then
- if [ `id -u` = 0 ] ; then
- PATH=/usr/lpp/mmfs/bin:${PATH}
- fi
-fi
-'>/etc/profile.d/sofs_profile.sh
-
-@@@STANDARD_POSTINSTALL@@@
-
-@@@POSTINSTALL_TEMPLATE@@@
-
-sync
-
-) 2>&1 | tee /var/log/ks-postinstall.log > /dev/console
-
-%end
-