cluster gateway get

Lists the Data Fabric gateways that a source Data Fabric cluster is using.

The source data-fabric cluster might use the data-fabric gateways to replicate table data to a destination data-fabric cluster or index data in an Elasticsearch cluster.

The cluster gateway set command creates this list of gateways.

Syntax

CLI
maprcli cluster gateway get
    [ -cluster <sourceCluster> ]
    -dstcluster <destinationCluster>   
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/cluster/gateway/get?<parameters>

Parameters

Parameter Description
cluster (Optional) The name of the source cluster on which this command should run. By default, this is the cluster on which you run this command.
dstcluster

(Required) The name of the cluster on which the gateways are located.

If you are replicating table data to another Data Fabric cluster, specify the name of that destination cluster. This destination cluster could be the source cluster if you are performing intra-cluster replication.

If you are indexing table data in an Elasticsearch cluster, specify the name of the source Data Fabric cluster because that is where the gateways are located.

Example

Gets the list of gateways that is stored on a source Data Fabric cluster. The gateways are being used for table replication and are located in the destination Data Fabric cluster sfcluster.

CLI
maprcli cluster gateway get -dstcluster sfcluster
REST
curl -X GET -u <username> https://abc.sj.us:8443/rest/cluster/gateway/get?dstcluster=sfcluster
Example Output
cluster gatewayConfig 
sfcluster gw1 gw2