Load balancing with the Session Initiation Protocol proxy server
Load Balancer for IBM WebSphere Application Server can help maximize the potential of our Web site by providing a, flexible, and scalable solution to peak-demand problems. Configuration of a load balancer is critical to prevent any single points of failure at SIP proxy. Configuration of a load balancer is required when more than one SIP proxy is deployed.
Before beginning, complete these tasks:
- Install Load Balancer for IBM WAS. See the information provided in the Edge Components Information Center. This information center is available on the WAS Library page.
- From the Load Balancer for IBM WAS, complete the steps for setting up server machines for load balancing. Ensure that we set up a loopback address for our operating system. See the Load Balancer Administration Guide in the Edge Components Information Center.
- Start the SIP proxy server.
Complete these steps to integrate the SIP proxy server with the Load Balancer.
Tasks
- Start the Load Balancer.
- From the command prompt, type dsserver start
- Then type lbadmin to start the administrative console for the Load Balancer.
- From the administrative console, right-click Dispatcher, and then select Connect to Host
- Right-click the host name, and select Start Executor.
- Start the configuration wizard for the Load Balancer.
- Select default host.
- Type a cluster address. We cannot ping the cluster address before the Executor starts.
- Define your SIP traffic port. Type a port number, such as 5060. Specify this same value for port when we create a user-defined port in on your proxy server.
- Add each server to which the Load Balancer proxies traffic. In the configuration, the load balanced server is the proxy server for our configuration.
- Start an advisor by typing the name of the advisor. For example, start the HTTP advisor for HTTP traffic. For SIP traffic, start the SIP advisor. The advisor tells the manager if a specific port is accepting traffic.
- Set up a loopback address on the physical proxy server host that represents the Virtual IP address for the cluster that is defined on the load balancer. Refer to the topic on configuring the server machines in the information center for Load Balancer.
- Configure an IP sprayer from the application server's administrative console
- From the administrative console, click...
Servers > Server Types > WebSphere proxy servers > proxy_server > SIP proxy server settings > SIP proxy settings.
- Scroll down to the health checking setting for Load Balancer, and specify the physical IP address of the host on which Load Balancer is installed.
- Specify the SIP health check method name. The IBM Load Balancer uses OPTIONS as its method name.
- Click on Apply, and save your actions.
- Optional: From the administrative console, define custom properties for the SIP proxy server. These custom properties can be used for defining SIP Proxy Load Balancer Health checking.
- In the Additional Properties section, click Custom properties.
- Ensure that Proxy servers have both the LBIPAddr and SIPAdvisorMethodName custom properties defined. The information for these custom properties is:
Specify a value for these SIP proxy custom properties, and click OK.
Name Value LBIPAddr Physical IP address of the machine where the IBM Load Balancer is installed SIPAdvisorMethodName OPTIONS These settings are now available from the SIP proxy settings page in the administrative console, and they do not require that a custom property be set, but defining the custom properties is supported. If the custom property is set, the value of the custom property takes precedence over the value that we set in the administrative console.
- Create a user-defined port from the application server's administrative console.
- From the administrative console, click...
Servers > Server Types > WebSphere proxy servers > proxy_server > Ports > New.
- Select User-defined port.
- Enter SIP_LB_Address for the Port Name field.
- Enter a value for the Host field. This is the virtual IP (cluster address) configured on your load balancer.
- Enter a value for the Port field. This value corresponds to the port through which the load balanced servers are configured to accept traffic from the load balancer machine. Consider the load balanced servers to be your proxy servers for this configuration.
- Click Apply> Save.
- Modify the SIP proxy transports from the administrative console.
- From the administrative console, click...
Servers > Server Types > WebSphere proxy servers > proxy_server > SIP container transport chains > UDP_SIP_PROXY_CHAIN > UDP Inbound Channel.
- Under the SIP proxy transports section, modify UDP_SIP_PROXY_CHAIN.
- From the Port menu, select SIP_LB_Address.
- Click Apply, and click Save.
- Restart the proxy server to save the changes.
Configure the server machines for Load Balancer, Edge Components Information Center Install a Session Initiation Protocol proxy server SIP proxy server custom properties