Version: 10.2.1c and 10.2.1c SP3 |
Responder Overview > Implement Responder > Configure Responder > Responder Server > Message Router Configuration |
Each Responder service has its own internal message router. To run message routing as an external process, you can disable the internal message router on a service and point it to the external message router. If you have a single business server with one set of message queues, the external message router service is not necessary. Before continuing, here are a few terms used when describing the scenarios below:
When run externally, the message router is a business service hosted by the Responder Windows Service. It provides support for scaling out Responder by adding additional computers to run the Responder business services (i.e., Data Services, Prediction Services, Line Display Services, and Archive Services). The message router works around the limitations of transactional queues.
When using an external message router, make sure to start the Responder Windows Service that contains this external message router before starting the Responder Windows Service on any other Responder business server. |
This page discusses two ways you can configure to use multiple instances of Data Services (or Prediction Services, Archive Services) on multiple machines. Implement the scenario that best suits your needs. In the first scenario, the external message router resides on a server of its own. In the second scenario, the secondary data services uses the message router on the primary server. This message router can be internal or external.
These scenarios discuss Data Services, but the same concepts apply to Prediction Services, Line Display Services, and Archive Services. |
Scenario 1:
In this scenario, the message router is run as an external process on its own server. In this case the internal message router would need to be disabled on all Responder servers.
Follow these steps to install the external message router and configure Data Services on your Responder servers to use the external message router process. All machines, including the message router server, should have Responder Server installed.
-service:rxserver
We recommend three instances of the message router. A build-up of messages in the request queues indicates that you may need additional message router instances. |
The next steps disable the internal message router process on the primary and secondary servers and instruct these servers to use the external message router. Repeat these steps for the primary server and each secondary server.
Do not edit XML files using a word processing program such as WordPad or Microsoft Word as it may corrupt your configuration file. |
.
\private$\RxPrediction/PredictionServices.rem"
Replace the period with the name of the Message Router server.
Copy Code
|
|
---|---|
<client> <wellknown type="Miner.Responder.Shared.IPredictionServices, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\RxPrediction/PredictionServices.rem" /> <wellknown type="Miner.Responder.Shared.IArchiveServices, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\RxArchive/ArchiveServices.rem" /> <wellknown type="Miner.Responder.Shared.ILineDisplayService, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\LineDisplayServices/LineDisplayServices.rem" /> </client> |
This is how it appears by default:
Copy Code
|
|
---|---|
<channels> <channel ref="msmq" isServer="true" /> </channels> |
Copy Code
|
|
---|---|
<channels> <channel ref="msmq" isServer="true" router="FormatName:DIRECT=OS:MessageRouterServerName" /> </channels> |
Scenario 2
In this scenario, the primary server hosts the message router either as an internal or external process. While you may install the message router as an external process on the primary server, there's no real reason to do this. You can just as easily instruct the secondary servers to use the message router on the primary server when it's run as an internal process.
The steps below assume the message router is an internal process on the primary server. To run the message router as an external process, peform steps 1-8 above on the primary server (instead of the message router server), then follow the steps below.
Repeat the following steps on all secondary servers.
.
\private$\RxPrediction/PredictionServices.rem"
Replace the period with the name of the primary server.
Copy Code
|
|
---|---|
<client> <wellknown type="Miner.Responder.Shared.IPredictionServices, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\RxPrediction/PredictionServices.rem"/> <wellknown type="Miner.Responder.Shared.IArchiveServices, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\RxArchive/ArchiveServices.rem"/> <wellknown type="Miner.Responder.Shared.ILineDisplayService, Miner.Responder.Shared" url="msmq://FormatName:DIRECT=OS:PrimaryServerName\private$\LineDisplayServices/LineDisplayServices.rem" /> </client> |
This is how it appears by default:
Copy Code
|
|
---|---|
<channels> <channel ref="msmq" isServer="true" /> </channels> |
Copy Code
|
|
---|---|
<channels> <channel ref="msmq" isServer="true" router="FormatName:DIRECT=OS:PrimaryServerName" /> </channels> |