Modify Unicast Discovery URL in CDD file

When API Exchange Gateway server configuration is manually copied to any server from where it was installed and configured, it requires to edit the discover URL and listen URL.

Discover URL

The discover URL specifies how the Core Engine (node) listens for discovery requests from nodes attempting to join the cluster. When a cluster starts up, and also when new members join a cluster, a discovery process enables the members to discover each other. The discover URL specifies how an Core Engine (node) listens for discovery requests from nodes attempting to join the cluster.

The discovery URL for well-known address configuration uses the following format:

   tcp://ip:port[;ip:port]*

After the discovery is complete, the members communicate internally using a listen URL.

Listen URL

The listen URL is used for direct communication between the members of the metaspace. The listen URL value must be different for each cluster member.

The listen URL uses this format:

tcp://interface:port[-EndPort |*]/

The cluster member binds to the specified interface and the specified port when creating the TCP socket. Specify the parameters as follows.

Parameter Notes
interface
To specify a value, use the desired IP address.

The value for interface must be the same in both the discovery and the listen URLs for a node. If there are multiple interfaces on one machine, specify the interface you want to use and do not rely on the default value.

The default value for interface is the first available interface provided by the operating system for the machine.

port
To specify a single port use the port number in the listen URL, as shown in this example:
tcp://interface:6000/

The default value is the first available port in the 50000+ range.