Setting Up Cross-Mirroring Between Clusters

You can cross-mirror between clusters, mirroring some volumes from cluster A to cluster B and other volumes from cluster B to cluster A. See Generating a Cross-Cluster Ticket for more information about generating tickets for secure clusters.
Note: When mirroring between clusters, servers in one cluster cannot use the same IP addresses as servers in the other cluster. For example, if node A in cluster A has a private IP address 10.10.20.29, no server in cluster B can have the same private IP address. Also, all the servers in one cluster must be able to reach all the servers in the other cluster and vice versa. For example, suppose 10.10.20.29 is the only IP address used by node A in cluster A; then all servers in cluster B should be able to reach the IP address 10.10.20.29.
To set up cross-mirroring, create entries in mapr-clusters.conf as follows:
  1. Entries in mapr-clusters.conf on cluster A nodes:
    1. First line contains cluster name and CLDB nodes of cluster A (the local cluster)
    2. Second line contains cluster name and CLDB nodes of cluster B (the remote cluster)
  2. Entries in mapr-clusters.conf on cluster B nodes:
    1. First line contains cluster name and CLDB nodes of cluster B (the local cluster)
    2. Second line contains cluster name and CLDB nodes of cluster A (the remote cluster)

    For example, the mapr-clusters.conf file for cluster A with three CLDB nodes (nodeA, nodeB, and nodeC) would look like this:

    clusterA nodeA:7222 nodeB:7222 nodeC:7222
    clusterB nodeD:7222

    The mapr-clusters.conf file for cluster B with one CLDB node (nodeD) would look like this:

    clusterB nodeD:7222
    clusterA nodeA:7222 nodeB:7222 nodeC:7222

    By creating additional entries in the mapr-clusters.conf file, you can mirror from one cluster to several others.