Search:

Search all manuals
Search this manual
Manual
Moxi Server 1.7
Additional Resources
Community Wiki
Community Forums
Couchbase SDKs
Parent Section
8.4 Command-Line Configuration
Chapter Sections
Chapters

8.4.4. Multi-cluster configuration

Moxi also supports proxying to multiple clusters from a single moxi instance, where this was originally designed and implemented for software-as-a-service purposes. Use a semicolon (';') to specify and delimit more than one cluster:

-z
            "LISTEN_PORT=[CLUSTER_CONFIG][;LISTEN_PORT2=[CLUSTER_CONFIG2][]]"

For example:

-z "11211=mc1,mc2;11311=mcA,mcB,mcC"

Above, moxi will listen on port 11211, proxying to cluster mc1,mc2. And moxi will also listen on port 11311, proxying to mcA,mcB,mcC. The multi-pool codepaths are also overloaded and re-used to support multi-tenancy (multiple buckets).