Configure the Dispatcher
With Dispatcher, you can create a configuration by using the command
line, the configuration wizard, or the graphical user interface (GUI).
Note:
The parameter values must be typed in English characters.
The only exceptions are parameter values for host names and file names.
Configuring using the command line
If you are using the command line, follow these steps:
- Start the dsserver on Dispatcher:
-
Run the following command as
root user: dsserver
-
dsserver runs as a service that starts automatically.
- Start the executor function of Dispatcher:
dscontrol executor start
- Add the cluster address to the Dispatcher configuration:
dscontrol cluster add www.company.com
- Add the http protocol port to the Dispatcher configuration:
dscontrol port add www.company.com:80
- Add each of the Web servers to the Dispatcher configuration:
dscontrol server add www.company.com:80:server2.company.com
dscontrol server add www.company.com:80:server3.company.com
- Configure the workstation to accept traffic for the cluster address:
dscontrol executor configure www.company.com
- Start the manager function of Dispatcher:
dscontrol manager start
Dispatcher now
does load balancing based on server performance.
- Start the advisor function of Dispatcher:
dscontrol advisor start http 80
Dispatcher now ensures that client requests are not sent to a
failed Web server.
Your basic configuration with locally attached servers is now complete.
Configuring using the configuration wizard
If you are using the configuration wizard, follow these steps:
- Start the dsserver on Dispatcher:
-
Run the following command as
root user:
dsserver
-
dsserver runs as a service that starts automatically.
- Start the wizard function of Dispatcher, dswizard.
The wizard guides you step-by-step through the process of creating
a basic configuration for the Dispatcher component. It asks questions
about your network and guides you through the setup of a cluster for
Dispatcher to load balance the traffic for a group of servers.
The configuration wizard contains the following panels:
- Introduction to the wizard
- What is going to happen
- Preparing for the setup
- Choosing a host to configure (if necessary)
- Defining a cluster
- Adding a port
- Adding a server
- Starting an advisor
- Server machine setup
Configuring using the graphical user interface (GUI)
To start the GUI, follow these steps:
- Ensure that the dsserver process is running:
-
Run the following command as
root:
dsserver
-
dsserver runs as a service that starts automatically.
- Next, do one of the following:
-
Type lbadmin.
-
Click Start > Programs > IBM® WebSphere® > Edge Components > IBM Load Balancer for IPv4 > Load Balancer for IPv4.