TROUBLESHOOTING: Restart the BES Relay Service
0 Votes |
Description
Note: Do not set the "Reapply" behavior when taking this action or you may cause the BES Relay and BES Client to constantly restart themselves.
Note: This task is only applicable to Relays with BES Clients versions 6.x or later.
Property Details
348 | |
TROUBLESHOOTING: Restart the BES Relay Service | |
Troubleshooting | |
0 | |
BigFix | |
<Unspecified> | |
Low | |
BES Relay Note restart TROUBLESHOOTING | |
besSupport on 10/17/2012 1:15:11 PM | |
danielheth on 10/17/2012 1:15:11 PM | |
9846 Views / 14 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

version of client >= "6.0"

exists relay service OR exists main gather service
Used in 5 fixlets | * Results in a true/false |

(it does not contain "Win9" AND it != "WinME") of name of operating system
Actions
Action 1
Action Link Click
here to restart the BES Relay service.
Script Type
BigFix Action Script
// 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
// if for some reason the BES Relay hasn't started yet, fail here
continue if {running of relay service}
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |