Using NFS to automate the transfer of scan results
Available from 9.2.5. You can use NFS to automate the transfer of scan results from your IBM i systems to the BigFix Inventory server. The results will be stored in a shared directory and imported by BigFix Inventory without any additional actions.
About this task
- BigFix Inventory acts as an NFS server
- Each IBM i acts as an NFS server
- You use a separate NFS server
In this procedure, BigFix Inventory installed on Linux acts as an NFS server and shares a directory with an IBM i system that acts as an NFS client. The scan results saved into the shared directory on IBM i system are readily available to BigFix Inventory. The scenario can be adopted to be used in the Windows environment.
Procedure
-
Configure the BigFix Inventory server to allow transfer by using NFS.
-
On the IBM i system, create an output directory for scan results and mount the shared directory
from the BigFix Inventory server.
This step connects these directories. Whenever you save files into /bfi_server, they will also be available in the /disconnected directory on the BigFix Inventory server.
MKDIR '/bfi_server' ADDMFS TYPE(*NFS) MFS('IP_address_of_BFI_server:/disconnected') MNTOVRDIR('/bfi_server') OPTIONS(*DFT)
-
Open the default /cit directory, or other directory where you store the
disconnected scan scripts, and modify the following property in the
configure_scan.sh script to save all scan results into the new output
directory.
PACKAGE_OUTPUT_DIR="/bfi_server"
- Run the software scan to collect new scan results. When the scan is complete, the package with scan results can be imported to BigFix Inventory by running a data import.