Previous Page | Next Page

Understanding Server Load Balancing

Planning a Load-Balancing Cluster


Overview

To plan for a new load-balancing cluster, you choose hosts, port numbers, a load-balancing algorithm, and logical server login credentials (for OLAP clusters).


Select Hosts and Port Numbers

To select the hosts that will make up your load-balancing cluster, follow these steps:

  1. Determine the number of hosts that you will need in your cluster based on your average number of concurrent users and your maximum number of concurrent users.

  2. Decide on the logical server that will contain your cluster of servers. You can use an existing logical server or create a new one using the SAS Deployment Wizard. In either case, you will have one configured server available under that logical server, as shown in SAS Management Console. Note that the additional processing load on the parent peer is not significant, so the parent peer does not have to be the highest performing host in your cluster.

  3. Select and configure the hosts that will comprise your cluster.

  4. Select and write down unique server names and unique port numbers for each host. (Unique ports are required when configuring load balancing on a single machine.) You will enter the server names when you copy and update the server configuration files between hosts. In the server names, you might want to identify the servers as load balancing and include the port number for quick reference.


Choose a Load-Balancing Algorithm

Select a load-balancing algorithm based on the choices that are available for your server type. Clusters of SAS OLAP Servers are required to use the Least Recently Used algorithm. The Cost algorithm is recommended for clusters of SAS Workspace Servers and SAS Stored Process Servers.

The following table depicts the algorithms that are available for each server type.

Available Load-Balancing Algorithms
SAS Server Cluster Load Balancing Algorithms
Cost Response Time Grid Most Recently Used Least Recently Used
Workspace Server X
X

Stored Process Server X X


Pooled Workspace Server


X X
OLAP Server



X

For more information about the load-balancing algorithms, see Understanding the Load-Balancing Algorithms.


Select and Configure Logical Server Login Credentials

Load-balancing clusters use individual login credentials to establish connections between the parent peer and the child peers. During this planning phase you establish the login credentials and then assign the credentials trusted user permissions. Later, in the metadata creation stage, you will enter the credentials for each server in the cluster.

Use a network domain account for server credentials. Create the credentials in your operating environment as needed, then assign those credentials trusted user permissions in SAS.

You must do this because the spawner connects with an account that is the SAS Trusted User, and that account must be able to fetch this login to connect to other servers. This SAS Trusted User login must be accessible by the SAS Trusted User identity. Therefore, you must add the login to this Person object.

To assign trusted user permissions to your server login credentials, follow these steps:

  1. Open SAS Management Console.

  2. In SAS Management Console, open the User Manager.

  3. In the right pane double-click to open SAS Trusted User.

  4. In the SAS Trusted User properties window, click the Accounts tab.

  5. On the Accounts tab, enter the login credentials and click OK.

Note:   Do not associate your server login credentials with the SAS Unrestricted User.  [cautionend]

You have now completed the planning stage. Move to the metadata creation stage.

Previous Page | Next Page | Top of Page