|
An agent that you link with the Authentication Agent API can communicate with multiple Authentication Managers in a realm. The API incorporates load balancing routines to help the agent select the best Authentication Manager for communication. Load balancing occurs automatically based on the data that the agent gathers dynamically at runtime and from data acquired from configuration files. Load balancing can be either dynamic or manual. Dynamic Load BalancingBy default, the API uses dynamic load balancing, in which the agent sends a request to each RSA Authentication Manager server in the realm and determines a priority list based on the response time of each Authentication Manager server. The Authentication Manager server with the fastest response time gets the highest priority and receives the largest number of authentication requests. Other Authentication Manager servers get lower priorities and receive fewer requests. This priority list is refreshed each time a time request or authentication request times out, or when the internal server status differs from the status received in the server's response. To perform dynamic load balancing, the agent connects to the Authentication Manager server through firewalls using the alternate IP addresses (aliases) for the Authentication Manager servers. The Authentication Manager servers provide the list of aliases to the authentication agent during a response to an authentication request. The IP addresses are stored in the configuration record file (sdconf.rec) on the authentication agent host. For more information, see Configuring the sdopts.rec File. Manual Load BalancingWith manual load balancing, you specify the Authentication Manager server that each agent host uses. You also assign a priority to each Authentication Manager server so that the authentication agent can direct authentication requests to some Authentication Manager servers more frequently than the others. You specify manual load balancing by including the USESERVER statement in the sdopts.rec file, and associating priority settings with each Authentication Manager server specified for use. For more information, see Configuring the sdopts.rec File.
Using the sdopts.rec FileThis section describes how to create an sdopts.rec file. It also provides examples of ways you can use the components to set up load balancing. Create the sdopts.rec FileTo create the sdopts.rec file:
Configure the sdopts.rec File
The sdopts.rec file can contain the following types of lines:
Keyword value pairs can be any of the following:
The following table describes the priority values that you can specify.
You must assign a priority to each Authentication Manager server that you add to the sdopts.rec file. Otherwise, the entry is invalid. You must use priority values as specified or within the specified range only. The IP addresses in the file are verified against the list of valid Authentication Manager servers that the agent receives as part of its initial authentication.
Example: Configuring Manual Load BalancingYou configure manual load balancing by including the USESERVER keyword in the sdopts.rec file to specify IP addresses of the Authentication Manager servers that you want the agent host to use. You can list the IP addresses in the sdopts.rec file in any order, but you must list each separately, one per line. The following example shows how to use the USESERVER keywords to specify the IP addresses. ;Any line of text that starts with a semicolon is ignored ;(is considered a comment). ;Do not put a blank space between a keyword and its ;equal sign. Blank spaces are permitted after the ;equal sign, after the IP address, and after the ;comma that separates an IP address from a priority value. USESERVER=192.168.10.23, 10 USESERVER=192.168.10.22, 2 USESERVER=192.168.10.20, 1 USESERVER=192.168.10.21, 0 In this example, the Authentication Manager server identified by IP address 192.168.10.23 receives five times more authentication requests than the Authentication Manager server with IP address 192.168.10.22. Authentication Manager server with IP address 192.168.10.20 is used only if the Authentication Manager servers of higher priority are unavailable. The Authentication Manager server with IP address 192.168.10.21 is ignored except in rare circumstances (as described in Configuring the sdopts.rec File.)
Example: Specifying Alias IP Addresses for Use or ExclusionYou can use the sdopts.rec file to specify alias IP addresses for use or for exclusion. You can list the settings in the sdopts.rec file in any order, but you must list each setting separately, one setting per line. The following example shows how to use the ALIAS keywords in the sdopts.rec file. ;Any line of text that starts with a semicolon is ignored ;(is considered a comment). ;Do not put a blank space between a keyword and its ;equal sign. Blank spaces are permitted after the ;equal sign, after the IP address, and after the ;comma that separates an IP address from a priority value. USESERVER=192.168.10.23, 10 USESERVER=192.168.10.22, 2 USESERVER=192.168.10.20, 1 USESERVER=192.168.10.21, 0 ALIAS=192.168.10.23, 192.168.4.1, 192.168.4.2, 192.168.4.3 ALIAS=192.168.10.22, 192.168.5.2, 192.168.5.3 ALIAS=192.168.10.20, 192.168.5.2 ALIAS=192.168.10.21, 192.168.1.1 ALIAS_ONLY=192.168.10.23 IGNORE_ALIASES=192.168.10.22 In this example, the default is to use the alias or actual IP addresses, with some exceptions. The Authentication Manager server with the actual IP address 192.168.10.23 has three alias addresses specified for it, while Authentication Manager servers with IP addresses 192.168.10.20 and 192.168.10.21 each have only one alias. The Authentication Manager server with IP address 192.168.10.22 has two alias IP addresses. The alias IP addresses specified by the ALIAS keywords are in addition to any aliases specified in the sdconf.rec file and in the Authentication Manager server.
In this example, the default is to ignore aliases, with two exceptions: IGNORE_ALIASES ALIASES_ONLY=192.168.10.23 ALIASES_ONLY=192.168.10.22 The ALIASES_ONLY exceptions specify that the authentication agent must send its requests to RSA Authentication Manager server 192.168.10.23 and 192.168.10.22 by using only their alias IP addresses. In the following example, the default is to use aliases, with two exceptions: ALIASES_ONLY IGNORE_ALIASES=192.168.10.23 IGNORE_ALIASES=192.168.10.22 The IGNORE_ALIASES exceptions specify that the authentication agent must send its requests to the RSA Authentication Manager servers 192.168.10.23 and 192.168.10.22 by using only their actual IP addresses. Example: Specifying an Overriding IP AddressWhen the authentication agent runs on a host that has multiple network interface cards, and therefore multiple IP addresses, you must specify a primary agent host IP address to be used for encrypted communication between the agent and Authentication Manager. Agent hosts typically attempt to discover their own IP addresses. An agent host with multiple addresses can select an address that is unknown to the Authentication Manager, thus making communication between the agent and Authentication Manager impossible. You can specify an overriding primary IP address by including the CLIENT_IP keyword in an sdopts.rec file on the authentication agent host. For example: CLIENT_IP=192.168.10.19 This statement ensures that the authentication agent host always uses the specified IP address to communicate with Authentication Manager. The Dynamic Host Configuration Protocol allocates IP addresses to agent hosts dynamically. To avoid address conflicts, do not enable DHCP for agent hosts with multiple IP addresses. Conversely, it is unnecessary to specify the CLIENT IP for agent hosts that have single IP addresses, because there are no alternative addresses to override. For more information, see the RSA Authentication Manager Administrator's Guide. If you have specified secondary IP addresses for the agent host, you must enter these in the properties file record also, and update all addresses in this record if they change.
Example: Excluding an Authentication Manager Server During Dynamic Load BalancingIn dynamic load balancing, you exclude an Authentication Manager server from use for authentication by including the AVOID keyword in the sdopts.rec file. When you provide the actual IP address of an Authentication Manager server as a value, this keyword instructs the authentication agent to exclude this Authentication Manager server from use during dynamic load balancing.
If you use the AVOID statement with the IP address of the default Authentication Manager server, the statement is ignored unless another Authentication Manager server is available. The default Authentication Manager server is the server where the sdconf.rec file was created. If an Authentication Manager server is designated as the master, however, it becomes the default Authentication Manager server regardless of where the sdconf.rec file was created. The following example shows how to use the AVOID keywords in the sdopts.rec file: AVOID=192.100.123.5 In this example, the Authentication Manager server with the IP address 192.100.123.5 will not be used for authentication.
|