How to configure a multi-homed machine - dual or multiple Network Interface Cards (NICs) - to communicate with the CA Identity Manager server

Document ID : KB000027397
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction:

When a machine has multiple Network Interfaces (NICs) the CA Message Queuing service (CAM/CAFT) will use the first interface that was bound by the OS, or if present will use the CAM.cfg configuration file to determine the appropriate subnet.

Without the CAM.cfg file present, the bind order of the network interface for the subnet does not necessarily have to be the first NIC bound by the OS.

There are two alternatives to resolve this.

  1. Re-order the binding order of the interfaces through the Network settings.

  2. Create a CAM configuration file (CAM.cfg)

Instructions:

  1. Click Start, point to Settings, and then click Control Panel.

  2. Double-click Network and Dial-up Connections.

  3. On the Advanced menu, click Advanced Settings.

  4. In the Connections box, select the adapter you want to change the binding order on. After you select the adapter, the Bindings for Local Area Connection box displays the current binding order.

  5. Use the arrows on the right-side of the box to move the protocol you choose to the top of the list, and then click OK.

  6. If you are prompted to restart the computer, click Yes.

Create and configure a CAM.cfg file

Note: Ensure that the %CAI_MSQ% variable is set.

  1. If a CAM.cfg configuration file does not exist on the machine in question, it can be created from the command prompt by running the command:
    camsave persist
  2. Then open the file %CAI_MSQ%\CAM.cfg and add the following in uppercase (CAPS on):
    *ROUTING
    FORWARD 127.0.0.1=<IP as discovered>
    NOTE:
    When you need to set an IP-address as the new default source, you need to add the real IP-address twice after the loopback, e.g. using the IP-address of 172.16.45.16:
    *ROUTING
    FORWARD 127.0.0.1=172.16.45.16 172.16.45.16

* Using the Forward rules, Cam can be configured to use preferred IP addresses for communication. A message can match only one forward rule.  If it is capable of matching more than one, the first defined in the configuration file will be used. However, CAM will listen on all NICs attached to the machine. So if the forward rule is wrong or the IP address stated is not valid, CAM will still work with other IP addresses configured by other NICs. There is no configuration from CAM side to block any communication.