TROUBLESHOOTING: Restart the BES Relay Service
Log In or Register to download the BES file, and more.

0 Votes

Description

Sometimes it is necessary for various troubleshooting reasons to restart the BES Relay. You can use this task to restart the BES Relay on Windows NT based computers.

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

ID348
TitleTROUBLESHOOTING: Restart the BES Relay Service
CategoryTroubleshooting
Download Size0
SourceBigFix
Source ID<Unspecified>
Source SeverityLow
KeywordsBES Relay Note restart TROUBLESHOOTING
Added by on 10/17/2012 1:15:11 PM
Last Modified by on 10/17/2012 1:15:11 PM
Counters 9846 Views / 14 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 93 fixlets and 2 analyses   * Results in a true/false
Show indented relevance
version of client >= "6.0"
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 5 fixlets   * Results in a true/false
Show indented relevance
(it does not contain "Win9" AND it != "WinME") of name of operating system
Used in 1 fixlet   * Results in a true/false
Show indented relevance
running of relay service

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:
Share this page on Yammer

Comments

Log In or Register to leave comments!