This section applies only to versions earlier than MRS 3.x.
su - omm
sh ${BIGDATA_HOME}/om-0.0.1/sbin/status-oms.sh
If active is displayed in the command output, the node is the active node. Otherwise, log in to the other Master node.
cd ${BIGDATA_HOME}/Apache-httpd-*/conf
vim httpd.conf
ProxyHTMLEnable On SetEnv PROXY_PREFIX=https://[proxy_ip]:[proxy_port] ProxyHTMLURLMap (https?:\/\/[^:]*:[0-9]*.*) ${PROXY_PREFIX}/proxyRedirect=$1 RV
ProxyHTMLEnable On SetEnv PROXY_PREFIX=https://[proxy_ip]:[proxy_port] ProxyHTMLURLMap (https?:\/\/[^:]*:[0-9]*.*) ${PROXY_PREFIX}/proxyRedirect=$1 RV
sh ${BIGDATA_HOME}/Apache-httpd-*/setup/restarthttpd.sh