Operating Systems: i5/OS
Personalize the table of contents and search results
Load balancing with the Session Initiation Protocol proxy server
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.
Before you begin this task, complete these steps.
- Install Load Balancer for IBM WebSphere Application Server version 6.1.
- Start the Session Initiation Protocol (SIP) proxy server.
Overview
Complete these steps to integrate the SIP proxy server with the Load
Balancer.
Procedure
- Start the Load Balancer.
- From the command prompt, typedsserver start .
- Then type lbadmin to start the administrative
console for the Load Balancer.
- From the administrative console, right click on Dispatcher,
and then select Connect to Host.
- Right click on the hostname and select Start Executor.
- Start the configuration wizard for the Load Balancer.
- Select default host.
- Type a cluster address. The cluster address should not be pingable
before the Executor starts. You must specify this same value for
host when you create a user-defined port.
- Type a port number, such as 5060.
You must specify this same value for port when you create a user-defined
port.
- Add servers to the port. Add each server to which the Load Balancer
will proxy traffic. In your configuration, the load-balanced server
is the proxy server for your WebSphere Application Server configuration.
- Start an advisor by typing the name of the advisor. For example,
for HTTP traffic, start the HTTP advisor. For SIP traffic, start the SIP
advisor. The advisor tells the manager whether or not a specific port is
accepting traffic.
- Alias the cluster address on the SIP proxy server loopback adapter.
See the topic entitled "Setting up server machines for load balancing" in
the Load Balancer for WebSphere Application Server Administration Guide,
V6.1.
- Configure an IP sprayer from the WebSphere Application Server administrative
console.
- From the administrative console, click Servers
> Proxy servers > servername
> SIP proxy server settings > SIP proxy settings
.
- Under General Properties, in the IP sprayer configuration section, select
the checkbox for the IP sprayer from which you want the SIP proxy server to
receive traffic: Enable TCP sprayer, Enable
SSL sprayer, or Enable UDP sprayer.
- Enter a value for the Host. This
is the host for your load balancer.
- Enter a value for the Port. This
is the port for your load balancer.
- Click Apply, and then click Save.
- Define SIP proxy server custom properties from the WebSphere Application
Server administrative console.
- From the administrative console, click Servers
> Proxy servers > servername
> SIP proxy server settings > SIP proxy settings
.
- Under General Properties, in the Additional Properties section,
click Custom properties.
- Add these custom properties, and then click OK.
- LBIPAddr
- SIPAdvisorMethodName
- serverUDPInterface
- serverUDPPort
- Create a user-defined port from the WebSphere Application Server
administrative console.
- From the administrative console, click Servers
> Proxy servers > servername
> Ports.
- Click New.
- Select User-defined port.
- Enter SIP_LB_Address for the Port
Name.
- Enter a value for the Host. This
is the host for your load balancer.
- Enter a value for the Port. This
is the port for your load balancer.
- Enter a value for PROXY_SIP_ADDRESS
This is the actual hostname for the proxy server machine.
- Click Apply, and then click Save.
- Modify the SIP proxy transports from the WebSphere Application
Server administrative console.
- From the administrative console, click Servers
> Proxy servers > servername
> SIP container transport chains > UDP_SIP_PROXY_CHAIN
> UDPInbound Channel.
- Under SIP proxy transports, modify UDP_SIP_PROXY_CHAIN.
- From the Port drop-down
list, select SIP_LB_Address
- Click Apply, and then click Save.
- Restart the proxy server to save your changes.
}
Related tasks
Installing a Session Initiation Protocol proxy server
|