Need guidance on setting up the oi_connector and apm_bridge 2.03.
oi_connector deployment and configuration
Deployment
The oi_connector must be on a robot connected to/under the Primary hub but ideally not on the Primary hub robot itself. It can also be installed to a secondary hub connected directly to the Primary hub.
The oi_connector and apm_bridge should be co-located on the same robot.
If both probes are already on the Primary Hub, then please establish and use a dedicated robot for both the oi_connector and apm_bridge and deactivate the oi_connector on the Primary.
Here are the steps required to install the oi_connector on a robot under the Primary hub:
For an OI Connector instance deployed on a remote robot machine connected to the primary hub the following keys must be set via Raw configure:
The values of the following parameters can be set from Infrastructure Manager -> Setup -> Raw Configure. To do so, deactivate if the running probe is running, set the parameter values, and activate the probe again.
For example:
data_engine_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/data_engine
primary_hub_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/hub
connect_to_primary_hub = true
2. Configuration
Please add/adjust the following recommended keys and value:
skip_second_pass_ci_fetch = true
The keys listed below should already be present and set in the oi_connector but it's good to double-check and adjust their values as well.
get_ci_details_alive_time_days = 30 but this may need to be tested by setting it lower, e.g., 10
qos_bulk_size = 5000
qos_payload_bulk_size = 5000
get_ci_details_by_met_id_list = true
task_count = 1000
bulk_size = 2000
db_conn_max_pool_size = 15 (default is 10)
3. This oi_connector parameter needs to be set to false but under good processing could be set to true.
enable_alive_time_batches = false
4. loglevel = 1 or 2
5. Check the log for OutOfMemory errors, for example:
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
An attached file (oi_connector setup parameters) includes a partial extract to serve as a short reference for the <setup> section parameter values used in a very large environment which processes millions of messages.
apm bridge deployment and configuration
When the apm_bridge is deployed on the same robot as the oi_connector, it needs the following parameters updated with the relevant information,
primary_hub_address = /<domain_name>/ <primary_hub_name>/<primary_robotname>/hub
connect_to_primary_hub = true
After following the steps above, if the issue persists, please attach the oi_connector.log and apm_bridge.log and data_engine.log to your support case.
Network
When the oi_connecter and apm_bridge are offloaded/deployed on a separate robot under the Primary hub, best practice is that the robot is on the same subnet.
Java memory settings
Set the apm_bridge java min/max memory settings under the Startup->options section to at least 2g and 4g respectively. In larger environments with millions of QOS messages being processed through the queue, the java min/max may be set as high as 14/16GB RAM respectively but its best to track the memory usage and see how much memory the probe takes versus what it appears to need. Use Windows Task Manager and/or top command (Linux/Unix).
Robot system sizing (oi_connector and apm_bridge)
Processor 3GHz or higher recommended
oi_connector queue processing
Also note that the axaqueuegateway.uimQos queue processing can benefit from the addition of more virtual processors on the system in cases where the probe may be having difficulty with qos event processing, and/or throwing errors such as:
[QOS_PROCESSOR_THREAD-337, oi_connector] Error while posting the qos data net.sf.ehcache.CacheException: Faulting from repository failed