5. Centrally, in the System Administration application in Orchestra, update the Statistics Settings section of the Parameters tab, so that the Enabled check box is checked, Host Address is set to http://<ip-address-to-stat-server> (normally the Orchestra central server) and Address Port is set to 8080.
1. Open a database tool that allows you to run a database script (e.g. SQL Developer for Oracle Database, or SQL Server Management Studio for Microsoft SQL) For PostgreSQL see special instructions below.
2. Run the script corresponding to your database in a tool that can execute the script:
1. Make sure that the PostgreSQL bin folder is added to environment variables.
2. Open the command prompt in <Queue Agent_install_dir>/conf/db/ directory.
3. Run the command:
psql -U postgres -f qagent-postgres.sql
Configure Queue Agent
This section is applicable to both Linux and Windows and for all Queue Agents.
1. Skip this step, if having a central Queue Agent.
In the <Queue Agent_install_dir>/conf/agent.conf file, add or remove rows, depending on which database you want to use.
2. Update the values below in <Queue Agent_install_dir>/conf/agent.conf:
Parameter
Default value
Description
agent.http.port
18080
Web Server on Queue Agent
central.host
<ip-address-to-central-server>
Location of Central
central.websocket.port
8787
Fixed, do not change!
device.deviceController.websocket.port
18888
Port for Gateway to connect
agent.https.enabled
false
Used for changing the start protocol (http/https) of the start url for surfaces.
Optionally, set the agent name to something else than hostname, by opening the file run.bat/run.sh and uncommenting the row:
:: SET AGENT_NAME=auto
To set the agent public ip/host address to something else than the default, open the file run.bat/run.sh and uncomment the row:
:: SET AGENT_HOST_ADDRESS=auto
For example, the ip/host parameter needs to be updated when using an external router. If the above parameters are not updated, their default values will be used.
3. Optionally, uncomment and configure the heartbeat interval property:
#central.heartbeat.intervalMillis = 30000
The default value is 30000 ms and the maximum value is 120000 ms.
4. For advanced Queue Agent configuration, when it comes to Business Intelligence, the Statistics Settings can be updated in the Parameters tab in the System Administration application.
9. Centrally, in the System Administration application in Orchestra, update the Statistics section of the Parameters tab, so that the Enabled check box is checked, Host Address is set to http://<ip-address-to-stat-server> (normally the Orchestra central server) and Address Port is set to 8080.