Configuring gateways involves installing the mapr-gateway package on nodes in a MapR destination cluster and then configuring the MapR source cluster to communicate with the destination cluster. The MapR source cluster is configured by specifying the destination cluster's CLDB node and gateway nodes.

Administration of the MapR-DB is done primarily via the command line (maprcli) or with the MapR Control System (MCS). Regardless of whether the MapR-DB table is used for binary files or JSON documents, the same types of commands are used with slightly different parameter options. MapR-DB administration is associated with tables, columns and column families, and table regions.

Configuring gateways involves installing the mapr-gateway package on nodes in a MapR destination cluster and then configuring the MapR source cluster to communicate with the destination cluster. The MapR source cluster is configured by specifying the destination cluster's CLDB node and gateway nodes.

The MapR Data Access Gateway is a service that acts as a proxy and gateway for translating requests between lightweight client applications and the MapR cluster. This section describes considerations when upgrading the service, how to modify configuration settings, and how to administer and manage the service.

Configuring Gateways for Table and Stream Replication

Configuring gateways involves installing the mapr-gateway package on
nodes in a MapR destination cluster and then configuring the MapR source cluster to
communicate with the destination cluster. The MapR source cluster is configured by
specifying the destination cluster's CLDB node and gateway nodes.

See Setting Up Cross-Cluster Security for more
information about setting up cross-cluster security including cross-cluster security
for table and stream replication.

On the destination cluster, install the mapr-gateway package
on each node where you want to run a gateway on. See Installing MapR Software.

Note: On the gateway nodes in the destination cluster, when you run (or re-run) the
configure.sh script (in addition to your regular
parameters) be sure to specify the -N parameter with the
name of the cluster that the gateway belongs to. See configure.sh for more information about
configure.sh usage, options, and examples.

If you want to change the port that a gateway is using (by default, gateways
use port 7660):

On the node where the gateway is running, edit the
/opt/mapr/conf/gateway.conf file, uncommenting the
line #gateway.port=7660 and changing the port
number.

If you do not perform one of these options, MapR-DB uses configuration from
the mapr-clusters.conf file. It uses the cluster name
specified in that file as the destination cluster and the CLDB node
addresses as the gateway nodes. You must have gateways running on these
CLDB nodes.