Skip to main content
Skip table of contents

Germain UX Enterprise (on Tomcat)

Feature

Deploy Germain Enterprise. More details on Germain Enterprise.

Installation

Extract the contents of the Germain Server distribution to a temporary folder, then move the tomcat8 directory to a location of your choice. Set the CATALINA_HOME environment variable to the Tomcat directory.

Windows Service

To install Tomcat as a Windows service, navigate to the Tomcat directory and execute the following commands:

JAVA
cd %CATALINA_HOME%
.\bin\service.bat install GermainAPMServer

It will create a Windows Service with a name like "Apache Tomcat #.# GermainAPMServer".

You can adjust the Java runtime properties for the service by using the following command:

JAVA
cd %CATALINA_HOME%
.\bin\tomcat8w.exe //ES//GermainAPMServer

For example, to have the server crash in case of running out of memory, add the following parameter:

JAVA
cd %CATALINA_HOME%
-XX:+CrashOnOutOfMemoryError

Configuration

Port Settings

By default, the Tomcat application server will be accessible on port 8080. To change the port, adjust the following line in CATALINA_HOME/conf/server.xml:

JAVA
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />

Authentication Settings

Germain provides the following authentication methods:

For more information, see User Management.

Memory Settings

To change the amount of memory allocated to the Tomcat server, adjust the environment variables (setenv.sh or setenv.bat) under CATALINA_HOME/bin:

XML
export CATALINA_OPTS="$CATALINA_OPTS -Xmx8g"

Database Settings

Use ZooKeeper to update the JDBC connection information to match your configuration and datamart connection.

Example to update the Germain Datamart JDBC details:

XML
set /config/germain/application/germain.datamart.driverClassName "com.mysql.jdbc.Driver"
set /config/germain/application/germain.datamart.url "jdbc:mysql://localhost:3306/APM_DATAMART?rewriteBatchedStatements=true&useSSL=false&allowPublicKeyRetrieval=true"
set /config/germain/application/germain.datamart.username "apm_datamart"
set /config/germain/application/germain.datamart.password "apm_datamart"

Example to update the Germain Config JDBC details:

XML
set /config/germain/application/germain.config.driverClassName "com.mysql.jdbc.Driver"
set /config/germain/application/germain.config.url "jdbc:mysql://localhost:3306/APM_CONFIG?rewriteBatchedStatements=true&useSSL=false&allowPublicKeyRetrieval=true"
set /config/germain/application/germain.config.username "apm_config"
set /config/germain/application/germain.config.password "apm_config"

ActiveMQ Settings

Use ZooKeeper to adjust the ActiveMQ broker URL if running on a different host than the Tomcat server.

XML
set /config/germain/application/germain.messaging.brokerUrl "failover:(tcp://localhost:61616?daemon=true&keepAlive=true)"

SMTP Settings

Use ZooKeeper to update the email settings to match your organization's SMTP settings.

XML
set /config/germain/application/spring.mail.from "alert@example.com"
set /config/germain/application/spring.mail.host "mail.host.com"
set /config/germain/application/spring.mail.username "alert@example.com"
set /config/germain/application/spring.mail.password "password"
set /config/germain/application/spring.mail.port "587"
set /config/germain/application/spring.mail.properties.mail.smtp.auth "true"
set /config/germain/application/spring.mail.properties.mail.smtp.starttls.enable "true"

Indexer Settings

Use ZooKeeper to update the indexer settings to target the URL of your Elasticsearch installation.

XML
set /config/germain/application/germain.indexer.url "http://localhost:9200/"

Running

Command Line

To run the Tomcat server from the command line, execute the following command:

BASH
# On Linux
cd $CATALINA_HOME
bin/startup.sh
# On Windows
cd %CATALINA_HOME%
.\bin\startup.bat

Similarly, to stop the Tomcat server from the command line, execute the following command:

BASH
# On Linux
cd $CATALINA_HOME
bin/shutdown.sh
# On Windows
cd %CATALINA_HOME%
.\bin\shutdown.bat

Windows Service

On Windows, the Germain Enterprise Server is registered as a system service. To start or stop the service, use the Services Console:

Germain Services on Windows Server - Germain UX

Unix

On Unix-based operating systems, the Germain Enterprise Server can be operated using the scripts located in the ./bin directory of the Germain Tomcat installation.

  • To start the server: bin/startup.sh

  • To stop the server: bin/shutdown.sh

Maintainance

Germain Enterprise State Monitoring

The Germain Enterprise Server logs status messages to a single location found under the Germain Tomcat root directory: <Tomcat Instance Root>/logs
In this directory, there are several log files that can be used to detect issues related to the Germain Enterprise Server:

  • catalina.out or catalina.yyyy-mm-dd.log

  • germainapmserver-stdout.yyy-mm-dd.log

  • config-services.log

  • query-services.log

  • ingestion-services.log

Service: Enterprise

Feature Availability: 2014.1

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.