When the BigFix® client is reinstalled
or reverted from a snapshot, the next time it registers at the BigFix server, it receives a new Data Source Computer ID.
The computer with the old Data Source Computer ID in BigFix becomes inactive because the BigFix client now reports report with the new Data Source
Computer ID. As a result, the BigFix console
shows duplicated entries for the same computer. Additionally, the affected computer loses bundling
information for software that was discovered on this computer. To avoid this situation, store some
registry keys data aside of the computer whose identity you want to preserve.
Before you begin
Starting from application update 9.2.23, you can enable computer reconciliation mode instead
of performing this procedure. For more information, see: Computer reconciliation mode.
About this task
To preserve the identity of a computer on which the
BigFix client is already installed, you need to prepare a
gold image of this computer and store some registry keys data aside. The gold image is a simple VM
template that can be deployed multiple times. This procedure is applicable in the following cases:
- You revert the computer from a VM snapshot with registry keys data stored aside. In this case,
the computer keeps its previous Data Source Computer ID.
- You revert the computer from a VM snapshot without registry keys data stored aside. In this
case, the BigFix client needs to register on the
BigFix server to receive its unique Data Source
Computer ID.
Procedure
-
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.
Ensure that you complete this action before you install the BigFix client on the computer whose identity you want to
preserve. For more information about the ClientIdentityMatch parameter, see:
List of advanced options.
Important: Starting from application update 9.2.33,
ClientIdentityMatch
parameter is by default set to 100 in
BigFix
installed with
All-in-One installer on Linux.
-
Install the BigFix client on the computer
whose identity you want to preserve. For available methods, see: Installing the BigFix clients.
After the installation of the BigFix client
completes, the computer automatically registers at the BigFix server and receives a unique Data Source Computer
ID.
-
Include the BigFix client in a computer
image that can be deployed multiple times.
- Stop the BigFix client.
- Open the Windows services dialog box and stop the BigFix client service.
- Run the following command.
BESClient stop
- Go to the following location.
-
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\BigFix\EnterpriseClient\GlobalOptions
- /var/opt/BESClient/besclient.config under the section
[Software\BigFix\EnterpriseClient\GlobalOptions].
Remove values for the following parameters.
RegCount
ComputerID
ReportSequenceNumber
- Delete __BESData and KeyStorage folders from the
default installation directory of the BigFix client.
-
C:\Program Files\BigFix Enterprise\BES Client
-
/var/opt/BESClient
Your computer is now ready to be imaged. It is important to save the gold image when the
BigFix client service is stopped. To prepare a VM
template, follow documentation for the virtualization technology that you use.
-
Reload the image without any computer identity that is stored aside and start the BigFix client.
- Open the Windows services dialog box and start the BigFix client service.
- Run the following command.
BESClient start
After you start the BigFix client
service, the computer that is reloaded from this image registers automatically at the BigFix server and receives a new Data Source Computer
ID.
-
To preserve the new identity of this computer, store some registry keys data aside before you
power off the computer.
- Stop the BigFix client service.
- Store the following data.
- The registry key value for
ComputerID
from the following location.
-
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\BigFix\EnterpriseClient\GlobalOptions
-
/var/opt/BESClient/besclient.config under the section
Software\BigFix\EnterpriseClient\GlobalOptions.
- The BES Client\KeyStorage folder from the default installation directory of
the BigFix client.
-
Reload the computer from the gold image with the BigFix client service stopped.
-
Import the data that you stored in step 5.
-
Start the BigFix client.
Results
The gold image of your computer is ready and you can reload it at any time. Thanks to the
registry keys data stored aside, the computer keeps its identity and bundling information of
software that was discovered on this computer.
What to do next
You can write a script to automate some of the steps. For example, the script can:
- Start and stop the BigFix client
service.
- Store and restore registry keys data that is needed to identify the computer.
If you want to deploy the image multiple times in your environment, it is beneficial to
include the scripts in the gold image to help you make the process more effective.