On installations where the filesystem instances, CLDB, and/or
MAST Gateway must be reached on non-standard ports, you can specify the ports to advertise
in the MAPR_EXTERNAL, CLDB_EXTERNAL_RPC_PORT, and
MASTGATEWAY_EXTERNAL_RPC_PORT environment variables respectively. This
setting does not change the ports used by the servers, but changes the ports advertised to
clients (to support port forwarding).
If the cluster nodes are no longer reachable on the standard ports, you can specify ports
for filesystem using the MAPR_EXTERNAL
environment variable. MAPR_EXTERNAL allows the specification of the
advertised ports for the filesystem instances only; this
environment variable cannot be used to specify ports for CLDB or the MAST Gateway.
Instead, use CLDB_EXTERNAL_RPC_PORT environment variable to specify port
for CLDB and MASTGATEWAY_EXTERNAL_RPC_PORT environment variable to
specify port for MAST Gateway. If ZooKeeper is not available on the default port or
if there are multiple ZooKeepers listening on the same external IP address, you can specify
ports for each ZooKeeper using the configure.sh utility.
See the following sections for more information on setting the ports.
If the port forwarding table is set up, ports must be configured for every filesystem node on every filesystem instance. For more information on the number of ports used by filesystem instance(s), see Ports Used by HPE Ezmeral Data Fabric Software. To specify the ports for filesystem:
The default port for CLDB is 7222. If you want to use another port:
cldb.feature.external.ip is enabled if you upgraded from a prior version
of MapR to v6.0. For more information on enabling this feature, see Step 4: Enable New Features.If ZooKeeper is not available on the default port or if all the ZooKeepers are listening on the same external IP address (such as in a Docker container), you can specify the port on which to reach each ZooKeeper. To specify the port on which to reach each ZooKeeper, during cluster configuration:
-EZ option.
-EZ option is a comma-separated list of external
IP addresses of the ZooKeeper nodes and the port (for each IP address), separated by a
colon, on which ZooKeeper can be reached. For example:
/opt/mapr/server/configure.sh -C <IP|Hostname>[,<IP|Hostname>,...] -Z <IP|Hostname>[,<IP|Hostname>,...] \
-EZ <IP|Hostname>:<Port>[,<IP|Hostname>:<Port>,...] /opt/mapr/server/configure.sh -C 172.17.0.2,172,17.0.3,172.17.0.4 -Z 172.17.0.2,172,17.0.3,172.17.0.4 \
-EZ 10.10.104.34:5181,10.10.104.34:5182,10.10.104.34:5183 -N my.cluster.com/opt/mapr/server/configure.sh -C 172.17.0.2,172,17.0.3,172.17.0.4 -Z 172.17.0.2,172,17.0.3,172.17.0.4 \
-EZ 10.10.104.34:5181,10.20.105.34:5181,10.30.106.34:5181 -N my.cluster.com