A Quick Look at Setting Up Disaster Recovery

Let us consider the most common use case where you create two grids, create a gridset, and add them to a gridset in the right order.

To know more about gridsets, see "Gridsets" in TIBCO ActiveSpaces® Concepts. The following sequence helps you set up a disaster recovery model.
# Steps References
1 Create a grid with a name that is planned to be the primary grid (grid1). Defining a Data Grid.
2 Create a grid with a name that is planned to be a mirror/DR grid (grid2). Defining a Data Grid.
3

Create at least one proxy in each grid with the appropriate proxy_mirroring_ static_listen_host and proxy_mirroring_static_listen_port values to set the IP address and port for how other grids communicate with this grid.

Creating a Proxy.

To configure static mirroring host and port, see Configuring a Proxy with Static Mirroring Host and Port.

4 Create a gridset via tibdg using the following command:

tibdg gridset create gridset1

Creating a Gridset.
5

Add the first grid to the gridset (the first grid added becomes the primary grid) using the tibdg command:

tibdg gridset add gridset1 grid1 proxy_static_ip:proxy_static_port

Adding Grids to a Gridset.
6

Add the second grid to the gridset (which becomes a mirror grid) using the tibdg command: .

tibdg gridset add gridset1 grid2 proxy_static_ip:proxy_static_port

Adding Grids to a Gridset.
7 Start the data grids and create a checkpoint in the primary grid so that it is mirrored to the mirror grid. Perform the following steps:
  • The primary grid must run a primary realm service
  • A mirror grid must run a satellite realm service.

    For TIBCO FTL 6.1 or later, this is achieved by specifying the following configuration file option:

    satelliteof <primary realm URL list>

    For details about realm services, see "Realm Service" in the TIBCO FTL® Administration guide. For details about satellite realm services, see "Server Roles and Relationships in the TIBCO FTL® Administration guide.

To start the data grid processes, see Starting the Data Grid Processes.

To create a checkpoint, see Creating a Checkpoint.

8 In the event of a disaster, make the mirror grid the new primary grid using the tibdg command: tibdg gridset setPrimary gridset1 grid2 . See Activating the Mirror Grid as the Primary Grid.