Changes between Version 8 and Version 9 of ESGFCordexDataPublication
- Timestamp:
- Apr 11, 2014 12:05:05 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ESGFCordexDataPublication
v8 v9 194 194 }}} 195 195 196 [[NoteBox(note, To remove all tables : ` ./esginitialize -d 0`)]]196 [[NoteBox(note, To remove all tables : `esginitialize -d 0`)]] 197 197 198 198 == Using the ESGF Publisher == … … 215 215 esgf 216 216 $ cd /usr/local/uvcdat/1.4.0/bin 217 $ ./esgscan_directory -i /esg/config/esgcet/esg.ini --project cordex -o ~/cordex.txt /datasets /CORDEX217 $ ./esgscan_directory -i /esg/config/esgcet/esg.ini --project cordex -o ~/cordex.txt /datasets 218 218 $ sudo ./esgpublish -i /esg/config/esgcet/esg.ini --map ~/cordex.txt 219 219 }}} … … 337 337 === Access files === 338 338 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"/> 339 Finally, 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 343 346 }}} 344 347 … … 347 350 {{{ 348 351 #!sh 349 $ cat /usr/local/apache-tomcat-7.0.47/webapps/esg-orp/WEB-INF/classes/esg/orp/orp/config/esgf_policies_local.xml 352 cat /esg/config/esgf_policies_local.xml 350 353 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 351 354 … … 354 357 It will not be overridden by a software update. --> 355 358 <policies xmlns="http://www.esgf.org/security"> 356 <policy resource=".*CORDEX.*" attribute_type="ANY" attribute_value="" action="Read"/> 359 357 360 <!-- The following statements allow all members of group "CMIP5 Research" or "CMIP5 Commercial" to read any local URL that contains "cmip5". 358 361 Note that the groups "CMIP5 Research" and "CMIP5 Commercial" are administered by PCMDI --> … … 375 378 <!-- The following statements makes all resources freely available for download --> 376 379 <!-- <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"/> 378 383 </policies> 379 384 }}} 380 385 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 386 Finally , you have to restart the services : 387 {{{ 388 #!sh 389 esg-node --restart 390 }}} 391 392 392 393 393 394 == v20140328 ==