Configuration Details

Configuring additional Code Insight Scan Servers is similar to configuring the first Code Insight Scan Server with a few exceptions. For each additional Scan Server, do as follows:

1. Register each additional Code Insight Scan Server on the Core Server.
2. In core.properties (<Code Insight_ROOT_DIR>\<version>\config\core\) on the Core Server, add an alias for the new Code Insight Scan Server and define the associated properties. Separate multiple aliases with commas.

scan.server.aliases = <ALIAS1>, <ALIAS2>, <ALIAS3>

scan.server.<ALIAS>.web = http://<SCAN_SERVER_IP_ADDRESS1>:<HTTP_PORT>/Code InsightScanEngine

scan.server.<ALIAS2>.web = http://<SCAN_SERVER_IP_ADDRESS2>:<HTTP_PORT>/Code InsightScanEngine

scan.server.<ALIAS3>.web = http://<SCAN_SERVER_IP_ADDRESS3>:<HTTP_PORT>/Code InsightScanEngine

3. Modify the configuration files on each additional Code Insight Scan Server. The configuration changes required to configure additional Code Insight Scan Servers are as follows:
a. The core.db.properties (<Code Insight_ROOT_DIR>\<version>\config\core\) file defines the database connection details for use by the Code Insight Scan Server. Copy this file from the Code Insight Core Server. This is the only file required in the core directory on each remote Code Insight Scan Server.
b. Update scanEngine.properties (<Code Insight_ROOT_DIR>\<version>\config\scanEngine\) with your Scan Server settings:
c. Set the coreServerUrl to point to your Code Insight Core Server URL.
d. Set serverURL to point to the URL of the Code Insight Scan Server you are configuring.
e. Set the scanServerName to the alias name of the server you are configuring from core.properties on the Core Server, denoted as <ALIAS> in Step 2, that registers this instance of the Code Insight Scan Server.
4. Copy the Code Insight Key to each Code Insight Scan Server. Contact Revenera if you need to obtain a key.

Note:Code Insight Analyzer requires a new key with data services enabled.

5. Copy the Code Insight Data libraries to each additional Code Insight Scan Server. See Installing the Compliance Library for additional information.
6. Copy Tomcat to each additional Code Insight Scan Server. See Extracting Application Files and Configuring the Tomcat Web Server for additional information.
a. Only the Code InsightScanEngine directory (exploded war file) is required in the Tomcat web applications directory (<Code Insight_ROOT_DIR>\<version>\tomcat\webapps).
b. Remove the Code Insight directory before starting Tomcat.
c. Ensure that the Tomcat cache is flushed. You can do this by removing all contents from the <Code Insight_ROOT_DIR>\<version>\tomcat\work\Catalina\localhost\ directory.
d. Copy the database driver to Tomcat. See Installing the Database Driver.

For assistance if you need to generate custom source code fingerprints on multiple servers, contact Revenera Support.