Instructions on how to redeploy the Curator Gateway
This page is an archive of the steps necessary to redeploy the Curator Gateway. Redeployment is necessary to demonstrate the XML upload process. The first steps of this process must be performed by someone from the ESG team (e.g. Luca, Julien). The last step is performed by a member of the Curator team (e.g. Sylvia).
- Build via ant the "curator-release" target which will produce a curator.war file.
- scp curator.war USERNAME@dataportal.ucar.edu:/tmp
- ssh to dataportal
- cd /local/jakarta/rel/tomcat_curator/webapps
- Stop the Curator Gateway: /usr/local/bin/sudo /etc/rc3.d/S99zztomcat_rel_curator stop
- Back up the current curator directory (/usr/local/bin/sudo mv curator curator.x.xx.xxx; /usr/local/bin/sudo mkdir curator)
- cd curator
- /usr/local/bin/sudo mv /tmp/curator.war
- /usr/local/bin/sudo /local/jdk1.5.0_04/bin/jar xvf curator.war
- /usr/local/bin/sudo /etc/rc3.d/S99zztomcat_rel_curator start
- Verify that http://curator.ucar.edu/ is available. May take a while to start up. (If not available, try reinitializing the Gateway with the instructions below. It could be the DB is out of sync.)
- Verify that sesame is available by navigating to http://datagrid.ucar.edu:8300/openrdf-sesame/home/overview.view (If sesame is down ssh to datagrid and /etc/rc3.d/S97tomcat_rel_openrdf stop; /etc/rc3.d/S97tomcat_rel_openrdf start)
The Gateway must now be reinitialized. See instructions below.
Instructions on how to reinitialize the Curator Gateway
Note: Someone from the ESG team (e.g. Luca, Julien) needs to perform these instructions.
- ssh dataportal.ucar.edu
- cd /local/jakarta/rel/tomcat_curator/webapps/curator/Scripts/Curator
- /usr/local/bin/sudo chmod +x *
- /usr/local/bin/sudo ./rebuild-portal.sh (This one takes a while on account of all the dycore data)
- Verify that http://curator.ucar.edu/ is available. May take a while to start up.
Instructions on how to ingest and harvest ESMF XML into the database and Sesame store.
Note: Anyone part of the globus group on dataportal.ucar.edu can perform these instructions.
- ssh to dataportal.ucar.edu and execute the following command:
- /local/jakarta/rel/tomcat_curator/webapps/curator/Scripts/Curator/run-esmf-harvester.sh [xml file]. This script will take a few seconds to run. Log4j warnings like "log4j:WARN" can be ignored.
- Go to http://curator.ucar.edu/ and click on the login tab.
- openID: https://openid.prototype.ucar.edu/myopenid/esg_ncar_root_admin
- username: rootAdmin
- password: xxxxxxxxxxxx
- Once you are logged in, you need to invoke the following URL to trigger the facet re-initialization: https://curator.ucar.edu/query/admin/reload.htm ...which takes a few seconds.
- Navigating to this URL will redirect you to http://curator.ucar.edu/query/advanced.htm. Your data should now be loaded.
