cluster gateway list
Lists all the gateways that a source Data Fabric cluster is using.
The source Data Fabric cluster uses gateways to replicate table data to destination Data Fabric clusters or to index table data in Elasticsearch clusters.
The cluster gateway set command creates this list.
Syntax
- CLI
-
maprcli cluster gateway list [ -cluster <sourceCluster> ]
- REST
-
Request Type GET Request URL http[s]://<host>:<port>/rest/cluster/gateway/list/?<parameter>
- REST
http[s]://<host>:<port>/rest/cluster/gateway/list/?<parameter>
Parameters
Parameter | Description |
---|---|
cluster |
(Optional) The name of the cluster on which this command should run. By default, this is the cluster on which you run this command. |
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 available for replicating to this cluster.
- CLI
-
maprcli cluster gateway list
- REST
curl -X GET -u <username> https://abc.sj.us:8443/rest/cluster/gateway/list
- Example Output
cluster gatewayConfig newyork gw1 gw2