Installation
Configuration
Management
Monitoring
Troubleshooting
Advanced Configuration
The Data Hub uses the third-party RabbitMQ messaging system to store messages before they are dispatched. The default configuration, where an instance of RabbitMQ is installed on the same machine as the Data Hub, should typically not need to be changed. However, if you need to change e.g. the host or port that they use to communicate, instructions for doing so have been provided here and in the subsections below.
WARNING: Changes to the connection settings must be coordinated across three locations: RabbitMQ, the Endpoint Web Service, and the Dispatch Service. It is easiest and safest to stop all three services (RabbitMQ last), make the changes, and start them again (RabbitMQ first) - see the subsections of Restarting the Entire Data Hub. This will cause a temporary outage at the Endpoint.
The Data Hub has separate configuration files for the Dispatch Service and for the Endpoint. Each component has the same settings, described below, located in the <appsettings>
section of their respective file.
The Endpoint Web Service settings are in [Application folder]\Web\Web.config
.
The Dispatch Service settings are in [Application folder]\DispatchService\HubDispatchService.exe.config
.
The settings are as follows:
RabbitServerAddress
127.0.0.1
RabbitServerPort
5672
(the AMQP default)RabbitServerPortalPort
15672
RabbitServerVirtualHost
/
RabbitServerUsername
guest
RabbitServerPassword
guest
QueuingTimeoutInSeconds
10
QueueCountMonitoringIntervalSeconds
1
The Data Hub-provided installation of RabbitMQ has been pre-configured to work with the Data Hub. The relevant connection settings are in the RabbitMQ configuration file, which is in the non-standard location of [RabbitMQ data folder]\rabbitmq.config
.
Details about the RabbitMQ configuration settings can be found in the online documentation for the RabbitMQ configuration file.
These settings can be changed using JSON syntax.
Parameters include:
rabbit.tcp_listeners
{hostname, port}
.{"127.0.0.1", 5672}
.rabbit.collect_statistics_interval
1000
.rabbitmq_management.listener.ip
127.0.0.1
.rabbitmq_management.listener.port
15672
.The Data Hub installation of RabbitMQ uses its default user settings, with one administrator account named guest
, with the password guest
. This installation only allows access to RabbitMQ on the same machine, but you
may wish to create another administrator account and delete the default one for security reasons. Or, you may wish to create a user with monitoring privileges only, to prevent accidental changes using the management console.
A monitoring user can see statistics on RabbitMQ, but cannot make any changes to the user configuration, nor affect the queues in any way.
To create such a user:
http://localhost:15672/#/users
.
guest
/guest
by default).[Monitoring]
.Add user
./
by default).Set permission
.An administrator user can modify all elements of RabbitMQ, including changing the user configuration and purging queues.
To create such a user:
http://localhost:15672/#/users
.
guest
/guest
by default).[Admin]
.Add user
./
by default)..*
.Set permission
.Warning: You must reconfigure the Data Hub connections to use another administrator user before removing the user currently used by the Data Hub (default is guest
).
Warning: Do not remove all administrator users. If you do so, you will probably have to uninstall and reinstall, causing data loss.
To remove a user:
http://localhost:15672/#/users
.
guest
/guest
by default).Delete
.Data Hub User Guide Version 1.3.0. Copyright © 2014 PreEmptive Solutions, LLC