FQDN (Fully Qualified Domain Name) (Magic xpa 2.x)
The broker and enterprise server should bind using a specific network adapter by specifying a FQDN (instead of an IP address). The requester layer should translate the FQDN to IP and bind using IP on a specific adapter.
FQDN stands for fully qualified domain name – for example "linuxdev.Magic".
The MGREQ.INI file contains the following entry: BindFirstIPAddress=Y/[N].
Y – During binding to a port, the server will resolve the host name and will bind to the resolved IP address.
N – The server will bind to any IP address (*.port – for backwards compatibility).
To enable a Magic xpa engine and broker to work with a specific network adapter (if there are multiple adapters on a machine):
-
Edit the MGREQ.INI file and enable BindFirstIPAddress ( = Y) and set MessagingServer to FQDN/port.
-
Edit the MGRB.INI file and set MessagingServer to FQDN/port.
-
In the MAGIC.INI file set TCP/IP = 2, 30, 1500-2000 /LocalHost=FQDN.
-
In the MAGIC.INI file, the setting for Default Broker has to be set to FQDN/port.
The table below shows the binding for the server module:
Port Number
|
|
Port-No
|
BindFirstIPAddress=N */Port-No
BindFirstIPAddress=Y IP-address/Port-No
|
Ip Address/Port-No
|
IP-Address/Port-No
|