Skip to content
Prashanth Dwarakanath edited this page Sep 15, 2014 · 38 revisions

Upgrade Procedure

Warning

This procedure has been validated to upgrade nodes running ESGF 1.4 or higher. Nodes running ESGF 1.3 or lower should be aware the upgrade might fail. It is recommended for this kind of nodes to backup before upgrade and be prepared to roll back. The ESGF 1.7.2 installation from scratch is validated and would be the solution in this case.

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 it's envronment set accordingly! Or you can more simply become root using sudo's "-s" flag.

Prerequisites

Barring gcc-gfortran, most of the other packages ought to be already installed, but it doesn't hurt to make sure!

 yum install autoconf automake bison file flex gcc gcc-c++ gettext-devel libtool uuid-devel libuuid-devel libxml2 libxml2-devel libxslt libxslt-devel lsof make openssl-devel pam-devel pax readline-devel tk-devel wget zlib-devel perl-Archive-Tar perl-XML-Parser libX11-devel libtool-ltdl-devel e2fsprogs-devel.x86_64 gcc-gfortran libicu-devel.x86_64 libgtextutils-devel.x86_64 '*ExtUtils*

Stop the Node

cd /usr/local/bin
esg-node stop

Download and Execute the Bootstrap Script

cd /usr/local/bin
wget -O esg-bootstrap http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist/esgf-installer/1.7/esg-bootstrap --no-check-certificate
chmod 555 esg-bootstrap
esg-bootstrap

Check Installer Script Version

esg-node --version
Version: v1.7.2-phoenix-release-master
Release: phoenix
Earth Systems Grid Federation (http://esgf.org)
ESGF Node Installation Script

Start the installation process

script -a -c "esg-node --install" /tmp/esgf_install.log

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.

Primary Configuration

Please select the ESGF distribution mirror for this installation (fastest to slowest):
    -------------------------------------------
     [1] http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist
     [2] http://dist.ceda.ac.uk/esgf/dist
    -------------------------------------------

Are you ready to begin the installation? [Y/n] Y