To force CAM to bind to a different IP address
- Determine what IP address CAM is currently binding to by issuing the command:
camping -a <hostname>
The hostname can be the local server hostname. The camping output shows the IP address that CAM is using.
- If you need to have CAM use another IP address, run the command:
camsave persist
This will create a cam.cfg file located for Windows under %CAI_MSQ%
Find the location for UNIX/Linux by issuing the command:
more /etc/catngcampath
- Open the file cam.cfg and add the following under the *ROUTING section:
*ROUTING
forward 127.0.0.1= <local IP address to use>
Example:
forward 127.0.0.1=192.a.b.c
- Save and close the file.
- Recycle the CA Message Queuing Server service.
- Run the camping - a test again:
camping -a <hostname>
If the correct IP address is displayed, you are finished.
- If the correct IP address is not showing, open the file cam.cfg again and edit the *ROUTING line as follows:
forward 127.0.0.1=<local IP address to use> <local IP again>
Example:
forward 127.0.0.1=192.a.b.c 192.a.b.c
- Save and close the file cam.cfg.
- Recycle the CA Message Queuing Server service.
- Rerun the camping -a test and verify that the correct address is now in use:
camping -a <hostname>