Adding Table Replicas

Explains how to add table replicas using either the Control System, the CLI or the REST API.

You can register a HPE Ezmeral Data Fabric Database binary or JSON table as a replica of another HPE Ezmeral Data Fabric Database binary or JSON table using the Control System and the CLI. When you add a replica using the Control System, you can also setup and start replication between a source HPE Ezmeral Data Fabric Database Binary or JSON table to a replica HPE Ezmeral Data Fabric Database Binary or JSON table. Before you begin, complete the steps to prepare data-fabric clusters for table replication.

Adding Table Replica Using the CLI or the REST API

To add a replica, run the following command:

/opt/mapr/bin/maprcli table replica add -path <table path> -replica <replica table path>
To run this command, your user ID must have the following permissions:
  • readAce and writeAce on both the source volume and the target volume
  • lookupdir on directories in the paths of both tables
  • readperm and replperm permissions on the source table
For complete reference information, see table replica add.
Note: You also have the option to setup table replication with maprcli table replica autosetup which will setup and start replication. For more information, see Setting Up Table Replication Using the CLI.