Configure Multicast Discovery

You configure multicast discovery by specifying the mcast-address and mcast-port properties.

To start an embedded GemFire XD peer with multicast discovery, specify the multicast address and port as options in the JDBC peer client connection URL, or in the property object that you send in the FabricServer.start() method. For example:


To start a GemFire XD server with multicast discovery from a command prompt or terminal window, add the multicast properties directly to the gfxd command. For example:

gfxd server start -mcast-address=address -mcast-port=port
Note: Thin JDBC clients and ODBC clients do not connect to a cluster using multicast. Instead, they must specify the address and port of a single peer in the cluster.