Server Recovery
How to perform a server recovery.
- Ensure that the new BigFix server
computer can be reached on the network using the same URL that is in the masthead
file. (For example:
http://192.168.10.32:52311/cgi-bin/bfgather.exe/actionsite OR http://bigfixserver.company.com:52311/cgi-bin/bfgather.exe/actionsite
).Note: To avoid issues when the BigFix clients connect to the BigFix server before it is fully restored, ensure that the BigFix server is not available on the network until the recovery is complete. - Remove all the installed BigFix components, including any plug-in. For more information about removing the BigFix components on Linux, see Removing the BigFix components from Linux.
- Remove the following BigFix files
and folders:
Where "BES*" is a prefix followed by the name of a BigFix component, for example "BESClient"./etc/opt/BES* /opt/BES* /tmp/BES /var/log/BES* /var/opt/BES*
- Restore the previously saved
BFENT
andBESREPOR
as follows:
If saved with an absolute path, use the following command:su - db2inst1 db2 restore db BFENT db2 restore db BESREPOR
su - db2inst1 db2 restore db BFENT from /Absolute/Path/Of/Backup/Folder db2 restore db BESREPOR from /Absolute/Path/Of/Backup/Folder
- Restore only the previously saved folders and
files:
/var/opt/BESClient /var/opt/BESCommon /var/opt/BESServer /var/opt/BESWebReportsServer /var/opt/BESWebUI
- Remove the old password files:
/var/opt/BESClient/besclient.obf /var/opt/BESServer/besserver.obf /var/opt/BESWebReportsServer/beswebreports.obf
- Copy the old configuration files in a temporary directory, as they might contain custom settings
that you use, then delete
them:
/var/opt/BESClient/besclient.config /var/opt/BESServer/besserver.config /var/opt/BESWebReportsServer/beswebreports.config /var/opt/BESWebUI/beswebuiservice.config
- If you have installed WebUI, remove the cert folder that contains the WebUI
certificates:
/var/opt/BESWebUI/cert
- Download the same BigFix version and
run the installation with option
-reuseDb
:
Install the BigFix server components using the masthead file and specifying the same path used in the original installation option../install.sh -reuseDb
- If migrating the Primary/Master server, on the Select Database Replication page of the server installer, select “Single or Master Database”, and proceed through the installer screens as usual.
- If migrating the Secondary/Replica server, on the Select Database Replication page of the server installer, select “Replicated Database”, and proceed through the installer screens as usual.
- Manually add again the custom settings that you use by copying them from the old configuration
files backed up in step 7 to the new configuration files:
created by the installation at Step 9./var/opt/BESClient/besclient.config /var/opt/BESServer/besserver.config /var/opt/BESWebReportsServer/beswebreports.config /var/opt/BESWebUI/beswebuiservice.config
- Reinstall the UAImporter, BES Server Plugin Service, and any plugins or components that are currently installed on the original BigFix server by re-deploying the appropriate Fixlets.