Lists the gateways that are configured on the data-fabric cluster where this command is run.
/opt/mapr/bin/maprcli cluster gateway local
[ -cluster cluster on which command to be run ]
[ -format dns/text. default: text ]
http[s]://<host>:<port>/rest/cluster/gateway/local| Parameter | Description |
|---|---|
format |
The output format. Value types: dns or
text. Default: text. Note:
|
cluster |
If you are not on a data-fabric cluster where one or more gateways are configured,
provide the name of the cluster.
|
This example shows text output of the list of gateways that are configured on a data-fabric cluster:
/opt/mapr/bin/maprcli cluster gateway local
https://<host>:<port>/rest/cluster/gateway/local
gatewayinfo
centos23 centos22This example shows DNS output of the list of gateways that are configured on a data-fabric cluster:
/opt/mapr/bin/maprcli cluster gateway local -format dns
https://<host>:<port>/rest/cluster/gateway/local?format=dns
gatewaydnsinfo
; TXT Record addresses
gateway.mycluster IN TXT "centos23 centos22"