There are four methods you can use to configure Content Based Routing (CBR): 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 Content Based Routing. The command parameter values must be entered in English characters. The only exceptions are host names (used, for example, in site name and server commands) and file names.
cbserver
To
stop the service, type: cbserver stop
cbcontrol he f
instead
of cbcontrol help file
To start up the command line interface issue cbcontrol to receive an cbcontrol command prompt. To end the command line interface issue the commands exit or quit.
cbcontrol file appendload myscript
cbcontrol file newload myscript
cbcontrol file save savescript
This command will save the configuration script file in the install_root/servers/configurations/ss directory.
cbserver
lbadmin
To configure the Site Selector component from the GUI, you must first select Content Based Routing 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 sscontrol command. For example, to define a cluster using the command line, you would enter cbcontrol 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 Site Selector 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 report
The 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 Site Selector component. You will be asked questions about your network. You will be guided through the setup of a cluster for Site Selector to load balance traffic between a group of servers.