#****************************************************************************** # ESO/DFS # # Who When What # -------- ---------- ------------------------------------------------------- # jknudstr 2008-07-29 Created ############################################################################### # Installation UNIX shell script to install an NGAS system of type: # # NCU, HQ, VIRTUAL VOLUMES (up to 24), DB CONNECTION POOL # ############################################################################### ############################################################################### # Base URL from where to obtain the distribution. ############################################################################### #SRC_URL=http://aclxint.hq.eso.org/addons/ngas/ngas_software/V3_1_2 SRC_URL=http://www.eso.org/~jknudstr/NGAS/RELEASES/V3_1_2 ############################################################################### # Various parameters to update for the specific context. ############################################################################### EMAIL=jknudstr@eso.org INST_EMAIL=$EMAIL WATCHDOG_EMAIL=$EMAIL NGAMS_CFG_FILE_SRC=/opsw/packages/ngasCfg/new/PA_NCU_DB_ESOECF_POOL.xml NGAMS_CFG_FILE=/opsw/packages/cfg/ngamsServer.conf #NGAMS_DB_CFG_ID=PA_NCU_VIRTUAL_VOLUMES NGAMS_DB_CFG_ID=FILE-BASED-CFG PAR_ZOPE_URLS=http://$HOSTNAME:8080/NGAS/ESOECF ALIASES_FILE=/opsw/packages/ngasSys/common/GAR_etc_aliases NGAS_UTILS_RESOURCE_FILE=/opsw/packages/ngasSys/common/ngas_SAOP ############################################################################### ############################################################################### # The installation commands - should not be changed! ############################################################################### rm -f ngasInstallSys wget ${SRC_URL}/ngasInstallSys python ./ngasInstallSys \ --installation-root=/opsw/packages/ \ --src-url=${SRC_URL}/ \ --post-installation-pi=Install_Post_Inst \ --notif-email=${INST_EMAIL} \ --Install_Configure_NGAS="NGAMS_DB_CFG_ID=${NGAMS_DB_CFG_ID},NGAMS_CFG_FILE_SRC=${NGAMS_CFG_FILE_SRC},NGAMS_CFG_FILE=${NGAMS_CFG_FILE},NOTIF_EMAIL=${WATCHDOG_EMAIL}" \ --Install_Configure_Users \ --Install_Configure_Zope="PAR_ZOPE_URLS=${PAR_ZOPE_URLS}" \ --Install_Configure_pydoc \ --Install_cfitsio \ --Install_chksum \ --Install_frameIngest \ --Install_ngams_bins \ --Install_ngasPlugIns \ --Install_Configure_ngasUtils="RESOURCE_FILE=${NGAS_UTILS_RESOURCE_FILE}" ############################################################################### ############################################################################### # Transform the node into an HST node with multiple NGAS servers ############################################################################### cd rm -f ngasInstallHstNode* wget ${SRC_URL}/ngasInstallHstNode . ngasInstallHstNode rm -f ngasInstallHstNode ############################################################################### # EOF