awips2/tools/clusterAutoDeploy/auto-install-edex-server-pre-install.sh
root 9f19e3f712 Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 64fa9254b946eae7e61bbc3f513b7c3696c4f54f
2012-01-06 08:55:05 -06:00

31 lines
906 B
Bash
Executable file

#!/bin/sh
DATE=`date`
echo "**************************************************************************************"
echo "Auto Int Server Pre Install Processing - $DATE"
echo "**************************************************************************************"
echo "Getting variables from env.txt"
. env.txt
echo "Making hdf5 directory"
mkdir -p $EDEXINSTALLFOLDER/edex/data/hdf5
chown -R ${EDEXUSER}:${EDEXUSER} $EDEXINSTALLFOLDER
echo "Mounting to hdf5 on ${NASSERVER}"
mount ${NASSERVER}:/hdf5 $EDEXINSTALLFOLDER/edex/data/hdf5 -o nfsvers=3
echo "mount -l (verify mount of hdf5 directory worked)"
mount
echo ""
DATE=`date`
echo "**************************************************************************************"
echo "EDEX Int Server Pre Install Processing Completed At $DATE"
echo "**************************************************************************************"
echo ""
exit