Deploying GRE in Genesys Administrator
Prerequisites
To install GRE on Configuration Servers 8.1.0 or later, Genesys Administrator 8.1.0 or later is required.
Procedure
Import the installation package into Genesys Administrator
- On the Deployment tab of Genesys Administrator, select Import.
- Select Installation CD-ROM.
- Click Next.
- Browse to the MediaInfo.xml file on the CD or the CD image location on the network (the path must be in UNC format).
- Click Next.
- To import the installation package, select GRE for your operating system as well as the appropriate type in the list:
- For Management Framework 8.1, the type is Business Rules Execution Server.
- For Management Framework 8.0 and earlier, the type is Genesys Generic Server.
- Select Next to start the import.
- Click Finish when the import is complete.
Install the GRE IP
- Select the Deployment tab in Genesys Administrator. The list of installation packages will now display GRE.
- Right-click and select Install Package for the IP for your operating system and type.
- Click Next to start the installation wizard. The following parameters must be defined/selected:
- Application Name for the GRE application
- Target Host—The host to which the .war file will be copied during the installation procedure
- Working Directory—The directory in which the .war file will be created
- Client Side IP Address (optional)
- Client Side Port (optional)
- Configuration Server hostname
- Configuration Server port
- Connection delay time in seconds
- Reconnect Attempts.
- On the next screen, enter Connection ID and Connection Port for GRE.
- Edit the Connection port for the genesys-rules-engine connection. The Connection Port is the connector port of the servlet container. For example, on Tomcat the default listening port is 8080. The Connection Protocol can be set in the configuration part under Provisioning.
- Verify the previously defined installation parameters on the Deployment Summary screen.
Configure the Rules Engine application
- In the Server Info section, verify the default listening port, as well as the connector port on which the Rules Engine Servlet receives requests:
- The ID value is the name of the Rules Engine web application. The default name of this application is genesys-rules-engine.
- The Listening port is the connector port of the servlet container. For example, on Tomcat the default listening port is 8080.
- The Connection Protocol must be http.
Settings in GRE
Description | Valid values | Default value | Takes effect |
deployed-rules-directory ( added to application template in 8.1.3) | |||
Specifies the directory in which to keep the working copy of deployed rule packages. When a package is deployed, a copy of the deployed package is placed here. When the rules engine is restarted, all packages defined in this directory are loaded and made available for execution. Specifying a deployed-rules-directory is recommended. If a value is not assigned to the deployed-rules-directory, the rule packages are placed in the WEB-INF\config sub-directory within the genesys-rules-engine web application directory. At this location the deployed rule packages may be deleted when an updated .war file is deployed. If you choose to change the default value, ensure that the path exists and that the application server can write to the specified directory. |
|
/GCTI/logs/GRS_Engine (8.1.3 onwards) | After restart |
max-number-rule-executions | |||
The maximum number of rules to be executed during a request. This is used to detect unwanted recursion when sequential-mode is false. If this maximum is reached an error is reported. May be set to -1 to denote no maximum. |
Any positive integer or -1 |
10,000 | Next rules execution |
sequential-mode | |||
Indicates whether to run the rules engine in sequential mode. In sequential mode, after the initial data set, no more data can be inserted or modified. This allows for the rules engine to operate in a simplified way. |
true/false |
false | On rules deployment |
verify-deployer-address | |||
Indicates whether to verify the TCP address of the application deploying rules to be that of an associated Genesys Rules Authoring Tool. |
true/false |
true | Immediately |
esp-worker-threads (new in 8.1.2) | |||
Specifies the maximum number of worker threads available when using the ESP interface to execute rules. |
Any positive integer |
5 | Immediately |
load-packages-on-start (new in 8.1.4) | |||
Indicates whether to load deployed rule packages at application start up. If packages are not loaded at startup (value=false), then a package is loaded on its first execution request. |
true/false |
true | Immediately |
json-hierarchical-driver (new in 8.1.4) | |||
With value true, the JsonHierarchicalStreamDriver class is used to serialize JSON responses. With value false, the JettisonMappedXmlDriver class is used. The Jettison driver is unaware of the original data type and will try to detect numerical values and omit the quotes, whereas the JsonHierarchicalStreamDriver will maintain the data type. |
true/false |
false | Immediately |
Next Steps
- Deploy the genesys-rules-engine.war file to your application server. See Deploying the .WAR files.