Changes between Version 8 and Version 9 of ESGFCordexDataPublication


Ignore:
Timestamp:
Apr 11, 2014 12:05:05 PM (7 years ago)
Author:
carlos
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ESGFCordexDataPublication

    v8 v9  
    194194}}}
    195195
    196 [[NoteBox(note, To remove all tables : `./esginitialize -d 0`)]]
     196[[NoteBox(note, To remove all tables : `esginitialize -d 0`)]]
    197197
    198198== Using the ESGF Publisher ==
     
    215215esgf
    216216$ cd /usr/local/uvcdat/1.4.0/bin
    217 $ ./esgscan_directory -i /esg/config/esgcet/esg.ini --project cordex -o ~/cordex.txt /datasets/CORDEX
     217$ ./esgscan_directory -i /esg/config/esgcet/esg.ini --project cordex -o ~/cordex.txt /datasets
    218218$ sudo ./esgpublish -i /esg/config/esgcet/esg.ini --map ~/cordex.txt
    219219}}}
     
    337337=== Access files ===
    338338
    339 Finally, in order to grant access to our files you need to add the line below :
    340 
    341 {{{
    342 <policy resource=".*CORDEX.*" attribute_type="ANY" attribute_value="" action="Read"/>
     339Finally, in order to grant access to the files you need to add the lines below :
     340
     341{{{
     342 <policy resource=".*cordexnoncommercial.*" attribute_type="CORDEX_Research" attribute_value="user" action="Read"/>
     343    <policy resource=".*view.*" attribute_type="CORDEX_Research" attribute_value="user" action="Read"/>
     344    <policy resource=".*cordex.*" attribute_type="wheel" attribute_value="super" action="Write"/>
     345
    343346}}}
    344347
     
    347350{{{
    348351#!sh
    349 $ cat /usr/local/apache-tomcat-7.0.47/webapps/esg-orp/WEB-INF/classes/esg/orp/orp/config/esgf_policies_local.xml
     352cat /esg/config/esgf_policies_local.xml
    350353<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    351354
     
    354357     It will not be overridden by a software update. -->
    355358<policies xmlns="http://www.esgf.org/security">
    356      <policy resource=".*CORDEX.*" attribute_type="ANY" attribute_value="" action="Read"/>
     359
    357360    <!-- The following statements allow all members of group "CMIP5 Research" or "CMIP5 Commercial" to read any local URL that contains "cmip5".
    358361         Note that the groups "CMIP5 Research" and "CMIP5 Commercial" are administered by PCMDI -->
     
    375378    <!-- The following statements makes all resources freely available for download -->
    376379    <!-- <policy resource=".*" attribute_type="ANY" attribute_value="" action="Read"/> -->
    377 
     380    <policy resource=".*cordexnoncommercial.*" attribute_type="CORDEX_Research" attribute_value="user" action="Read"/>
     381    <policy resource=".*view.*" attribute_type="CORDEX_Research" attribute_value="user" action="Read"/>
     382    <policy resource=".*cordex.*" attribute_type="wheel" attribute_value="super" action="Write"/>
    378383</policies>
    379384}}}
    380385
    381 
    382 
    383 In production status, you will have to something like this:
    384 {{{
    385 <policy resource=".*CORDEX.*" attribute_type="CORDEX_Research" attribute_value="user" action="Read"/>
    386 <policy resource=".*CORDEX.*" attribute_type="CORDEX_Research" attribute_value="default" action="Read"/>
    387 <policy resource=".*CORDEX.*" attribute_type="CORDEX_Commercial" attribute_value="user" action="Read"/>
    388 <policy resource=".*CORDEX.*" attribute_type="CORDEX_Commercial" attribute_value="default" action="Read"/>
    389 }}}
    390 
    391 
     386Finally , you have to restart the services :
     387{{{
     388#!sh
     389esg-node --restart
     390}}}
     391
     392 
    392393
    393394== v20140328 ==