Hydra Server: Operation

Starting & Stopping the Service

The Hydra service is controlled through the standard Tomcat scripts.
service tomcat5 [stop|start|restart|status]
There are no other controls necessary. All the standard Tomcat options may be used and references found in the standard locations.

Service Information

Service Endpoints

A Hydra service presents a number of service endpoints. A Hydra service configured to have three key stores on a machine called "example01.net" will expose:
https://example01.net:8443/1/glite-data-hydra-service/services/Hydra
https://example01.net:8443/2/glite-data-hydra-service/services/Hydra
https://example01.net:8443/3/glite-data-hydra-service/services/Hydra

Logging and Logs

A Hydra service logs information to several places.

The tomcat-specific logging is sent to the standard log files:
/var/log/tomcat5/catalina.out
and
/var/log/tomcat5/tomcat.log

The keystore-specfic logging is sent to:
/var/log/tomcat5/glite-data-hydra-service-n
Where "n" is the keystore instance.

The trustmanager Authentication logging is sent to:
/var/log/tomcat5/trustmanager.log

Logging levels

The logging levels may be set for the tomcat logging in the standard manner. This is not part of Hydra and is not discussed here.

The keystore-specific logging levels are set in the file:
/etc/hydra-service/log4j.n.properties
Where "n" is the keystore instance. A restart of the overall Hydra service is needed to effect the changes.

The trustmanager authentication-specific logging levels are set in the file:
/etc/tomcat5/log4j-trustmanager.properties
A restart of the overall Hydra service is needed to effect the changes.

The logging syntax follows the standard log4j style.

-- JohnWhite - 06-Jul-2012

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2012-07-09 - JohnWhite
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback