Production Environment
To use ActiveSpaces software in a production environment, deploy the following processes.
- Realm server: The minimum arrangement consists of one primary realm server.
Optionally, you can run a backup realm server. The primary realm server and its backup must run on two separate host computers.
- State keeper: The minimum production arrangement consists of three state keeper processes. To ensure high availability during a network partition or hardware failure, each state keeper process must run on a separate host computer. Not doing so might result in grid-wide data loss.
At any given time, you must maintain a quorum of running state keepers. If you want to run more than one state keeper, configure three state keepers and make sure you have at least two running state keepers.
- Node: The minimum production arrangement consists of two node processes per copyset.
Optional. For greater data protection you can run three nodes per copyset.
Note: Additional copies can become expensive in two ways:- Increasing the node count by one adds one complete copy of all the data.
- Every node process must run on a separate host computer. Usually this requirement determines the number of host computers you must maintain. For example, a data grid with three copysets and two nodes per copyset requires six nodes, all on separate hosts. Increasing to three nodes per copyset would require nine nodes, all on separate hosts.
- Proxy: The minimum production arrangement consists of one proxy process.
Optional. You can run additional proxies to increase the capacity for client programs and to improve response time. For best results, run proxy processes on a separate host computers.
- Your application programs Run processes as appropriate.
Components Sharing a Host Computer
You can reduce the number of host computers in a production environment by running more than one component per host.
For example, you can run a realm server, a state keeper, a node, and a proxy, all on one host. (In contrast, do not run two state keepers on the same host.)
For effective fault tolerance, run the nodes of each copyset on separate host computers.