A Quick Look at Setting Up Disaster Recovery
Consider the most common use case, where you create two data grids, create a gridset, and add them to a gridset in the right order.
For more information about gridsets, see "Gridsets" in TIBCO ActiveSpaces® Concepts. The following sequence helps you set up a disaster recovery model.
| # | Steps | References |
|---|---|---|
| 1 | Create a data grid with a name that is planned to be the primary grid (grid1). | Defining a Data Grid. |
| 2 | Create a data 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 data grid with the appropriate
| Create a proxy by following the steps in Defining a Data Grid.
To configure static mirroring host and port, see Configuring a Proxy with Static Mirroring Host and Port. |
| 4 | Create a gridset by using the
tibdg tool with the following command:
| Creating a Gridset. |
| 5 | Add the first data grid to the gridset (the first data grid added becomes the primary grid) by using the tibdg command:
| Adding Data Grids to a Gridset. |
| 6 | Add the second data grid to the gridset (which becomes a mirror grid) by using the tibdg command: .
| Adding Data 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:
| To start the data grid processes, see
Starting the Data Grid Processes.
To create a checkpoint, see Creating a Checkpoint. To understand mirroring, see the following: |
| 8 | In the event of a disaster, make the mirror grid the new primary grid by using the
tibdg command: tibdg gridset setPrimary gridset1 grid2 .
| See Activating the Mirror Grid as the Primary Grid. |