Skip to content

Shutdown Instructions

pchengi edited this page Oct 11, 2013 · 16 revisions

###Shutdown Status

During the US Government shutdown, the following actions should be taken by all Data Node administrators:

Display Shutdown Notification (Index nodes only)

Display notification about the US Government Shutdown and a link to this resource on the Web-FrontEnd.

  1. Backup /usr/local/tomcat/esgf-web-fe/WEB-INF/views/common/banner.jsp
  2. Download http://esg-dn1.nsc.liu.se/dist/shutdown-notice, rename the file as banner.jsp and copy in place of the file mentioned above.

No truststore download

Prevent your server from re-downloading the ESGF trust-store from the PCMDI server by issuing the following command ar root:

esg-node --set-auto-fetch-certs false

Attribute Service

Use the BADC Attribute Service for CMIP5 access control (instead of the usual PCMDI Attribute Service).

Edit the file /esg/config/esgf_ats_static.xml. Remove all current references to CMIP5 endpoints, and replace them with the following endpoints (within XML brackets - not shown because of wiki limitations...):

attribute type="CMIP5 Research" attributeService="https://esgf-index1.ceda.ac.uk/esgf-idp/saml/soap/secure/attributeService.htm" description="Users of CMIP5 data for non-commercial research purposes only" registrationService="https://esgf-index1.ceda.ac.uk/esgf-idp/secure/registrationService.htm"

attribute type="CMIP5 Commercial" attributeService="https://esgf-index1.ceda.ac.uk/esgf-idp/saml/soap/secure/attributeService.htm" description="Users of CMIP5 data for commercial purposes" registrationService="https://esgf-index1.ceda.ac.uk/esgf-idp/secure/registrationService.htm"/

Also, make sure that the file /esg/config/esgf_ats.xml does NOT contain any CMIP5 references, and is NOT automagically updated to contain them.

wget Script Template (Index Nodes Only)

Backup /usr/local/tomcat/webapps/esg-search/WEB-INF/wget-template

Replace it with http://esgf-data.dkrz.de/public/wget-template

Restart your node

Clone this wiki locally