Use the sscontrol sitename command to configure a site name.
>>-sscontrol--sitename--+-delete--filename.ext-----------------------------------+->< +-appendload--filename.ext-------------------------------+ +-report-------------------------------------------------+ +-save--filename.ext-------------------------------------+ +-logsize--name--+-port---------+--+-unlimited---------+-+ | '-cluster@port-' '-number of records-' | +-receivetimeout--name--+-port---------+--seconds--------+ | '-cluster@port-' | +-report--save--filename.ext-----------------------------+ '-force--newload--filename.ext---------------------------'
An irresolvable host name, requested by the client. Additional site names are separated by a plus sign (+).
A positive number representing the number of seconds a proximity response is valid and saved in the cache.
The choices are yes or no. The default is no, which means network proximity is turned off.
The default is 50.
A positive, non-zero number representing the number of seconds during which the client receives the same server ID previously returned for the first request.
A positive number representing the number of seconds the name server will cache the resolved response.
The choices are yes or no. The default is yes.
The value of weightbound.
sscontrol sitename add 130.40.52.153
sscontrol sitename set mySite networkproximity yes
sscontrol sitename set mySite cachelife 1900000
sscontrol sitename set mySite proximitypercentage 45
sscontrol sitename set mySite waitforallresponses no
sscontrol sitename set mySite ttl 7
sscontrol sitename set mySite proportions 50 48 1 1
sscontrol sitename remove 130.40.52.153
sscontrol sitename status mySite
SiteName Status:
---------------
SiteName ........................... mySite
WeightBound ........................ 20
TTL ................................ 5
StickyTime ......................... 0
Number of Servers .................. 1
Proportion given to CpuLoad ........ 49
Proportion given to MemLoad ........ 50
Proportion given to Port ........... 1
Proportion given to System metric .. 0
Advisor running on port ............ 80
Using Proximity .................... N