Difference between revisions of "Standard Server Configuration"

From Dryad wiki
Jump to: navigation, search
(Created page with " We create scripts and symlinks wherever possible to keep all machines using the directories/commands listed here, regardless of differences in the underlying OS. This makes sy...")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
We create scripts and symlinks wherever possible to keep all machines using the directories/commands listed here, regardless of differences in the underlying OS. This makes  system maintenance much easier, and allows our scripts to work correctly on any standard Dryad system.
  
We create scripts and symlinks wherever possible to keep all machines using the directories/commands listed here, regardless of differences in the underlying OS. This makes  system maintenance much easier, and allows our scripts to work correctly on any standard Dryad system.
+
*All content is owned by, and processes run by, the primary login account for the machine. This is either 'dryad' or 'ubuntu'.
 
+
*All major directories are symlinked from the primary login's home directory, for easy access
*All content is owned by the dryad user.  
+
*The handle server should only run on production, because we don't want multiple copies registered with the root handle server.
*DSpace/Tomcat runs as the dryad user.  
 
*All major directories are symlinked from the Dryad home directory, for easy access
 
*The handle server should only run on production, because we don't want multiple copies registered with the root handle server.  
 
*Handle prefix: 10255
 
*DOI prefix: 10.5061
 
  
 
Dryad/DSpace:
 
Dryad/DSpace:
* code is built to /opt/dryad (or an instance-specific directory, like dryad-demo)
+
* code is built to /opt/dryad
 
* dspace logs: /opt/dryad/log
 
* dspace logs: /opt/dryad/log
  
Line 18: Line 14:
 
* Tomcat logs: (Dryad home)/tomcat/logs
 
* Tomcat logs: (Dryad home)/tomcat/logs
 
* Tomcat webapps: (Dryad home)/tomcat/webapps
 
* Tomcat webapps: (Dryad home)/tomcat/webapps
 +
 +
Apache:
 +
* To restart Apache: (Dryad home)/bin/apache-restart.sh
 +
* Apache configuration: (Dryad home)/apache/conf
 +
* Apache logs: (Dryad home)/apache/logs
 +
* Apache static pages: (Dryad home)/apache/htdocs
  
 
Postgres:
 
Postgres:
 
* Run the postgres client with the "standard" dryad user and database: postgres-client.sh
 
* Run the postgres client with the "standard" dryad user and database: postgres-client.sh
 
Hudson/Jenkins:
 
* installed at /hudson on the primary machine name (not  https://karya.nescent.org/hudson
 
  
 
Maven profile:
 
Maven profile:
 
* (Dryad home)/maven/conf/settings.xml
 
* (Dryad home)/maven/conf/settings.xml
 +
 +
[[Category:Software]]
 +
[[Category:Installation and Maintenance]]
 +
[[Category:Help]]
 +
[[Category:Technical Documentation]]

Latest revision as of 13:33, 21 February 2018

We create scripts and symlinks wherever possible to keep all machines using the directories/commands listed here, regardless of differences in the underlying OS. This makes system maintenance much easier, and allows our scripts to work correctly on any standard Dryad system.

  • All content is owned by, and processes run by, the primary login account for the machine. This is either 'dryad' or 'ubuntu'.
  • All major directories are symlinked from the primary login's home directory, for easy access
  • The handle server should only run on production, because we don't want multiple copies registered with the root handle server.

Dryad/DSpace:

  • code is built to /opt/dryad
  • dspace logs: /opt/dryad/log

Tomcat:

  • To restart Tomcat: (Dryad home)/bin/tomcat-restart.sh
  • Tomcat configuration: (Dryad home)/tomcat/conf
  • Tomcat logs: (Dryad home)/tomcat/logs
  • Tomcat webapps: (Dryad home)/tomcat/webapps

Apache:

  • To restart Apache: (Dryad home)/bin/apache-restart.sh
  • Apache configuration: (Dryad home)/apache/conf
  • Apache logs: (Dryad home)/apache/logs
  • Apache static pages: (Dryad home)/apache/htdocs

Postgres:

  • Run the postgres client with the "standard" dryad user and database: postgres-client.sh

Maven profile:

  • (Dryad home)/maven/conf/settings.xml