Follow

How do I Pre-Deploy the KAV installer package to endpoints

KKB#:   KKB000842

 

QUESTION 

How do I Pre-Deploy the KAV installer package to endpoints?

 

ANSWER:

Background

Support for general access to LAN servers for accessing a file cache does not currently exist in VSA 6.x.  The feature will be included in the next release of Kaseya VSA.  Because this feature does not yet exist in the core product, KAV must rely on pulling all installer files from the KServer.  The size of these installer files results in significant Internet bandwidth issues when the KAV installer needs to be downloaded to each managed machine during the install process.

To militate against this, a work-around has been added to KAV 1.2.  Two agent procedures have been included.  One agent procedure can be used to pull the installer files (both workstation and server) down to a LAN server from the KServer.  The other procedure can be used to pre-deploy the appropriate installer files to all managed machines by pulling them down from the LAN server to the managed machines.

Once these pre-deployment procedures complete, the standard KAV client install process can be executed.  The KAV client install process will pull the installer files down from the KServer ONLY if they do not already exist on the managed machine.  By using the pre-deployment procedures, the installer files can be pre-deployed allowing the KAN client install process to use them rather than having to pull them down directly from the KServer.

Preparation

LAN Server Preparation

Identify the servers within each LAN to be used as the LAN cache for the KAV installer files.  For each LAN server:

  1. Create a root level directory on the desired drive; Recommend using a common name for all servers (for example:  C:\KAVInstallerFiles)
  2. Create a share for this directory with full read/write permissions for “Everyone”; Keep track of the UNC share name for the server (i.e., \\machinename\sharename)
  3. Ensure that the LAN server and all managed machines in that network have a common administrator credential specified via Agents->Set Credential
  4. NOTE:  Be sure to keep track of all prepared LAN servers
  5. Machine name
  6. Fully qualified path of the root level directory
  7. UNC share name for the above directory

Agent Procedure Preparation

The underlying system level agent procedures are included in the KAV 1.2 install.  These agent procedures are specific to KAV 1.2.  To access them, two customer specific agent procedures must be created in the Agent Procedure module.  These procedures can be imported from the provided file.  Follow the steps below to prepare the system to use these procedures:

  1. Go to Agent Procedures module.  Create a folder anywhere in the folder trees.
  2. Select the newly created folder.  Click on the “Manage Variables” action button
  3. Create “KAVCacheRoot” managed variable
  4. Create a new public managed variable named “KAVCacheRoot”
  5. Set the variable value to the root level directory (fully qualified directory path, e.g., C:\KAVInstallerFiles) created on the LAN server
  6. Select the appropriate group(s) and click on the “Apply” button
  7. Repeat steps b and c above for each different root level directory for the applicable machine groups
  8. Create “KAVCacheUNCShare” managed variable
  9. Create a new public managed variable named “KAVCacheUNCShare”
  10. Set the variable value to the UNC share name for the server (i.e., \\machinename\sharename)
  11. Select the appropriate group(s) and click on the “Apply” button
  12. Repeat steps b and c above for each different UNC share name for the applicable machine groups

5. Import the XML file with the "Procedures_KAVInstallers.xml". 

  1. Select the newly created folder.  Click on the “Import Folder/Procedure” action button
  2. In the dialog, browse to locate the “Procedures_KAVInstallers.xml” file and select it
  3. Click on the Save button to import the two agent procedures
  4. Verify the existence of “LoadKAVCacheMV” and “PredeployKAVInstallerMV”

Pre-Deploy KAV Installer Files

Download the KAV Installers to the LAN Servers

The KAV installer files (workstation and server) must be downloaded to all LAN servers from the KServer before they can be pre-deployed to the managed machines.

WARNING: The KAV Installer files (workstation and server) total 200MB.  Keep this in mind when scheduling the “LoadKAVCacheMV” agent procedure!

Follow these steps to download the KAV installers to the LAN servers.  Be sure to select an appropriate execution window in the scheduler when scheduling the multiple servers to account for the download times:

  1. Select the “LoadKAVCacheMV” agent procedure and then click on the “Schedule” tab
  2. Select the appropriate machine filter to access the configured LAN servers
  3. Schedule the agent procedure to perform the download of the installer files to the server
  4. Repeat steps 1.a and 1.b as necessary until the agent procedure has been scheduled on all designated LAN servers

Pre-Deploy the KAV Installers to Managed Machines

WARNING: Wait for the “LoadKAVCacheMV” agent procedure to complete on all LAN servers before attempting to pre-deploy the installer files to managed machines.

Follow these steps to pre-deploy the KAV installers to the managed machines.  Be sure to select an appropriate execution window in the scheduler when scheduling the agent procedure to account for the download times:

  1. Select the “PredeployKAVInstallerMV” agent procedure and then click on the “Schedule” tab
  2. Select the appropriate machine filter to access the configured managed machines
  3. Schedule the agent procedure to perform the pre-deployment of the installer files to the managed machines
  4. Repeat steps 1.a and 1.b as necessary until the agent procedure has been scheduled on all designated managed machines

Install KAV 1.2 Client on Managed Machines

WARNING: Wait for the “PredeployKAVInstallerMV” agent procedure to complete on all managed machines before attempting install KAV 1.2 on managed machines.

Go into the KAV module and select machines on which to install KAV 1.2.  Install KAV 1.2.

The KAV 1.2 client installation will check for the existence of the necessary installation files.  It they already exist, the installation process will use them for installation.  If they do not exist, the installer files will be pulled from the KServer and will then be used for installation.

 

 

APPLIES TO 

KAV 1.2 & 1.3, VSA 6.2

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.