Pivotal Knowledge Base

Follow

How to copy data from one GemFire XD cluster to another

Applies to

GemFire XD

Purpose

Decribe how to copy data from one GemFire XD cluster to another cluster with different host names

Description

In cluster One the following 3 servers are deployed: A, B and C to /opt/data/gemxd/

Create a backup in /opt/data/backup/. The Backup will be created with the format data-timestamp/hostname as following:

/opt/data/backup/2015-02-23-14-19-46/A
/opt/data/backup/2015-02-23-14-19-46/B
/opt/data/backup/2015-02-23-14-19-46/C

On cluster Two the 3 servers are called D, E and F. Note that you cannot restore to a cluster with less servers than in the cluster of origin.

Copy the directories with hostname on cluster One mapped to hostname on cluster Two: A-D, B-E,C-F.
Run restore.sh which will create /opt/data/gemxd/ on servers with hostname D,E,F and restore the data. 

Comments

Powered by Zendesk