TROUBLESHOOTING: Restart BES Client on VMware ESX Server
| 0 Votes |
Description
Note: Do not set the "Reapply" behavior when taking this action or you may cause the BES Client to constantly restart itself.
Property Details
| 404 | |
| TROUBLESHOOTING: Restart BES Client on VMware ESX Server | |
| Common Tasks | |
| 0 | |
| BigFix | |
| <Unspecified> | |
| Low | |
| 10/25/2007 12:00:00 AM | |
| BES Client VMware ESX restart | |
| besSupport on 10/17/2012 1:15:21 PM | |
| danielheth on 10/17/2012 1:15:21 PM | |
| 4008 Views / 0 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
| Used in 223 fixlets | * Results in a true/false |
(if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
version of client >= "5.1"
| Used in 32 fixlets | * Results in a true/false |
(if (version of client >= "8.0") then (unix of it) else ((it does not start with "Win" AND it does not start with "Mac OS X") of name of it)) of operating system
| Used in 8 fixlets | * Results in a true/false |
if (version of client < "8") then (exists file ("/etc/init.d/BESClient-" & version of client as string)) else (exists file "/etc/init.d/besclient")
| Used in 1 fixlet | * Results in a true/false |
name of operating system starts with "VMware"
Actions
Action 1
Action Link Click
here to restart the BES Client service.
Script Type
BigFix Action Script
delete "{(client folder of current site as string) & "/__appendfile"}"
appendfile #!/bin/sh
appendfile sleep 5
if {version of client < "8"}
appendfile /etc/init.d/BESClient-{version of client} stop
appendfile sleep 5
appendfile /etc/init.d/BESClient-{version of client} start
else
appendfile /etc/init.d/besclient restart
endif
wait chmod +x "{(client folder of current site as string) & "/__appendfile"}"
run "{(client folder of current site as string) & "/__appendfile"}"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

