Adding Table Replicas
Explains how to add table replicas using either the Control System, the CLI or the REST API.
About this task
You can register a HPE Data Fabric Database binary or JSON table as a replica of another HPE 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 Data Fabric Database Binary or JSON table to a replica HPE Data Fabric Database Binary or JSON table. Before you begin, complete the steps to prepare HPE Data Fabric clusters for table replication.
Adding Table Replica Using the Control System
About this task
To replicate a table:
Procedure
- Log in to the Control System and go to the Replication tab in the table information page.
- Click Add Replica and follow the steps for:
- Click Add Replica.
Adding Table Replica Using the CLI or the REST API
About this task
To add a replica, run the following command:
/opt/mapr/bin/maprcli table replica add -path <table path> -replica <replica table path>
readAceandwriteAceon both the source volume and the target volumelookupdiron directories in the paths of both tablesreadpermandreplpermpermissions on the source table
table replica add.maprcli
table replica autosetup which will setup and start replication.
For more information, see Setting Up Table Replication Using the CLI.