Open topic with navigation

TIBCO ActiveSpaces® 4.8.0

# Adding Data Grids to a Gridset

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

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

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

Procedure
1. To add a data grid to a gridset, specify the gridset name, the data grid name, and a list of proxies that other data grids can use to contact the data 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 data 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 data 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 data grid to the gridset also has examples of the list of IP addresses and ports. Ensure that other data grids in the gridset can communicate with the newly added data grid at these IP addresses and ports.

For more information about configuring a proxy with a static host and port, see Configuring a Proxy with Static Mirroring Host and Port.

Copyright © 2009-2022. Cloud Software Group, Inc. All Rights Reserved.