Avoiding duplicates when a Client is restored
When the BigFix client is rolled back or restored from a snapshot, the next time it registers itself with the BigFix server, it receives a new Computer ID. The BigFix client with the old Computer ID becomes inactive because it does not report with the same Computer ID. As a result, the BigFix console shows duplicated entries for the same computer. Additionally, the affected computer loses all information: action history, discovery, and so on.
About this task
To avoid this situation, you must first back up some client data of the computer whose identity you want to preserve and then follow the procedure described below.
Client data backup
- Stop the BigFix client service.
- Store the following data.
- The registry key value for the
ComputerID
from the following location.- Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\EnterpriseClient\GlobalOptions
- Linux:
/var/opt/BESClient/besclient.config
under the sectionSoftware\BigFix\EnterpriseClient\GlobalOptions
- MacOS:
/Library/Preferences/com.bigfix.BESAgent.plist
- Windows:
- The
BES Client\KeyStorage
folder from the default installation directory of the BigFix client.
- The registry key value for the
Procedure to keep the client identity
- The BigFix
server can match the data that is stored aside to the BigFix client that is
reinstalled or reverted from a snapshot when the ClientIdentityMatch
parameter of the BigFix server is set
to 100. By default, the parameter is set to 0. To change the value of the
parameter, go to the computer on which the BigFix server is
installed and perform the following steps:
- Windows: Go to and set the value of the ClientIdentityMatch parameter to 100.
- Linux: Run the following
command.
./BESAdmin.sh -setadvancedoptions -sitePvkLocation=/root/backup/license.pvk -sitePvkPassword=pippo000 -update clientIdentityMatch=100
- Ensure that you complete this action before you install the BigFix client on the computer whose identity you want to preserve.
- Install the BigFix client on the computer whose identity you want to preserve. After the installation of the BigFix client completes, the computer automatically registers with the BigFix server and receives a unique Computer ID.
- Stop the BigFix client.
- Move to the following location:
- Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BigFix\EnterpriseClient\GlobalOptions
- Linux:
/var/opt/BESClient/besclient.config
under the section[Software\BigFix\EnterpriseClient\GlobalOptions]
- MacOS:
/Library/Preferences/com.bigfix.BESAgent.plist
RegCount
ComputerID
ReportSequenceNumber
- Windows:
- Delete the
__BESData
andKeyStorage
folders from the installation directory of the BigFix client. - Restore the previously stored
ComputerID
andKeyStorage
. - Start the BigFix client.