Feature

Once Germain Database, Germain Enterprise and all third-party software are installed, you need to initialize Germain configuration.

Configuration

Extract GermainAPMService-xxxx (we will refer the extracted path as $SERVICE_HOME) which has the required JSON files under $SERVICE_HOME/install/configuration/.

First you have to inject the json from core folder.

Injection via Germain Config Tool (Automatic)

In order to deploy a basic configuration, please use the import function of the Germain Config Tool which is located under $SERVICE_HOME/bin

To import the full configuration folder, use the following command:

On Windows:     bin\gct.bat -c imp <path to configuration directory>
CODE
On Linux:       bin/gct.sh -c imp <path to configuration directory>
CODE

For detailed errors during command execution, see the config-tool.log file under var/logs. More details on the Germain Config Tool can be found in $SERVICE_HOME/install/configuration/gct.txt

Injection via Germain Configuration Console (Manual)

  • IMPORTANT - When uploading JSONs from any other folder than core make sure to check the “Merge” check box else it will over write the injected data from earlier REST calls


Follow below steps to perform configuration injection using the Germain Configuration Console:

  • Login to the Germain Configuration Console (e.g. http://localhost:8080/germainapm/config)

  • On the top right corner you should see link for “Rest Client” (below the logout button)

  • Click the link and it should open a window with REST client

  • First you need to upload germain.apm.json from the core folder

  • Copy the contents of this file, paste it in Request Body, keep Qualified Name as germain.apm and HTTP Method as PUT

  • Run it by clicking Execute

  • Once this file is uploaded and browser refreshed you should see screen like below:

  • For uploading rest of the jsons, make sure the base json is injected first. Example germain.apm.monitoringConfig.json needs to be injected before injecting germain.apm.monitoringConfig.*.json

  • You need to make sure the correct Qualified Name is selected. Typically, Qualified Name will be as same as the filename (except .json extension). Other way is to click on the link in the above screen depending on which json you are uploading

  • After all the json from core folder are uploaded, you can move on to other folders like: ux, siebel, …