Updating the content of the fixlet site on Linux
If the BigFix server is installed on a Linux computer without the Internet access, use the Airgap tool to download the content of the fixlet site to a computer with the Internet access. Then, move the files to the Linux computer on which the BigFix server is installed. You can update the site content in extraction or non-extraction mode. The non-extraction mode is simpler but the procedure is available from BigFix 9.5.5. For earlier versions, use the extraction mode.
Updating site content in non-extraction mode
The following procedure describes the simplest path. For all available options, see: Using the Airgap tool in the non-extraction mode in the
BigFix documentation.
Before you begin
Procedure
- Obtain the serial number of your BigFix server and the e-mail address that is specified in
the BigFix license. To obtain this information,
go to the following URL:
https://<ip_address>:<port_number>/masthead/masthead.afxm.Where:
- <ip_address>
- IP address of the BigFix server.
- <port_number>
- Port that is used by the BigFix server. By default, it is 52311.
The information is listed in the following lines.From: <mail_address> X-Fixlet-Site-Serial-Number: <serial_number>
- On a computer with the Internet access, gather site contents and
create the Airgap response file. You can perform these steps on Windows or Linux, regardless of the
operating system on which the BigFix server is
installed.
- To gather site
contents and create the Airgap response file on a Windows computer with the Internet access, perform
the following steps.
- Go to the BigFix Enterprise Suite Download Center website, select most recent release and download the Airgap tool. Then, extract the files.
- Open the command line, go to the directory where you extracted the Airgap tool, and run the
following command.
Where:BESAirgapTool.exe -serial <serial_number> -email <mail_address> -createSiteList <site_list_file_name>
- <serial_number>
- Serial number of your BigFix server.
- <mail_address>
- E-mail address that is specified in the BigFix license.
- <site_list_file_name>
- Name of the file to which you want to write the sites for your BigFix license.
- Open the <site_list_file_name> file and check whether the flag
A
is specified next to the BigFix Inventory site. The flag indicates that contents of the BigFix Inventory site is gathered and necessary files are downloaded. If a different flag is specified, change it toA
.N::BES Support::http://sync.bigfix.com/cgi-bin/bfgather/bessupport A::BigFix Inventory::http://sync.bigfix.com/cgi-bin/bfgather/bigfixinventory
- Open the command line, go to the directory where you extracted the Airgap tool, and run the
following
command.
BESAirgapTool.exe -site <site_list_file_name> -download -cache <cache_name>
Where:As a result, files are downloaded to the <cache_name> folder, and the AirgapResponse file is created.- <site_list_file_name>
- Name of the file that contains the list of sites for your BigFix license.
- <cache_name>
- Path to the folder where you want to store the downloaded files.
- To gather site
contents and create the Airgap response file on a Linux computer with the Internet access, perform
the following steps.
- Go to the computer where the BigFix server is
installed, open the terminal, and run the following
command.
Where: <folder_name> is the folder that you will copy to the Linux computer with the Internet access.# cd /opt/BESServer/bin # ./Airgap.sh -remotedir <folder_name>
- Move the <folder_name> folder to the Linux computer with the Internet access.
- In the <folder_name> folder, locate the airgap.tar compressed file, and decompress it.
- From the decompressed folder, delete the AirgapRequest.xml file.
- Open the terminal, go to the directory where you extracted the Airgap tool, and run the
following command.
./Airgap.sh -serial <serial_number> -email <mail_address> -createSiteList <site_list_file_name>
Where:- <serial_number>
- Serial number of your BigFix server.
- <mail_address>
- E-mail address that you specified in the BigFix license.
- <site_list_file_name>
- Name of the file to which you want to write the sites for your BigFix license.
- Open the <site_list_file_name> file and check whether the flag
A
is specified next to the BigFix Inventory site. The flag indicates that contents of the BigFix Inventory site is gathered and necessary files are downloaded. If a different flag is specified, change it toA
.N::BES Support::http://sync.bigfix.com/cgi-bin/bfgather/bessupport A::BigFix Inventory::http://sync.bigfix.com/cgi-bin/bfgather/bigfixinventory
- Open the terminal, go to the directory where you extracted the Airgap tool, and run the
following
command.
./Airgap.sh -site <site_list_file_name> -download -cache <cache_name>
Where:- <site_list_file_name>
- Name of the file that contains the list of sites for your BigFix license.
- <cache_name>
- Path to the folder where you want to store the downloaded files.
- Go to the computer where the BigFix server is
installed, open the terminal, and run the following
command.
- To gather site
contents and create the Airgap response file on a Windows computer with the Internet access, perform
the following steps.
- Copy the AirgapResponse, and the <cache_name>
folder to the Linux computer where the BigFix
server is installed. Place the files in the following locations.
- Place the AirgapResponse file in the folder with the Airgap.sh script.
- Place the content of the <cache_name> folder in the BigFix server cache folder. By default, the cache folder is: /var/opt/BESServer/wwwrootbes/bfmirror/downloads/sha1.
- Open the terminal, go to the directory where you placed the files and run the following
command to import the content of the fixlet site to your BigFix server.
./Airgap.sh -run
Updating site content in extraction mode
The following procedure describes the simplest path. For all available options, see: Using the Airgap tool in the extraction mode in the BigFix documentation.
Before you begin
Procedure
- Download the Airgap tool to the Windows computer with the Internet access. The tool is available on the BigFix Enterprise Suite Download Center page.
-
Open the command line and run the following command.
- For BigFix version 9.5.5 and higher
Where:cd /opt/BESServer/bin ./Airgap.sh -remotedir <directory>
- <directory>
- Directory where the airgap.tar file is going to be created.
- For BigFix versions up to
9.5.4
cd /opt/BESServer/bin ./Airgap.sh -run
The airgap.tar file is created in the current directory.
- For BigFix version 9.5.5 and higher
-
To extract the Airgap request file from the airgap.tar file, run the
following command.
tar xvf airgap.tar
- Copy the extracted AirgapRequest.xml file to the Windows computer and place it in the folder that contains the downloaded BESAirgapTool.exe file.
- On the Windows computer, run the BESAirgapTool.exe. The Airgap request file is changed into the Airgap response file.
- Copy the AirgapResponse file to the Linux computer where the BigFix server is installed and place it in the /opt/BESServer/bin directory.
- Run the Airgap tool again to upload the AirgapResponse file to
BigFix.
Wait a few minutes for the BigFix console to refresh.cd /opt/BESServer/bin ./Airgap.sh -run