Message Router Configuration
Follow the instructions below to configure your Message Router to work in a server cluster. The Message Router section contains general information about the message router and its initial set up.
If you are following the active/passive Message Router and active/active Responder Server configurations discussed in this section, then you will not run the Responder services (Data Services, Archive Services, Prediction Services) on the same machine as the Message Router. This machine will have these services installed, but they should not be running. Run only the Message Router.
- Using the Cluster Administrator, create an active/passive server cluster (see Additional Resources section on the Server Clustering page to obtain information).
- Create a group for each active node (e.g., Message Router configuration) participating in the server cluster.
- Create the following resources for each group.
- With the group selected, right click in the window at the right and select New | Resource.
- In the New Resource window, give the resource a name. This is the name that will be displayed in the Cluster Administrator and may be anything you like.
- In the Resource Type field, select Generic Service.
- Choose the group to which you're adding the resource. By default, this will be the selected group. Click Next.
- The Possible Owners screen shows all nodes (i.e., servers)
that participate in the server cluster. The Possible Owners list shows
all servers onto which the current group may failover. By default,
all nodes in the server cluster are selected. Click Next to continue. NOTE: All possible owners should be included in ALL resources within a group. For example, if you create three possible owners in the Responder resource, then those same three owners must also exist in the other resources (e.g., Physical Disk, IP Address, Network Name, Message Queuing) within the same group.
- On the Dependencies screen, select the resource that represents MSMQ and add it to the Resource Dependencies column. Click Next to continue.
- In the Generic Service Parameters window, enter the Service Name (e.g., Responder).
- Select the "Use Network Name for computer name" checkbox. Click Next to continue.
- You are not required to enter a value on the Registry Replication screen. Click Finish.
- The resource is added to the group and displayed in the right-hand window when the group is selected on the left. You may right-click the resource and select Properties to view the properties you just configured.
- Use the instructions on the Message Router Configuration page
to configure the proper configuration files to use the correct message
Next, you will need to update the configuration files for the various Responder services to point to the machine running your Message Router. Perform the following steps on these configuration files: Miner.Responder.DataServices.exe.config, Miner.Responder.ArchiveServices.exe.config, Miner.Responder.PredictionServices.exe.config.
- Look for the following bit of XML.
<channel ref="msmq" isServer="true" />
- Add to this tag: router="FormatName:DIRECT=OS:MessageRouterServerName".
Replace MessageRouterServerName with the name of the server on which
your Message Router is running. So it looks something like this.
<channel ref="msmq" isServer="true" router="FormatName:DIRECT=OS:MessageRouterServerName" />
- Save and close the configuration file. Make this edit in the following configuration files: Miner.Responder.DataServices.exe.config, Miner.Responder.ArchiveServices.exe.config, Miner.Responder.PredictionServices.exe.config.