Configuring using the command line

If you are using the command line, follow these steps:

  1. Start the dsserver on Dispatcher:

    • [AIX] [HP-UX] [Linux] [Solaris] Run the following command as root user: dsserver
    • [Windows] dsserver runs as a service that starts automatically.
  2. Start the executor function of Dispatcher:
    dscontrol executor start
  3. Add the cluster address to the Dispatcher configuration:
    dscontrol cluster add www.company.com
  4. Add the http protocol port to the Dispatcher configuration:
    dscontrol port add www.company.com:80
  5. 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
  6. Configure the workstation to accept traffic for the cluster address:
    dscontrol executor configure www.company.com
  7. Start the manager function of Dispatcher:
    dscontrol manager start

    Dispatcher now does load balancing based on server performance.

  8. 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.