Changes between Version 20 and Version 21 of ESGFNodeInstallation


Ignore:
Timestamp:
Nov 12, 2013 12:56:23 PM (9 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ESGFNodeInstallation

    v20 v21  
    126126}}}
    127127
     128
     129
     130
     131/usr/local/pgsql/bin/createuser -U postgres -P -s -e dbsuper
     132Enter password for new role:
     133Enter it again:
     134
     135Questionnaire interactif 3
     136
     137Would you like a "system" or "user" publisher configuration:
     138        -------------------------------------------
     139        *[1] : System
     140         [2] : User
     141        -------------------------------------------
     142         [C] : (Custom)
     143        -------------------------------------------
     144
     145Questionnaire interactif 4
     146
     147Looking for keystore [/esg/config/tomcat/keystore-tomcat]... (don't see one)...
     148Keystore setup:
     149Launching Java's keytool:
     150store_password = ******
     151Would you like to use the DN: (OU=ESGF.ORG, O=ESGF) ? [Y/n]: Y
     152Using keystore DN = CN=vesgdev-data.ipsl.jussieu.fr, OU=ESGF.ORG, O=ESGF
     153Enter key password for <my_esgf_node>
     154        (RETURN if same as keystore password): 
     155Do you wish to generate a Certificate Signing Request at this time? [Y/n] Y
     156
     157Questionnaire interactif 5
     158
     159Please enter the password for this keystore   :
     160Please re-enter the password for this keystore:
     161
     162Questionnaire interactif 6
     163
     164Create user credentials
     165Please enter username for tomcat [dnode_user]: 
     166dnode_user
     167Please enter password for user, "dnode_user" [********]:   73769edbd97410aacfb3560ebb817f882d141517
     168Would you like to add another user? [y/N]:
     169
     170Questionnaire interactif 7
     171
     172Please Enter the IP address of this host [134.157.179.48]:>
     173
     174Using IP: 134.157.179.48
     175Please select the IDP Peer for this node:
     176        -------------------------------------------
     177        *[1] : ESGF-PCMDI-9 -> pcmdi9.llnl.gov
     178         [2] : ESGF-PCMDI   -> pcmdi3.llnl.gov
     179         [3] : ESGF-JPL     -> esg-gateway.jpl.nasa.gov
     180         [4] : ESGF-ORNL    -> esg2-gw.ccs.ornl.gov
     181         [5] : ESGF-BADC    -> cmip-gw.badc.rl.ac.uk
     182         [6] : ESGF-DKRZ    -> ipcc-ar5.dkrz.de
     183         [7] : ESGF-PNNL    -> esg1-gw.pnl.gov
     184         [8] : ESGF-ANL     -> dev.esg.anl.gov
     185         [9] : ESGF-PCMDI-TEST3 -> esgf-node3.llnl.gov
     186        -------------------------------------------
     187         [C] : (Manual Entry)
     188        -------------------------------------------
     189select [1] > C
     190Please enter the IDP Peer's name [ESGF-PCMDI-9] VESGDEV-IDX
     191Please enter the IDP Peer's hostname [pcmdi9.llnl.gov] vesgdev-idx.ipsl.jussieu.fr
     192
     193You have selected: (Manual Entry)
     194VESGDEV-IDX -> vesgdev-idx.ipsl.fr
     195
     196Is this correct? [Y/n] Y
     197
     198Questionnaire interactif 8
     199
     200Loading KeyStore /esg/config/tomcat/esg-truststore.ts...
     201Opening connection to vesgdev-idx.ipsl.fr:443...
     202Starting SSL handshake...
     203Do not currently have this certificate
     204
     205Server sent 2 certificate(s):
     206
     207 1 Subject CN=vesgdev-idx.ipsl.fr, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     208   Issuer  CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     209   sha1    cf f9 20 2b ce a6 bc b0 5d b4 a7 bb 0c 08 18 99 14 47 a6 86
     210   md5     bd 6d ab cb 0b 75 58 fb 54 52 89 60 8e 1b 44 b8
     211
     212 2 Subject CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     213   Issuer  CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     214   sha1    06 09 9b cc b6 70 6f 3e 59 00 34 b9 fa 0a ba 87 0b f1 16 10
     215   md5     0b b0 a3 56 f6 a7 c7 32 7e 35 b5 b9 e3 bb cd 26
     216
     217Enter certificate to add to trusted keystore or 'q' to quit: [1] > Y
     218
     219Questionnaire interactif 9
     220
     221Creating directory /esg/content/thredds/esgcet
     222INFO       2013-08-02 16:48:46,144 Writing THREDDS ESG master catalog /esg/content/thredds/esgcet/catalog.xml
     223INFO       2013-08-02 16:48:46,173 Writing THREDDS root catalog /esg/content/thredds/catalog.xml
     224THREDDS dataset root directories (option=thredds_dataset_roots)
     225Each entry has the form 'path_identifier | absolute_directory_path':
     226Current value is:
     227
     228esg_dataroot | /esg/data
     229
     230Enter lines, or <RETURN> to end
     231Add new line:
     232
     233Bug 1
     234
     235Processing esgf_node_manager-0.1.5-py2.7.egg
     236creating /usr/local/uvcdat/1.3.3/lib/python2.7/site-packages/esgf_node_manager-0.1.5-py2.7.egg
     237Extracting esgf_node_manager-0.1.5-py2.7.egg to /usr/local/uvcdat/1.3.3/lib/python2.7/site-packages
     238Adding esgf-node-manager 0.1.5 to easy-install.pth file
     239Installing esgf_node_manager_initialize script to /usr/local/uvcdat/1.3.3/bin
     240
     241Installed /usr/local/uvcdat/1.3.3/lib/python2.7/site-packages/esgf_node_manager-0.1.5-py2.7.egg
     242Processing dependencies for esgf-node-manager==0.1.5
     243Finished processing dependencies for esgf-node-manager==0.1.5
     244Traceback (most recent call last):
     245  File "/usr/local/uvcdat/1.3.3/bin/esgf_node_manager_initialize", line 5, in <module>
     246    pkg_resources.run_script('esgf-node-manager==0.1.5', 'esgf_node_manager_initialize')
     247  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 505, in run_script
     248  File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1245, in run_script
     249  File "/usr/local/uvcdat/1.3.3/lib/python2.7/site-packages/esgf_node_manager-0.1.5-py2.7.egg/EGG-INFO/scripts/esgf_node_manager_initialize", line 10, in <module>
     250    from migrate.versioning.exceptions import DatabaseAlreadyControlledError
     251ImportError: No module named exceptions
     252ERROR: Could not create esgf manager database tables in esgcet
     253
     254rm -Rf /usr/local/uvcdat/1.3.3/lib/python2.7/site-packages/sqlalchemy_migrate-0.7.2-py2.7.egg/
     255esg-node --type [data compute index idp] --install
     256
     257Supprimer le répertoire sqlalchemy_migrate-0.7.2-py2.7.egg puis relancer l'installation
     258
     259Questionnaire interactif 10
     260
     261# ESGF cronjob BEGIN ###
     26235 0,12 * * * ESG_USAGE_PARSER_CONF=/esg/config/gridftp/esg-bdm-usage-gridftp.conf /esg/tools/esg_usage_parser
     263# ESGF cronjob END ###
     264Is this ok ? [Y/n]Y
     265
     266Questionnaire interactif 11
     267
     268# ESGF cronjob BEGIN ###
     26935 0,12 * * * ESG_USAGE_PARSER_CONF=/esg/config/gridftp/esg-bdm-usage-gridftp.conf /esg/tools/esg_usage_parser
     2705 0,12 * * * ESG_USAGE_PARSER_CONF=/esg/config/gridftp/esg-server-usage-gridftp.conf /esg/tools/esg_usage_parser
     271# ESGF cronjob END ###
     272Is this ok ? [Y/n]Y
     273
     274Questionnaire interactif 12
     275
     276Server sent 2 certificate(s):
     277
     278 1 Subject CN=vesgdev-idx.ipsl.fr, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     279   Issuer  CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     280   sha1    cf f9 20 2b ce a6 bc b0 5d b4 a7 bb 0c 08 18 99 14 47 a6 86
     281   md5     bd 6d ab cb 0b 75 58 fb 54 52 89 60 8e 1b 44 b8
     282
     283 2 Subject CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     284   Issuer  CN=Globus Simple CA, OU=simpleCA-vesgdev-idx.ipsl.fr, OU=GlobusTest, O=Grid
     285   sha1    06 09 9b cc b6 70 6f 3e 59 00 34 b9 fa 0a ba 87 0b f1 16 10
     286   md5     0b b0 a3 56 f6 a7 c7 32 7e 35 b5 b9 e3 bb cd 26
     287
     288Enter certificate to add to trusted keystore or 'q' to quit: [1] > 1
     289
     290Fin
     291
     292esg-node restart
     293
     294
     295
    128296If you want to re-install it, you have to use the `force` option :
    129297{{{