Chapter 3 Jaguar Clusters and Synchronization


Cluster overview

Each cluster includes a primary server, a group of participating servers, and a set of name servers:

Note   All servers within a cluster can share the same name as long as you are not partitioning.

Cluster support is tightly integrated with the Jaguar naming service, so that all client services from a cluster are made available through the naming service. See Chapter 2, "Jaguar Naming Services" for more information.

Typically, each server in a cluster runs on a different host, so each server has its own copy of the entire repository and all files required for component execution. Sybase recommends that you run each cluster member from its own installation directory.

Figure 3-1 illustrates a Jaguar cluster and uses hostA as the primary server to synchronize the participating servers, including the name servers. Each server in the cluster is named "Jaguar."

Figure 3-1: Jaguar cluster

All hosts of a cluster must be of the same platform type; in other words, you cannot have NT and UNIX machines in the same cluster.

Note   The SessionManager::Session::lookup operation implicitly consults the naming service, so you can write a client that does not explicitly use the naming service but still takes advantage of cluster services. For example, PowerBuilder's connection object uses SessionManager::Session::lookup.

Cluster servers

Each server can be a member of only one cluster. To provide high availability, there should be at least two name servers defined for a cluster.

Servers are defined by URL, rather than by Jaguar server name. Every server in a cluster can be named Jaguar. If you are not using partitioning, it is easy to add a new machine to a cluster; simply change "localhost" in each listener to the Internet host name or IP address. Then, connect Jaguar Manager to the cluster primary and synchronize the cluster.

A name server can be used by one or more clusters. See "Adding a name server to a cluster" for restrictions before you assign a name server to more than one cluster.

All servers in a cluster should share a common account that will be used for inter-server connections when synchronizing the cluster. This must be a jagadmin account or an account for a user that has the Admin role.

If the servers in a cluster do not share a common account, you can synchronize the cluster only on a server-by-server basis.

 


Copyright © 2000 Sybase, Inc. All rights reserved.