sscontrol server

Use the sscontrol server command to configure servers.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-sscontrol--server--+-add--sitename+sn2+...+snN@server+s2+...+sN--+------------------------+-+-><
                      |                                             +-metricaddress--address-+ |   
                      |                                             '-weight--value----------' |   
                      +-down--sitename+sn2+...+snN@server+s2+...+sN----------------------------+   
                      +-remove--sitename+sn2+...+snN@server+s2+...+sN--------------------------+   
                      +-set--sitename+sn2+...+snN@server+s2+...+sN--+------------------------+-+   
                      |                                             +-metricaddress--address-+ |   
                      |                                             '-weight--value----------' |   
                      +-status--sitename+sn2+...+snN@server+s2+...+sN--------------------------+   
                      '-up--sitename+sn2+...+snN@server+s2+...+sN------------------------------'   

Parameters

add
Add this server
  • sitename

    An unresolvable hostname that the client requests. The site name must be a fully qualified domain name. Additional site names are separated by a plus sign (+).

  • server
    The IP address of the TCP server machine as either a symbolic name or in IP address format.
    Note: Additional servers are separated by a plus sign (+).
weight
A number from 0–100 (not to exceed the specified site name's maximum weightbound value) representing the weight for this server. Setting the weight to zero will prevent any new requests from being sent to the server. The default is one-half the specified site name’s maximum weightbound value. If the manager is running, this setting will be quickly overwritten.
  • value

    The server weight value.

down
Mark this server down. This command prevents any other request from being resolved to that server.
remove
Remove this server.
set
Set values for this server.
status
Show status of the servers.
up
Mark this server up. Site Selector will now resolve new requests to that server.

Samples

  • To add the server at 27.65.89.42 to a site name of site1:
    sscontrol server add site1@27.65.89.42
  • To mark the server at 27.65.89.42 as down:
    sscontrol server down site1@27.65.89.42
  • To remove the server at 27.65.89.42 for all site names:
    sscontrol server remove @27.65.89.42 
  • To mark the server at 27.65.89.42 as up:
    sscontrol server up site1@27.65.89.42

Icon that indicates the type of topic Reference topic



Timestamp icon Last updated: March 23, 2018 0:18
File name: rcmd_sscontrolserver.html