Configure servers and modify existing server configurations with the dscontrol server command.
>>-dscontrol--server--+-add--cluster@port@server--+-address--address--------------------------------------------------+-+->< | +-advisorrequest--string--------------------------------------------+ | | +-advisorresponse--string-------------------------------------------+ | | +-encapforward--+-yes-+--encaptype--+-ipip-+--encapcond--+-always-+-+ | | | '-no--' '-gre--' '-auto---' | | | +-fixedweight--value------------------------------------------------+ | | +-sticky--+-yes-+---------------------------------------------------+ | | | '-no--' | | | '-weight--value-----------------------------------------------------' | +-set--cluster@port@server--+-advisorrequest--string--------------------------------------------+-+ | +-advisorresponse--string-------------------------------------------+ | | +-encapforward--+-yes-+--encaptype--+-ipip-+--encapcond--+-always-+-+ | | | '-no--' '-gre--' '-auto---' | | | +-fixedweight--value------------------------------------------------+ | | +-sticky--value-----------------------------------------------------+ | | '-weight--value-----------------------------------------------------' | +-remove--cluster@port@server---------------------------------------------------------------------+ +-report--cluster@port@server---------------------------------------------------------------------+ '-status--cluster@port@server---------------------------------------------------------------------'
dscontrol server add @80@ServerA
dscontrol server add @@ServerA
Value of the address of the server.
String
String
Specifies the value of fixedweight. The value can be yes or no. Default is no.
Value of the map port number. The default is the client request's destination port number.
Value of the server weight.
dscontrol server add 130.40.52.153@80@27.65.89.42
dscontrol server remove @@27.65.89.42
dscontrol server set 130.40.52.153@80@27.65.89.42 advisorrequest "\"HEAD / HTTP/1.0\""
dscontrol server status 9.67.131.167@80@9.67.143.154
dscontrol server set 130.40.52.153@80@27.65.89.42 sticky no
dscontrol server set 130.40.52.153@80@27.65.89.42 weight 10
dscontrol server set 130.40.52.153@80@27.65.89.42 sticky no