Enabling Zimbra Proxy and memcached
Contents
***THIS DOCUMENT IS NOT COMPLETE AND IS WIP- jbryan 02-19-2009***
Multi-node
HTTP
When using zmproxyinit to enable HTTP proxy, -w is used to indicate web proxy and -a is used to specify a colon separated list of web ports in format HTTP-STORE:HTTP-PROXY:HTTPS-STORE:HTTPS-PROXY. Note these port designations only specify listener ports for the server specified with -H, therefore, use a value of "0" (disabled) to avoid port conflict errors.
Preparing proxy hosts
Enable the proxy host to listen on ports 80 and 443. Login to each host running zimbra-proxy and run
/opt/zimbra/libexec/./zmproxyinit -w -e -a 0:80:0:443 -x both -H `zmhostname`
HTTP-PROXY and HTTPS-PROXY ports are set to indicate listener ports for the HTTP proxy host. HTTP-STORE and HTTPS-STORE designations are 0 (disabled) since they apply only to mailbox server configurations and this is a proxy only host.
Preparing mailstore hosts
Login to each host running zimbra-mailbox and run
/opt/zimbra/libexec/./zmproxyinit -w -e -a 8080:0:8443:0 -H `zmhostname`
HTTP-STORE and HTTPS-STORE ports of 8080 and 8443 are set to indicate listener ports for the mailbox server host. HTTP-PROXY and HTTPS-PROXY designations are 0 (disabled) since they apply only to proxy server configurations and this is a mailbox only host.
Alternatively, mailbox servers can listen on ports 80 and 443 without conflict to the proxy or other service. Just specify the desired listener ports with zmproxyinit's -a flag
/opt/zimbra/libexec/./zmproxyinit -w -e -a 80:0:443:0 -H `zmhostname