Changes between Version 21 and Version 22 of ESGFNodeTutorial


Ignore:
Timestamp:
Jun 2, 2017 4:52:14 PM (4 years ago)
Author:
zequi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ESGFNodeTutorial

    v21 v22  
    66
    77== Index ==
     80. Prerequisites
    891. Previous installation clean up
    9102. Installation from scratch
    10 3. Configuration for publishing
     113. Configuration for publication
    11124. Known issues
    12135. References
     14
     15== 0. Prerequisites ==
     16
     171. You have to create a globus account - https://www.globusid.org/create
    1318
    1419== 1. Previous installation clean up ==
     
    320325}}}
    321326
     327Once the user is created, create permissions and roles as follows:
     328(reference documentation - https://acme-climate.atlassian.net/wiki/display/ESGF/Guide+to+ESGF+Publishing+and+Best+Practices)
     329
     330{{{
     331esgcet=# select * from esgf_security.role;
     332 id |   name    |     description     
     333----+-----------+---------------------
     334  1 | super     | Super User
     335  2 | none      | None
     336  3 | default   | Standard
     337  4 | publisher | Data Publisher
     338  5 | admin     | Group Administrator
     339  6 | user      | user role
     340(6 rows)
     341
     342esgcet=# select * from esgf_security.group;
     343 id |     name     |     description     | visible | automatic_approval
     344----+--------------+---------------------+---------+--------------------
     345  1 | wheel        | Administrator Group | t       | t
     346  2 | test_group   | test group          | t       | t
     347  3 | cordex_group | cordex group        | t       | t
     348(3 rows)
     349
     350esgcet=# select * from esgf_security.permission;
     351 user_id | group_id | role_id | approved
     352---------+----------+---------+----------
     353       2 |        2 |       4 | t
     354       2 |        2 |       6 | t
     355       2 |        3 |       6 | t
     356       2 |        3 |       4 | t
     357(4 rows)
     358}}}
     359
     360Add the following elements to /esg/config/esgf_policies_local.xml
     361
     362{{{
     363     <policy resource=".*test.*" attribute_type="test_group" attribute_value="user" action="Read"/>
     364     <policy resource=".*test.*" attribute_type="test_group" attribute_value="publisher" action="Write"/>
     365     <policy resource=".*cordex.*" attribute_type="cordex_group" attribute_value="user" action="Read"/>
     366     <policy resource=".*cordex.*" attribute_type="cordex_group" attribute_value="publisher" action="Write"/>
     367
     368}}}
     369
     370Add the following elements to /esg/config/esgf_ats_static.xml
     371
     372{{{
     373    <attribute
     374        type="test_group"
     375        attributeService="https://spock.meteo.unican.es/esgf-idp/saml/soap/secure/attributeService.htm"
     376        description="Test group for test data"
     377        registrationService="https://spock.meteo.unican.es/esgf-idp/secure/registrationService.htm"/>
     378
     379    <attribute
     380        type="cordex_group"
     381        attributeService="https://spock.meteo.unican.es/esgf-idp/saml/soap/secure/attributeService.htm"
     382        description="Test group for cordex data"
     383        registrationService="https://spock.meteo.unican.es/esgf-idp/secure/registrationService.htm"/>
     384}}}
     385
     386
    322387== Known issues ==
    323388