BES Relay Setting: Throttle Outgoing Download Traffic
0 Votes |
Description
Note: This change will restart the BES Relay service.
Note: The throttle value cannot be greater than 4294967295 KB/sec.
Note: Do not set the "Reapply" behavior when taking this action or you may cause the BES Client to constantly reset this setting.
Property Details
522 | |
BES Relay Setting: Throttle Outgoing Download Traffic | |
BES Server/Relay Setting | |
0 | |
BigFix | |
<Unspecified> | |
<Unspecified> | |
BES Relay Note sec Client | |
besSupport on 10/17/2012 1:16:02 PM | |
danielheth on 10/17/2012 1:16:02 PM | |
3230 Views / 2 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
exists relay service OR exists main gather service
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 the limit on total outgoing download traffic (KB/sec) on the listed BES Relays. You will be prompted for the total outgoing download traffic in KB/sec.
Script Type
BigFix Action Script
action parameter query "_BESRelay_HTTPServer_ThrottleKBPS" with description "Please enter the limit on total outgoing download traffic (valid limits range from 1 to 4,294,967,295 KB/sec):"
// Fail if value is not between 1 and max integer limit
continue if {parameter "_BESRelay_HTTPServer_ThrottleKBPS" of action as integer >= 1 and parameter "_BESRelay_HTTPServer_ThrottleKBPS" of action as integer < 4294967296}
setting "_BESRelay_HTTPServer_ThrottleKBPS"="{parameter "_BESRelay_HTTPServer_ThrottleKBPS" 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 this setting on the listed BES Relays.
Script Type
BigFix Action Script
setting "_BESRelay_HTTPServer_ThrottleKBPS"="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: |