Arranging a Wide-Area Store

To define a wide-area store, use the stores grid of the FTL server GUI.

Procedure

  1. Define a zone.
    In the zones grid of the FTL server GUI, create a new zone.

    Select the zone type.

    • Peer to Peer (Full Mesh) Messages flow directly between every pair of clusters in the zone in a single hop. This option features low latency (at the expense of network bandwidth and processing power in all persistence clusters). This zone type could result in best performance when adding persistence services to a cluster to expand client connection capacity.
    • Hub-and-Spoke Spoke clusters forward to the hub clusters, and the hub cluster forwards to all the spokes. Messages flow indirectly from spoke to spoke in two hops, by way of the hub. Persistence services in the hub cluster use more resources than those in the spoke clusters.
    • Limited Hub-and-Spoke (1 Hop) Spoke clusters forward to the hub clusters, and the hub cluster forwards to all the spokes. However, messages travel no farther than one hop, so they cannot flow indirectly from spoke to spoke. Select this zone type to restrict the flow of information.
  2. Add persistence clusters to the zone.
    If you selected one of the two hub-and-spoke types, designate the role of one cluster as the hub and the others as spokes.
    You may add additional clusters to a zone at any time.

    You may change the hub or spoke role of a cluster only when the cluster is empty and not running.

  3. Configure the zone transport.
    1. For each persistence service in each cluster of the zone, configure the zone transport parameter.
      Configure this parameter in the persistence service details panel. For flexibility, select one of the automatic transport types. Otherwise select one of the TCP types. Configure all the services analogously.
    2. For each cluster, configure the externally reachable addresses parameter.
      If (and only if) you chose one of the automatic transport types in the previous step, then you must also configure externally reachable addresses for each cluster in the zone. Configure this parameter in the cluster details panel.
      For each of the cluster's FTL core servers, configure its host and port address. Configure the same addresses that the services of the cluster use to contact the core servers.
  4. Define a wide-area store.
    In the stores grid of the FTL server GUI, create a new store. Set its scope parameter to Zone.
  5. Assign the store to a forwarding zone.
    In zone column of the stores grid, select a zone from the drop-down menu.
    Assigning the store to a zone makes the store available in all clusters in the zone.
  6. Bind the wide-area store to application endpoints.
    In the applications grid, associate the appropriate endpoints with the wide-area store.

What to do next

Ensure runtime topology conditions; for an explanation, see Wide-Area Forwarding: Runtime Conditions.