Switch BES Client ActionSite Masthead (VMware ESX Server)
0 Votes |
Collections (part of 1 collection)
Versioning - This is the latest version.
1 | TROUBLESHOOTING: Switch ActionSite Masthead on VMware ESX Server | 10/17/2012 1:15:29 PM |
2 | Switch BES Client ActionSite Masthead (VMware ESX Server) | 8/9/2013 2:20:30 PM |
Description
Sometimes it is necessary to switch the BES Client's action site masthead. The action site masthead serves the following functions:
A common use for this task is to switch BES Clients from one BES Server to another. This task applies only to ESX Server based computers. Note: This action will download the file from url http://localhost:52311/Uploads/masthead.afxm and use it as the new masthead. Please put the file at that location or use a custom action to change the download url. Note: The actions below will remove manual BES Relay settings from the BES Client prior to switching the BES Client masthead. Important Note: Please make sure the new action site masthead is valid and points to a working BES Server. Once the masthead is switched, the BES Client may not be able to report the final status of the action because they may be pointing to a different BES Server. Due to the complexity of this action, please fully test this action before use in a production environment. |
Property Details
2562 | |
Production - Fully Tested and Ready for Production | |
Switch BES Client ActionSite Masthead (VMware ESX Server) | |
BESC | |
Common Tasks | |
9216 | |
danielheth@bigfix.me | |
<Unspecified> | |
<Unspecified> | |
8/9/2013 12:00:00 AM | |
BES masthead Client Note ESX | |
True | |
danielheth on 8/9/2013 2:20:30 PM | |
danielheth on 8/9/2013 2:20:30 PM | |
6002 Views / 77 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Used in 221 fixlets | * Results in a true/false |

Used in 32 fixlets | * Results in a true/false |

Used in 8 fixlets | * Results in a true/false |

Used in 2 fixlets | * Results in a true/false |

Actions
Action 1
setting "__RelayServer1"="" on "{parameter "action issue date" of action}" for client
setting "__RelayServer2"="" on "{parameter "action issue date" of action}" for client
setting "_BESClient_RelaySelect_FailoverRelay"="" on "{parameter "action issue date" of action}" for client
setting "_BESClient_Register_Affiliation_SeekList"="" on "{parameter "action issue date" of action}" for client
setting "_BESClient_RelaySelect_TertiaryRelayList"="" on "{parameter "action issue date" of action}" for client
download http://lab.bigfix.me:52311/masthead/masthead.afxm
//continue if {(size of it = 8213 and sha1 of it = "267c5ca821c50e302ce5b6fb9dccaf3b8572169a") of file "masthead.afxm" of folder "__Download"}
delete /etc/opt/BESClient/actionsite.afxm_old
delete /etc/opt/BESClient/ActionSite.afxm_old
if {exists file ("/etc/opt/BESClient/actionsite.afxm")}
move /etc/opt/BESClient/actionsite.afxm /etc/opt/BESClient/actionsite.afxm_old
move __Download/masthead.afxm /etc/opt/BESClient/actionsite.afxm
else
move /etc/opt/BESClient/ActionSite.afxm /etc/opt/BESClient/ActionSite.afxm_old
move __Download/masthead.afxm /etc/opt/BESClient/ActionSite.afxm
endif
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 555 "{(client folder of current site as string) & "/__appendfile"}"
run "{(client folder of current site as string) & "/__appendfile"}"
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |