Просмотр исходного кода

dispatcher: doc description for relative weight distribution added

Savolainen Dmitri 10 лет назад
Родитель
Сommit
bd2feeae89
1 измененных файлов с 24 добавлено и 0 удалено
  1. 24 0
      modules/dispatcher/doc/dispatcher_admin.xml

+ 24 - 0
modules/dispatcher/doc/dispatcher_admin.xml

@@ -915,6 +915,24 @@ modparam("dispatcher", "force_dst", 1)
 				requests as it is the only SIP method creating a SIP call.
 				</para>
 			</listitem>
+			<listitem>
+				<para>
+				<quote>11</quote> - use relative weight based load distribution.
+				You have to set the attribute 'rweight' per each address in
+				destination set. Active host usage probability is 
+				rweight/(SUM of all active host rweights in destination group). 
+				</para>
+				<para>
+				The major difference from the weight distribution is the
+				probability recalculation according to rweight value in case of 
+				host enabling/disabling
+				</para>
+				<para>
+				For example, 100 calls in 3-hosts group with rweight params 1/2/1  
+				will be distributed as 25/50/25. After third host failing 
+				distribution will be changed to 33/67/0.
+				</para>
+			</listitem>
 			<listitem>
 				<para>
 				<quote>X</quote> - if the algorithm is not implemented, the
@@ -1449,6 +1467,12 @@ onreply_route {
 					100. The value represents the percent of calls to be
 					sent to that gateways.
 				</listitem>
+				<listitem>
+					'rweight' - used for relative weight based load 
+					distribution. It must be set to a positive integer value 
+					between 1 and 100 (otherwise host will be excluded from 
+					relative weight distribution type). 
+				</listitem>
 				<listitem>
 					'socket' - used to set the sending socket for the gateway.
 					It is used for sending the SIP traffic as well as