Describes how to set environment variables to segregate NICs.
Use the MAPR_SUBNETS and MAPR_EXTERNAL environment
variables to segregate NICs for internal and external clients, or to segregate NICs
for high-performance and low-performance clients.
To specify the internal IP addresses of CLDB and filesystem nodes:
To specify the external IP addresses of CLDB, filesystem, and/or MAST Gateway nodes:
Suppose the value for the MAPR_EXTERNAL environment variable on
filesystem node is the following:
10.10.103.80,10.10.30.205
External clients can connect to filesystem on IPs 10.10.103.80, 10.10.30.205 and the ports on which the filesystem is reachable are the default ports. If filesystem is running 2 instances, then:
If filesystem is running 3 instances:
MAPR_EXTERNAL environment variable on
a MAST Gateway node is the following:
10.20.30.100External clients can connect to MAST Gateway
on IP 10.20.30.100 and the port on which MAST Gateway is reachable is the
default port (8660). If filesystem is also running
on this node, then both filesystem and MAST Gateway
are reachable on the IP 10.20.30.100 and the ports on which they are reachable
are the default ports. /opt/mapr/server/configure.sh -C <hostname|IP>[,<hostname|IP>,..] -Z <IP>[,<IP>..] \
-EZ <IP>[:<port>][,<IP>[:<port>]..] [-F <disk_list_file>] [-N <cluster_name>]
-EZ option to specify the IP address of
each ZooKeeper node, and optionally the port as well (separated
by a colon); the IP address can be different while the port
number must be the same for every node.-EZ option to specify IP address and port
(separated by a colon); the port can be different while the IP
address is the same for every node.