Transferring protection definitions to an HTTP server
To distribute protection definitions in your air-gapped environment, you need a dedicated HTTP server. You can either use an existing HTTP server within your environment or start one on the Acronis Management Server (AMS) machine using the Python instance included with the management server installation.
To configure an HTTP server on the air-gapped management server machine
- On the air-gapped AMS machine, navigate to C:\Program Files\Acronis\PyShell and place an empty index.html file in this folder.
This is required to prevent directory listing.
- Copy the definition folders from the removable drive to folder C:\Program Files\Acronis\PyShell\defvirus.
- To prevent directory listing on the HTTP server, place the empty index.html file in the definitions subfolders:
- ngmp
- scanner
- vapm
-
Use Command Prompt to start the HTTP server from folder C:\Program Files\Acronis\PyShell.
cd C:\Program Files\Acronis\PyShell
Python.exe -m http.server 8080
Enter the URL of the HTTP server in the configuration files
-
In the folders where you copied the protection definitions, open the following files for editing:
-
./ngmp/update-index.json
-
./vapm/update-index.json
-
-
In both update-index.json files, edit all URL handles for all OS versions to add a prefix with the IP address and port number of the HTTP server.
For example, assuming that the IP address of the HTTP host is
10.0.0.52, and the port is8080, the string forWindows x86"url": "ngmp/win86/ngmp_<version>.zip"should be modified as follows:"url": "http://10.0.0.52:8080/ngmp/win86/ngmp_1_0_4560_3881.zip",
where
10.0.0.52:8080is the IP address and port number of the server, and_0_4560_3881is the factory version number of the corresponding definitions file. -
Save your edits in both update-index.json files.
Next, you must configure the source of the protection definitions on the air-gapped management server. For more information, see Configuring the source of protection definitions on an air-gapped management server.