cluster gateway list
Lists all of the gateways that a source data-fabric cluster is using.
The source data-fabric cluster is using gateways either for replication of table data to destination data-fabric clusters or for the indexing of table data in Elasticsearch clusters.
This list is created by the cluster gateway set
command.
Syntax
- CLI
-
/opt/mapr/bin/maprcli cluster gateway list [ -cluster <sourceCluster> ]
- REST
http[s]://<host>:<port>/rest/cluster/gateway/list
Parameters
Parameter | Description |
---|---|
cluster |
If you are not on the source cluster, provide the name of the source cluster on which this command should run. |
Example
Lists all the gateways that a source data-fabric cluster can use when replicating table data in data-fabric clusters or indexing data in
Elasticsearch clusters. In this example, assuming newyork
to be the
name of a data-fabric cluster
that is a destination for table replication, the output shows two gateways that are available for replicating to this
cluster.
- CLI
-
/opt/mapr/bin/maprcli cluster gateway list
- REST
https://<host>:<port>/rest/cluster/gateway/list
- Example Output
cluster gatewayConfig newyork gw1 gw2