Changes between Version 1 and Version 2 of ESGFNodeTutorial


Ignore:
Timestamp:
May 22, 2017 4:17:43 PM (4 years ago)
Author:
zequi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ESGFNodeTutorial

    v1 v2  
    1 == ESGF Node Deployment Tutorial ==
     1= ESGF Local Node Deployment Tutorial =
    22
    3 = References =
     3This page shows how to deploy an ESGF Node that provides data, index and idp services and belongs to the esgf-test federation. The purpose of this node is to test the process of publication in the ESGF.
     4
     5This page assumes that command are executed by the root user (not sudo).
     6
     7== Index ==
     81. Previous installation clean up
     92. Installation from scratch
     103. Configuration for publishing
     114. Known issues
     125. References
     13
     14== 1. Previous installation clean up ==
     15
     16Execute {{{/usr/local/bin/esg-node stop}}} in order to stop the current ESGF services (in case they are running).
     17
     18{{{
     19[root@spock ~]# /usr/local/bin/esg-node stop
     20
     21
     22  EEEEEEEEEEEEEEEEEEEEEE   SSSSSSSSSSSSSSS         GGGGGGGGGGGGGFFFFFFFFFFFFFFFFFFFFFF
     23  E::::::::::::::::::::E SS:::::::::::::::S     GGG::::::::::::GF::::::::::::::::::::F
     24  E::::::::::::::::::::ES:::::SSSSSS::::::S   GG:::::::::::::::GF::::::::::::::::::::F
     25  EE::::::EEEEEEEEE::::ES:::::S     SSSSSSS  G:::::GGGGGGGG::::GFF::::::FFFFFFFFF::::F
     26    E:::::E       EEEEEES:::::S             G:::::G       GGGGGG  F:::::F       FFFFFF
     27    E:::::E             S:::::S            G:::::G                F:::::F
     28    E::::::EEEEEEEEEE    S::::SSSS         G:::::G                F::::::FFFFFFFFFF
     29    E:::::::::::::::E     SS::::::SSSSS    G:::::G    GGGGGGGGGG  F:::::::::::::::F
     30    E:::::::::::::::E       SSS::::::::SS  G:::::G    G::::::::G  F:::::::::::::::F
     31    E::::::EEEEEEEEEE          SSSSSS::::S G:::::G    GGGGG::::G  F::::::FFFFFFFFFF
     32    E:::::E                         S:::::SG:::::G        G::::G  F:::::F
     33    E:::::E       EEEEEE            S:::::S G:::::G       G::::G  F:::::F
     34  EE::::::EEEEEEEE:::::ESSSSSSS     S:::::S  G:::::GGGGGGGG::::GFF:::::::FF
     35  E::::::::::::::::::::ES::::::SSSSSS:::::S   GG:::::::::::::::GF::::::::FF
     36  E::::::::::::::::::::ES:::::::::::::::SS      GGG::::::GGG:::GF::::::::FF
     37  EEEEEEEEEEEEEEEEEEEEEE SSSSSSSSSSSSSSS           GGGGGG   GGGGFFFFFFFFFFF.llnl.gov
     38
     39Checking that you have root privs on spock.meteo.unican.es... [OK]
     40Checking requisites...
     41
     42Using IP: 193.144.184.40
     43Stopping search services...
     44Using solr_workdir=/usr/local/src/esgf/workbench/esg/solr-5.5.3
     45Using solr_install_dir=/usr/local/solr-home/slave-8983
     46Using solr_data_dir=/esg/solr-index/slave-8983
     47Using solr_server_dir=/usr/local/solr
     48Using solr_logs_dir=/esg/solr-logs
     49Using esg_dist_url=http://esg-dn2.nsc.liu.se/esgf/dist
     50sudo: source: command not found
     51Sending stop command to Solr running on port 8983 ... waiting 5 seconds to allow Jetty process 16339 to stop gracefully.
     52Sending stop command to Solr running on port 8984 ... waiting 5 seconds to allow Jetty process 16554 to stop gracefully.
     53Stopping Globus Services for Data-Node... (GridFTP) stop_globus_services for datanode
     54globus-gridftp-server: unrecognized service
     55Stopping Globus Services for Index-Node... (MyProxy server) stop_globus_services for gateway
     56Stopping myproxy-server:                                   [  OK  ]
     57No MyProxy Process Currently Running...
     58Tomcat (jsvc) process is running...
     59
     60stop tomcat: /usr/local/tomcat/bin/jsvc -pidfile /var/run/tomcat-jsvc.pid -stop org.apache.catalina.startup.Bootstrap
     61(please wait)
     62postmaster (pid  16024) is running...
     63Stopping postgresql service:                               [  OK  ]
     64Stopping httpd:                                            [  OK  ]
     65Running shutdown hooks...
     66
     67---------------------------
     68Running Node Services...
     69node type: [ data index idp compute ] (60)
     70---------------------------
     71---------------------------
     72
     73}}}
     74
     75Execute {{{source /usr/local/bin/esg-purge.sh && esg-purge all}}}
     76
     77== 2. Installation from scratch ==
     78Change directory to /usr/local/bin/
     79
     80{{{[root@spock ~]# cd /usr/local/bin/}}}
     81
     82{{{
     83[root@spock bin]# wget -O esg-bootstrap http://distrib-coffee.ipsl.jussieu.fr/pub/esgf/dist/devel/esgf-installer/2.4/esg-bootstrap --no-check-certificate
     84[root@spock bin]# chmod 555 ./esg-bootstrap
     85[root@spock bin]# ./esg-bootstrap
     86}}}
     87
     88Your directory should look like this:
     89
     90{{{
     91[root@spock bin]# ls
     92esg-bootstrap  esg-functions  esg-init  esg-node  esg-purge.sh  jar_security_scan  setup-autoinstall
     93}}}
     94
     95Check your node's version:
     96
     97{{{
     98[root@spock bin]# ./esg-node --version
     99Version: v2.4.24-master-release
     100Release: Bifrost
     101Earth Systems Grid Federation (http://esgf.llnl.gov)
     102ESGF Node Installation Script
     103}}}
     104
     105Set node's type:
     106{{{
     107[root@spock bin]# ./esg-node --set-type index data idp
     108node type set to: [ index data idp ] (28)
     109}}}
     110
     111
     112
     113
     114
     115== Known issues ==
     116
     117== References ==
    4118 * [https://github.com/ESGF/esgf-installer/wiki/ESGF-Installation-From-scratch ESGF Installation From Scratch]