Clusters are groups of similar components that work together to service client requests.
A cluster is a parallel or distributed computing system made up of many discrete hosts that form a single, unified computing resource. Through clustering, you can partition the system load across redundant Unwired Platform components to design a highly-available system.
There are two tiers you can install in a cluster: the server tier (Unwired Server) and the data tier (runtime databases). The server tier may further be supported by a relay server and a load balancer, depending on the scale of your rollout.
Each tier uses a different type of cluster model:
- Load-balancing server tier clusters – improve the system performance by sharing workloads and requests, and improving the efficiency of Unwired Server services (like synchronization and deployment). Requests initiated from the client are managed by a load balancer (or application request routing services in the case of some IIS deployments) for two or more relay servers. This load balancer distributes requests to these relay servers (or some other mechanism) among all the Unwired Server cluster nodes. Each node in the Unwired Server cluster scales independently and automatically when another Unwired Server node joins or leaves the cluster.
- Failover data tier clusters – improve the availability of runtime database services to Unwired Servers. Failover clusters have a redundant node, which provides data tier services when the primary node fails. The most common size for a failover consolidated database cluster is two nodes, which is the minimum requirement to provide redundancy and thereby eliminate single points of failure.
Note: The data tier does not need a relay server, since it will not be accessed directly from outside the firewall.
Each Unwired Server cluster has a primary node:
- The primary node contains the master copy of the configuration repository for all nodes in the cluster. The primary node distributes its configuration to the other nodes.
When a primary node fails, a new primary is elected from the remaining nodes.
- Each secondary node gets its configuration from the primary node. Nodes must have unique names, but are identified as members of the same cluster as the primary node.
Each Unwired Server in a cluster runs on a separate host. It can connect to the data tier independently, as well as have its own copy of the system files required for execution. Sybase recommends that each cluster node run from its own installation directory.