Adding Grids to a Gridset

The first grid to be added to a gridset is made the primary grid. Grids added after the first grid are mirror grids.

Prerequisites

The grid to be added must already be defined and running before you can add it to a gridset.

For details about gridsets, see the "Gridsets" section of the TIBCO ActiveSpaces® Concepts guide. For details about defining a data grid, see Defining a Data Grid.

Procedure

  • To add a grid to a gridset, specify the gridset name, the grid name, and a list of proxies that other grids can use to contact the grid. This is required for the primary as well as mirror grids.
    tibdg gridset add gridset1 grid1 10.0.0.1:9001 10.0.0.2:9001 10.0.0.3:9001
    Warning: Do not create tables on grids that are intended to be mirror grids. With the tibdg tool, you cannot add mirror grids with configured tables in a gridset.

What to do next

After adding a grid to the gridset, configure at least one proxy that listens on a static mirroring host and port. Some examples of a static mirroring host and port are 10.0.0.1:9001, 10.0.0.2:9001, or 10.0.0.3:9001.The code snippet shown earlier in this topic on adding a grid to the gridset also has examples of the list of IP addresses and ports. Ensure that other grids in the gridset can communicate with the newly added grid at these IP addresses and ports. For details about configuring a proxy with a static host and port, see Configuring a Proxy with Static Mirroring Host and Port.