Setting up the Site Selector machine

Set up the Site Selector component in production environments and realistic test environments.

Before you begin

Before setting up the Site Selector machine, you must be the root user (for AIX®, HP-UX, Linux, or Solaris systems) or the Administrator (for Windows systems).

About this task

You will need an unresolvable fully qualified hostname to use as a site name for a group of servers that you set up. The site name is the name that the clients use to access your site (such as www.yourcompany.com). Site Selector will load-balance traffic for this site name among the group of servers using DNS

Procedure

  1. Start the server function by typing ssserver at the command prompt. A default configuration file, default.cfg, automatically loads when starting ssserver. If you decide to save the configuration in default.cfg, everything saved in this file automatically loads the next time ssserver starts.
  2. Start the Name Server by typing sscontrol nameserver start at a command prompt. Optionally, start the Name Server using the bindaddress keyword to bind only to the specified address.
  3. Define a site name and set site name options. Site Selector balances the requests sent for the site name to the corresponding servers configured to it.

    The site name is an unresolvable host name that the client will request. The site name must be a fully qualified domain name (for example, www.dnsdownload.com). When a client requests this site name, one of the server IP addresses associated with the site name is returned.

    To define a site name, issue the following command:
    sscontrol sitename add sitename
    sscontrol sitename set sitename option value
  4. Define load balanced server machines. The server machines are the machines running the applications that you want load balanced. The server is the symbolic name or dotted decimal address of the server machine. To define a server on the site name from step 3, issue the following command:
    sscontrol server add sitename@server

    Define more than one server under a site name to perform load balancing.

  5. Optional: Start the manager function (optional). The manager function enhances load balancing. Prior to starting the manager function, ensure that the metric server is installed in all the load-balanced machines.
    To start the manager, issue the following command:
    sscontrol advisor start http sitename@port
  6. Optional: Define system metric (optional).
  7. Set site name proportions as required. If you start advisors, you may modify the proportion of importance given to advisor (port) information being included in the load balancing decisions. To set the site name proportions, issue the sscontrol sitename set sitename proportions command.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: January 17, 2013 11:24 AM EST
File name: tcfg_ssmachine.html