Federation Manager Guide › Load Balancing Support for Federation Manager › How to Configure Load Balancing › Set up the Federation Manager Systems to Work with a Load Balancer
Set up the Federation Manager Systems to Work with a Load Balancer
To use load balancing across a federation deployment, set up two or more Federation Manager systems.
Note: The procedure assumes that all systems are version r12.5.
Follow these steps:
- Install Federation Manager on each system, specifying the same Federation Manager Administrator Password for each installation.
Note: Whether Federation Manager is run in standalone or proxy mode, the servers must use the same mode.
- Run the Configuration Wizard on one system.
- Log in to the Federation Manager UI.
- Navigate to Infrastructure, System Settings.
- In the Server Settings section, change the Global Base URL to include the host and port of the load balancer in your network. Set this URL so that the default URL for all partnership entities is correct.
- Set up a federation partnership by completing the following tasks
- Import certificates and private keys.
- Establish user directories connections.
- Configure local entities.
- Specify a remote entity.
- Configure a partnership between the local and remote entities.
- Verify that the federation works with the remote partner.
- Run the Configuration Wizard on the secondary systems, using the same virtual host name of the load balancer that you entered for the first system.
Each Federation Manager system must use the same virtual host name. The virtual host name is the host that you specify for the Server Name in the Apache configuration when you run the Configuration Wizard.
If Federation Manager uses more than one virtual host or domain, modify the server.conf file to include the additional entries.
To modify the server.conf file
- Navigate to federation_mgr_home/secure-proxy/proxy-engine/conf.
- Open the server.conf file in an editor.
- Go to the # Default Virtual Host section.
- Add the base URL to the hostnames setting using fully qualified host names, as follows:
<VirtualHost name="default">
hostnames="defaultbaseurl.ca.com:80, newbaseurl.ca.com:80"
</VirtualHost>
Note: Specify multiple host_name:port entries for the hostnames setting, separating each entry with a comma.
Example:
<VirtualHost name="default"
hostnames=lb5.ca.com:80
</VirtualHost>
- Migrate SSL keys and certificates that are stored by the embedded Apache and Tomcat web servers.
- Follow the SSL migration procedure to complete this task. Migrating SSL data lets you avoid the purchase of a new key or certificate.
- Generate a new key/certificate request and then get the certificate signed. SSL certificates are not included in the imported configuration file.
Note: Replicate any change to the certificate configuration on one system to all other systems. Make configuration changes from the Certs and Keys page in the UI. Changes include adding or removing certificates, keys, or CRL data.
- Log in to the Federation Manager UI on the other systems that do not have partnerships configured.
- Navigate to Infrastructure, System Settings. In the UI Settings section, click Disable Administration.
Access the Federation Manager UI locally, without going through the load balancer. If the other systems are up and running, enable administration on only one system. If the administration system is disabled at any time, log in a different system and reenable administration.
Now that all Federation Manager systems are pointing to the same data store, the configured load balancer is able to balance traffic between the systems.
|
Copyright © 2012 CA.
All rights reserved.
|
|