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 to add a prefix with the FQDN and port number of the HTTP server.
For example, assuming that the IP address of the HTTP host is
192.168.0.111
, the string"url": "ngmp/win64/ngmp_<version>.zip"
should be modified as follows:"url": "http://192.168.0.111:8080/ngmp/win64/ngmp_<version>.zip",
where
<version>
is the factory version number of the corresponding definitions file.Only add the FQDN of the HTTP server, and do not modify anything else in the URL strings! -
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.