Load Balancer for IBM® WebSphere® Application Server can
help maximize the potential of your Web site by providing a powerful,
flexible, and scalable solution to peak-demand problems. Configuration
of a load balancer is critical to prevent any single points of failure
at Session Initiation Protocol (SIP) proxy. Configuration of a load
balancer is required when more than one SIP proxy is deployed.
Before you begin
Before you begin, complete these tasks:
- Install Load Balancer for IBM WebSphere Application Server. See
the information provided in the Edge Components Information Center.
This information center is available on the WebSphere Application
Server Library page.
- From the Load Balancer for IBM WebSphere Application Server, complete
the steps for setting up server machines for load balancing. Ensure
that you set up a loopback address for your operating system. See
the Load Balancer Administration Guide in the Edge Components Information
Center.
- Start the Session Initiation Protocol (SIP) proxy server.
About this task
Complete these steps to integrate the SIP proxy server with
the Load Balancer.
Procedure
- 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 , and then select Connect to Host
- Right click the host name, and select .
- Start the configuration wizard for the Load Balancer.
- Select default host.
- Type a cluster address. You cannot ping the
cluster address before the Executor starts.
- Define your SIP traffic port. Type a port
number, such as 5060. You must specify this same value for port when
you create a user-defined port in on your proxy server.
- Add each server to which the Load Balancer proxies traffic. In your configuration, the load balanced server is the proxy
server for your 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 .
- 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:
Name |
Value |
LBIPAddr |
Physical IP address of the machine where the IBM Load Balancer
is installed |
SIPAdvisorMethodName |
OPTIONS |
Specify a value for these SIP proxy custom properties,
and click OK.Attention: 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 you set in the administrative console.
- Create a user-defined port from the application server's
administrative console.
- From the administrative console, click .
- 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) that is 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, and then click Save.
- Modify the SIP proxy transports from the administrative
console.
- From the administrative console, click .
- 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 your changes.