There are four methods you can use to configure Load Balancer: the command line, scripts, the graphical user interface (GUI), and the configuration wizard. The Information Center assumes use of the command line.
This is the most direct means of configuring the Dispatcher. The command parameter values must be entered in English characters. The only exceptions are host names (used in cluster, server, and high availability commands) and file names (used in file commands).
dsserverTo stop the service, type:
dsserver stop
dscontrol he finstead of
dscontrol help file
To start up the command line interface issue dscontrol to receive an dscontrol command prompt. To end the command line interface issue the commands exit or quit.
dscontrol file appendload myscript
dscontrol file newload myscript
dscontrol file save savescript
This command will save the configuration script file in the install_root/servers/configurations/dispatcher directory.
dsserver
lbadmin
To configure the Dispatcher component from the GUI, you must first select Dispatcher in the tree structure. You can start the executor and manager after you connect to a Host. You can also create clusters containing ports and servers, and start advisors for the manager.
The GUI can be used to do anything that you would do with the dscontrol command. For example, to define a cluster using the command line, you would enter dscontrol cluster add cluster command. To define a cluster from the GUI, right-click Executor, then in the popup menu, left-click Add Cluster. Enter the cluster address in the popup window, then click OK.
Pre-existing Dispatcher configuration files can be loaded using the Load New Configuration (for completely replacing the current configuration) and Append to Current Configuration (for updating the current configuration) options presented in the Host popup menu. You should save your Dispatcher configuration to a file periodically using the Save Configuration File As option also presented in the Host popup menu. The File menu located at the top of the GUI will allow you to save your current host connections to a file or restore connections in existing files across all Load Balancer components.
executor reportThe results and history of the commands run in the current session and appear in the window provided.
The wizard guides you step by step through the process of creating a basic configuration for the Dispatcher component. You will be asked questions about your network. You will be guided through the setup of a cluster for Dispatcher to load balance traffic between a group of servers.
dsserver
dswizard