Project

General

Profile

Statistics
| Revision:

# Date Author Comment
10245 05/04/2017 11:49 AM Matt Jones

Define location of the AWS binary so the tool works under CRON.

10244 05/03/2017 11:25 PM Matt Jones

Modified backup script to improve efficiency.

Now, lists of metadata and data files that were last backed up is stored in the /var/metacat/metacat-backup folder, and
these are diffed with the current file lists to discover new files. These are then copied to AWS S3. The AWS...

10237 04/25/2017 11:23 PM Matt Jones

Add backup script to copy files to Amazon S3.

9521 02/16/2016 08:41 AM Chris Jones

In order to access the JWT authentication token, we need to configure the Apache installation to pass the Authorization header on to CGI scripts. Do this with mod_rewrite.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/42

9386 11/02/2015 02:34 PM ben leinfelder

update documentation to reference Tomcat 7, Java 7 and newer apache config file name conventions. https://projects.ecoinformatics.org/ecoinfo/issues/6855

9270 07/29/2015 02:53 PM ben leinfelder

For sample Apache config, disable SSLv2 and SSLv3 in favor of TLS. https://projects.ecoinformatics.org/ecoinfo/issues/6827

9202 05/08/2015 11:11 AM Jing Tao

Use the wild card in the class path. So it will not be pain if the jar files were changed.

9141 03/06/2015 02:10 PM Jing Tao

Make them executable.

9140 03/05/2015 11:05 PM Jing Tao

Add a script file to restore knb db from a dumped file.

9139 03/05/2015 11:02 PM Jing Tao

Add a script to dump the knb database.

9090 02/04/2015 09:47 AM Jing Tao

Add the option -h for tar command in order to follow the link.

9011 12/02/2014 05:15 PM Jing Tao

Don't remove postgresql 8.4 and 9.1
Don't remove data directory of postgresql 8.4

8960 11/10/2014 02:34 PM ben leinfelder

add JkOptions directive and encoded slash options for dataone and solr query support in the URLs that metacat can get (they were in the -ssl version of this file already)

8945 10/31/2014 04:07 PM Jing Tao

add the code to install xmlstarlet.

8944 10/30/2014 07:58 PM Jing Tao

Find files of which type is link.

8942 10/28/2014 08:23 PM Jing Tao

Keep /var/lib/postgresql/8.4/main directory.

8941 10/28/2014 04:11 PM Jing Tao

Add the code to stop tomcat and apache.

8940 10/28/2014 04:03 PM Jing Tao

Add the "-y" option to force removing the old postgresql without prompting a y/n question.

8939 10/28/2014 02:07 PM Jing Tao

Restore the database for a gzipped sql file.

8938 10/28/2014 01:35 PM Jing Tao

Added the code to gzip the output file in the dumpall command. This will save disk space.

8937 10/24/2014 03:46 PM Jing Tao

Modified the redirect rules which didn't work.

8936 10/24/2014 02:50 PM Jing Tao

Add the code to add the attribute useHttpOnly='false' to the Context element in the context.xml file.

8935 10/24/2014 01:02 PM Jing Tao

Fixed a bug the code can get the argument from the command line.

8934 10/24/2014 12:47 PM Jing Tao

Added the code to change the permission of the backup file so the postgres user can read it.

8933 10/24/2014 12:24 PM Jing Tao

Added the code to check if the metacat backup file exists.
Added the code "exist 0" at the end of the scripts.

8932 10/24/2014 12:08 PM Jing Tao

Added the .conf to those site files since the new apache server only loads the sites with the extension.

8931 10/24/2014 09:45 AM Jing Tao

Add the code to vacuum the db.

8930 10/23/2014 04:32 PM Jing Tao

Add the code to enable the 8009 port for ajp connection in the server.xml of tomcat7.

8929 10/22/2014 12:29 PM Jing Tao

Added the code to modify the geo data directory in the metacat.properties file.

8928 10/22/2014 11:43 AM Jing Tao

Fixed some bugs to restore postgresql data.

8927 10/21/2014 09:30 PM Jing Tao

Add the code install some components for installing tomcat7

8926 10/21/2014 09:13 PM Jing Tao

Use a variable to replace the hard code.

8925 10/21/2014 07:30 PM Jing Tao

Use the version directly.

8924 10/21/2014 07:28 PM Jing Tao

Fixed a typo.

8923 10/21/2014 07:26 PM Jing Tao

put the date to an output file.

8922 10/21/2014 06:56 PM Jing Tao

A script for vacuum the db.

8921 10/21/2014 06:32 PM Jing Tao

Add a script to move the db from 8.3 to 9.1 base on a dumped file.

8920 10/21/2014 10:58 AM Jing Tao

Use the pg_dumpall command to back up all information of the database.

8919 10/20/2014 07:35 PM Jing Tao

Add the code to backup the cerificate/key of the apache server.

8918 10/20/2014 04:46 PM Jing Tao

Removed the code to write the backup file to a dvd drive.

8917 10/20/2014 02:56 PM Jing Tao

Added the code to copy Metacat and other web applications from the webapps directory in tomcat6 to tomcat7.
It also update the value of deploy.applicationDir in the metacat.properties file as well.

8916 10/20/2014 01:10 PM Jing Tao

Only insert new configuration lines once to the /etc/tomcat7/catalina.properties.

8915 10/20/2014 11:34 AM Jing Tao

Used variables to replace hard code in sed command. Also we have to escape the variables.

8913 10/20/2014 09:42 AM Jing Tao

Used variables to replace the hard code.

8912 10/17/2014 06:15 PM Jing Tao

Add the code to modify the workers.properties file.

8911 10/17/2014 05:13 PM Jing Tao

Fixed typo.

8909 10/17/2014 04:49 PM Jing Tao

Add a script to install openjdk 7 and tomcat 7.
It also configures java, javac,keytools and tomcat7.

8883 10/10/2014 01:23 PM Jing Tao

Backup the /etc/apache2/site-enabled directory.

8882 10/09/2014 04:40 PM Jing Tao

Remove the code to stop/start ldap server.
Change the script name to stop/start tomcat.
Also backup metacat.properties.

8707 03/21/2014 01:21 PM ben leinfelder

include SSLVerify* directives for client certificates and a pointer for getting the DataONE chain files.

8700 03/06/2014 03:28 PM Lauren Walker

Edited the replicaPolicies script to print out a list of IDs that have a different authoritative member node, the number of successes, and failures at the end.

8699 03/05/2014 11:46 AM Lauren Walker

Add comments to bash script to explain its function and dependencies

8698 03/05/2014 11:30 AM Lauren Walker

Added a bash script to call /replicaPolicies/{pid} via the DataONE API for all objects in a MN or a list of ids.

8549 01/31/2014 03:09 PM Jing Tao

Add a note to let users know where to run the script.

8490 01/10/2014 03:06 PM Jing Tao

Change the base directory location.

8483 01/09/2014 04:34 PM Jing Tao

Add a double quotes at $@. This will make the any argument in the double quotes as one argument.

8482 01/09/2014 04:18 PM Jing Tao

Pass all arguments to the java class.

8480 01/09/2014 12:11 PM Jing Tao

Add a script to help administor to manage usrs/groups.

8289 10/08/2013 12:04 PM ben leinfelder

add sample SSLCertificateChainFile directive to DataONE section.

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082

7357 08/23/2012 03:03 PM ben leinfelder

include certificate export SSL options as an example (used heavily for DataONE and Metacat Replication)

7052 03/09/2012 12:40 PM pippin

Added the following values to the HTTPD site configuration:
JkOptions +ForwardURICompatUnparsed
AllowEncodedSlashes On
AcceptPathInfo On

6812 12/21/2011 10:52 AM ben leinfelder

include SSL settings for client certificate-based replication

6558 10/27/2011 04:01 PM ben leinfelder

remove reference to tomcat5.5 in favor of tomcat6. including the "custom" start up script that used the sun jdk -- this can be configured rather than coded into the script.

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5153 12/07/2009 04:01 PM daigle

Create some basic workflow scheduler system installation documents

5138 11/24/2009 12:26 PM daigle

Create database scripts for workflow scheduler

4990 07/24/2009 11:49 AM Jing Tao

Add a new line for NameVirtualHost. Otherwise, the host will fail.

4926 04/15/2009 11:13 AM daigle

Add ssl virtualhost. Change non-ssl to work with ssl.

4819 02/27/2009 10:42 AM daigle

distribute perl autosplit.ix file with metacat. change tomcat startup script output to echos.

4815 02/20/2009 01:28 PM daigle

update workers.properties with more standard ajp13 worker name (not used until apt-get install project)

4810 02/17/2009 02:45 PM daigle

moved file from metacat/bin to metacat/src/scripts/bash since eclipse uses <project>/bin as a default build directory and these files will consistently get blown away locally by eclipse.

4692 12/19/2008 12:11 PM daigle

Added files to create any version of database schema from scratch

4656 12/08/2008 10:38 AM daigle

Scripts to support a debian package build

4655 12/08/2008 10:38 AM daigle

Move these scripts to the debian directory

4647 12/03/2008 08:57 AM daigle

use standard ajp13 worker instead of custom knb

4624 11/24/2008 02:10 PM daigle

moved scripts from bin dir

4569 11/18/2008 02:16 PM daigle

added lsid apache/ubuntu confguration file (for sites-available)

4375 09/23/2008 04:18 PM daigle

Export environment variables in tomcat startup file

4274 08/20/2008 04:20 PM daigle

Initial addition of apache/tomcat configuration files for ubuntu