BES Relay Setting: Dynamic Download Throttling
Log In or Register to download the BES file, and more.

0 Votes

Description

The BES Relay can dynamically throttle download traffic to use a percentage of the available bandwidth when existing network traffic is detected. When dynamic throttling is enabled, BES will monitor and analyze existing data throughput to establish a throttled rate for network communication. The maximum and minimum rates provide a hard cap on how low or high dynamic throttling will go. The throttle percentage represents the fraction of the maximum bandwidth to use when conflicting network traffic is detected. The throttle percentage will not go below the minimum or above the maximum throttle values.

For example, suppose the throttle percentage is set to 10% on a computer connecting over a slow VPN. While the user is idle, the BES Relay is able to use all of the available bandwidth. If the user starts a download, however, the BES Relay will throttle itself to 10% of the VPN so the user is not affected by the BES Relay downloads. Once the user download has completed, the BES Relay will stop throttling as long as the user is idle.

Note: Windows 9x/ME operating systems will require the computer to be restarted to complete the task. On newer Windows operating systems, the BES Relay service will be restarted. Please schedule this task to occur at a time when a service interruption is acceptable.

Note:
Do not set the "Reapply" behavior when taking this action or you may cause the BES Relay to constantly reset this setting.

Important Note: Dynamic throttling will only work properly if it is enabled on all BES Relays. Please use the  task to globally enable the dynamic throttling setting.


Property Details

ID356
TitleBES Relay Setting: Dynamic Download Throttling
CategoryBES Server/Relay Setting
Download Size0
SourceBigFix
Source ID<Unspecified>
Source Severity<Unspecified>
KeywordsBES Relay Dynamic taskLink Throttling
Added by on 10/17/2012 1:15:12 PM
Last Modified by on 10/17/2012 1:15:12 PM
Counters 4697 Views / 6 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 30 fixlets   * Results in a true/false
Show indented relevance
NOT exists main gather service
Used in 85 fixlets and 10 analyses   * Results in a true/false
Show indented relevance
exists relay service OR exists main gather service
Used in 19 fixlets   * Results in a true/false
Show indented relevance
version of client >= "7.0"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists setting "_BESGather_Download_DynamicThrottleEnabled" whose (value of it = "1") of client
Used in 2 fixlets   * Results in a true/false
Show indented relevance
if (name of operating system starts with "Win") then ((it >= "7") of (if (version of client >= "8.0") then (version of relay service) else (version of regapp "besrelay.exe"))) else true

Actions

Action 1

Action Link Click here for more information about BES bandwidth throttling.
Script Type URL
http://support.bigfix.com/bes/misc/besthrottling.html
    

Action 2

Action Link Click here to set a dynamic limit on download traffic (bytes/sec) on the listed BES Relays. You will be prompted for the minimum total outgoing traffic, maximum total outgoing traffic, and the percentage of the maximum that will be used when throttling.
Script Type BigFix Action Script
action parameter query "MinBPS" with description "Please enter the minimum total download traffic (valid limits range from 0 to 4,294,967,295 bytes/sec):"
action parameter query "MaxBPS" with description "Please enter the maximum total download traffic (valid limits range from 1 to 4,294,967,295 bytes/sec, or 0 for max):"
action parameter query "Percentage" with description "Please enter the percentage of the maximum total download traffic (1-100):"
continue if {parameter "MaxBPS" of action as integer >= 0 AND parameter "MaxBPS" of action as integer < 4294967296 AND parameter "Percentage" of action as integer > 0 AND parameter "Percentage" of action as integer <= 100 AND parameter "MinBPS" of action as integer >= 0 AND parameter "MinBPS" of action as integer < 4294967296 AND (parameter "MinBPS" of action as integer <= parameter "MaxBPS" of action as integer or parameter "MaxBPS" of action as integer = 0) }
setting "_BESGather_Download_DynamicThrottleMaxBytesPerSecond"="{parameter "MaxBPS" of action}" on "{parameter "action issue date" of action}" for client
setting "_BESGather_Download_DynamicThrottleMinBytesPerSecond"="{parameter "MinBPS" of action}" on "{parameter "action issue date" of action}" for client
setting "_BESGather_Download_DynamicThrottlePercentage"="{parameter "Percentage" of action}" on "{parameter "action issue date" of action}" for client
// Restart the Relay
if {name of operating system starts with "Win"}
dos net stop BESRelay
dos net start BESRelay
elseif {name of operating system starts with "AIX"}
wait /etc/rc.d/rc2.d/KBESRelayd stop
wait /etc/rc.d/rc2.d/SBESRelayd start_skipclientrestart
elseif {(it starts with "SunOS" OR it starts with "Linux") of name of operating system}
wait /etc/init.d/besrelay stop
wait /etc/init.d/besrelay start_skipclientrestart
else
continue if {false}
endif
parameter "waitTime" = "{apparent registration server time}"
pause while {((apparent registration server time) - time (parameter "waitTime")) < 5*second}
relay select
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here to disable dynamic download throttling on the listed BES Relays.
Script Type BigFix Action Script
setting "_BESGather_Download_DynamicThrottleEnabled"="0" on "{parameter "action issue date" of action}" for client
// Restart the Relay
if {name of operating system starts with "Win"}
dos net stop BESRelay
dos net start BESRelay
elseif {name of operating system starts with "AIX"}
wait /etc/rc.d/rc2.d/KBESRelayd stop
wait /etc/rc.d/rc2.d/SBESRelayd start_skipclientrestart
elseif {(it starts with "SunOS" OR it starts with "Linux") of name of operating system}
wait /etc/init.d/besrelay stop
wait /etc/init.d/besrelay start_skipclientrestart
else
continue if {false}
endif
parameter "waitTime" = "{apparent registration server time}"
pause while {((apparent registration server time) - time (parameter "waitTime")) < 5*second}
relay select
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!