Centralized Update

How to use centralized update in isolated network

In case you are running the AVG Remote Administration in an isolated network (nor the AVG Admin Server has an access to the Internet) and you wish to use the centralized updates, then you can use the following steps. This will require to add the update files manually on the server and run a dedicated utility that will generate files that will allow stations to update.

Please proceed as follows:

1. Modify the AVG Admin Server configuration file to enable "offline mode":

  • Open the following file in some text editor (notepad). The default installation folder for the file is:
    "C:\Program Files\AVG\AVG9 Admin\Server\avgadmsv.ini"
  • Add this line at the end of the file:
    DisableUpdateDownloading=1
  • Save the file and restart AVG Admin Server to load the new settings.
    Start AVG Admin Server Monitor -> Click the "Stop server" button -> Confirm stopping of the Server -> Click the "Start server" button.

2. Download the Genctf9 utility:

  • From this location, save the Genctf9 utility to your computer (we recommend saving it to your desktop):
    http://www.avg.com/filedir/util/support/genctf9_en.exe
  • Run the file and choose place where the utility will be extracted.
  • From the extracted folder (it will be automatically opened) copy the file genctf9.exe into the folder where updates for AVG are saved. Default location is:
    • Windows 2000/XP
      c:\Documents and Settings\All Users\Application Data\Avg9\Admin Server Data\update\
    • Windows Vista/7
      C:\programdata\Avg9\Admin Server Data\update\

3. Download updates and run the utility

  • To the folder with updates, download update files for client stations (http://www.avg.com/update)
  • Run the genctf9 utility in that folder. Use this command in commandline (or create a batch file with it). The blank space and dot at the end are required!:
    genctf9.exe .
  • This will create two CTF files in the folder - avginfowin.ctf and avginfoavi.ctf. AVG client stations can now update through the AVG Admin Server.

Repeat step 3 to add new updates to the server. I.e. run the utility everytime you place new files in the folder to generate up to date CTF files. Otherwise stations will not recognize the new update files there.

Note: The Genctf9 utility needs the libraries from VisualC++ redistributable package. Those libraries are a part of the AVG Client installation. In case that the AVG Client is not installed on your server, please download and install this package from the Microsoft's website at:
http://www.microsoft.com/Downloads/details.aspx?FamilyID=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en

 

Using AVG Admin Server as a local web server for central update in network

To enable the update mirroring (centralized update) support, please run the AVG Admin Server Deployment Wizard from menu Start - Programs - AVG 9.0 Remote administration.
On the second page of the wizard selectboth DataCenter role and UpdateProxy role, then proceed further with the wizard:

  • you can backup your current database, although its contents will not be affected in any way
  • select Keep existing DataCenter database
  • specify which folder you wish to use for storing the downloaded update files on the server
  • adjust or confirm the order of the update servers - this configuration will be transferred to the clients once the wizard is completed
    • the order of the servers specifies their priority - if one is not available, the next one is used
    • the central update files will be available at http://[server_name_or_IP]:4158/avgupdate
  • click Deploy to store all the settings and restart the AVG Admin Server automatically

From now on, the clients will be able to update from this AVG Admin Server. In case of any problems, you can test the availability of the AVG Admin Server by opening the following website from one of the clients:
http://[server_name_or_IP]:4158/

Note:

In case you wish to use only the UpdateProxy function of the AVG Admin Server, please:

  • skip the DataCenter role settings
  • set the clients manually (or using another DataCenter / AVG Admin Server) to update from the server http://[server_name_or_IP]:4158/avgupdate