Configure Multicast Discovery

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

To start an embedded SQLFire 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 SQLFire server with multicast discovery from a command prompt or terminal window, add the multicast properties directly to the sqlf command. For example:

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