-
Notifications
You must be signed in to change notification settings - Fork 0
ESGF Installation From scratch
Regardless of whether you have installed and administered an ESGF node previously, please read the following document on ESGF policies, as this should influence what type of installation you should do:
http://esgf.llnl.gov/media/pdf/ESGF-Policies-and-Guidelines-V1.0.pdf
Platform
RHEL6; CentOS6; Scientific Linux 6
Unix User
You must be root or effectively root to run this program, prefixing the command with sudo will not allow the use of needed environment variables! If you must use sudo, do so only to become root proper then source your user's .[bash]rc file so that root has its environment set accordingly! Or you can more simply become root using sudo's "-s" flag.
Prerequisites
- Ports to open: 80, 443, (GridFTP: 2811, 50000-51000), (MyProxy: 7512)
- During the installation process, you'll be asked for a globus username and password. You'll need to sign up for a globusonline account beforehand, and provide the username and password when asked for it. You can sign up for an account at https://www.globus.org/SignUp
One way to clear previous installations is via the esg-purge.sh script. For example, to do a full uninstall (don't forget to exit the root shell afterwards in order to drop remaining ESGF-related environment variables and functions, before starting the new install):
cd /usr/local/bin
source /usr/local/bin/esg-purge.sh && esg-purge all
Download and Execute the Bootstrap Script
To setup a 'devel' install
cd /usr/local/bin
wget -O esg-bootstrap http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist/devel/esgf-installer/2.3/esg-bootstrap --no-check-certificate
chmod 555 esg-bootstrap
./esg-bootstrap --devel
To setup a 'master' install
wget -O esg-bootstrap http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist/esgf-installer/2.3/esg-bootstrap --no-check-certificate
chmod 555 esg-bootstrap
./esg-bootstrap
Check Installer Script Version
esg-node --version
Version: v2.3.8-master-release
Release: Centaur
Earth Systems Grid Federation (http://esgf.llnl.gov)
ESGF Node Installation Script
Start the installation process
esg-node --set-type [data|compute|idp|index|all]
esg-node --install
Use script instead of tee to log the installation. tee can cause configuration files corruption. Make sure you specify the type without square bracket or pipe.
Please select the ESGF distribution mirror for this installation (fastest to slowest):
-------------------------------------------
[1] http://distrib-coffee.ipsl.jussieu.fr/pub/esgf
[2] http://dist.ceda.ac.uk/esgf
[3] http://esg-dn2.nsc.liu.se/esgf
[4] http://aims1.llnl.gov/esgf
-------------------------------------------