1.1.1

Table Of Contents
Procedure
1. Start a locator for a SQLFire cluster. For example, to start a locator for SQLFire cluster 1 shown in Figure
5: WAN conguration with multiple gateway senders on page 232:
sqlf locator start
-peer-discovery-address=ds1host
-peer-discovery-port=10101
-locators=ds1host:10101
-conserve-sockets=false
-distributed-system-id=1
-remote-locators=ds2host[20202],ds3host[30303]
The above command congures the local SQLFire distributed system (with -distributed-system-id=1) to
replicate to two different remote SQLFire distributed systems using standalone locators.
Note: -peer-discovery-address and -peer-discovery-port identify the network
connection that local SQLFire members use to discovery each other in the distributed system.
-locators identies all of the locators used in the distributed system (the above example uses the
single, standalone locator that the sqlf command starts). These parameters are always used when
starting locators, regardless of whether WAN replication is congured. See Using Locators on page
223 for more information.
2. To start a locator in SQLFire cluster 2, you would enter a command similar to:
sqlf locator start
-peer-discovery-address=ds2host
-peer-discovery-port=20202
-locators=ds2host:20202
-conserve-sockets=false
-distributed-system-id=2
-remote-locators=ds1host[10101],ds2host[20203]
The preceding commands ensure that both cluster 1 and cluster 2 are associated with one another (and to
cluster 3), and can replicate or receive data as necessary.
Create and Start Gateway Sender
A gateway sender represents a replication link to a single remote system. You can create multiple gateway
senders in a SQLFire cluster to replicate data to multiple sites and/or to provide high availability for replicating
data over a WAN.
Prerequisites
Dene the server groups on which you will deploy gateway senders. Using Server Groups to Manage Data on
page 57 provides more information. Using server groups for gateway senders enables you to control which
hosts can run gateway sender processes. Also, keep in mind that any replicated tables that use the gateway
sender must be created in the same server groups as the gateway sender.
Optionally congure a disk store if you want to persist DML operations that are queued before replicating to
a remote WAN site. Persisting the WAN queue ensures that DML operations can be queued for later replication
if the connection between remote distributed systems is lost or temporarily blocked. Using Disk Stores to Persist
Data on page 79 provides more information.
Procedure
After you create the necessary server groups and disk stores, use the CREATE GATEWAYSENDER statement
to congure a new sender. You can congure the sender to start automatically or to start manually at a later
time.
237
Configuring Multi-site (WAN) Deployments