Quantcast
Channel: Shavlik User Community : Document List - All Communities
Viewing all articles
Browse latest Browse all 1352

Help with Slow Scanning when running patch scans using Shavlik Protect or vCenter Protect

$
0
0

Symptoms

 

When running scans with Shavlik Protect or VMware vCenter Protect you have scans that take a very long time to complete. This applies when running patch scans from the vCenter Protect console (agentless scanning only).

 

Notes:

For Shavlik Protect or vCenter Protect this article only applies to step number four of the scanning process (Scan for patches). If you have trouble with other steps during the scan process it will most likely be due to a different issue.

 

If the scans never complete this may be a different issue.

 

 

Cause

 

There are many things that could possibly be causing slow scanning to take place. The first thing you should look into is if there have been any recent changes - either to the console system or the network you are on.

 

Resolution

 

Possible issues that may need to be addressed:

 

 

Note: The "console system" refers to the system where you are running Shavlik Protect or vCenter Protect.

 

1. Ensure that you are on the latest version/build of vCenter Protect.
Whenever we have a new version released there is a possibility that there may be bug fixes or product improvements which could help resolve your issue.

 

You can check to see what the latest version is, and download the latest version from here:

http://www.shavlik.com/downloads/

 

 

2. Make sure that your console system has enough power to run your scans.
If you are scanning a high number of machines you may need to increase the CPU and/or memory available to the console system. Our hardware system requirements for processor and memory are as follows:

 

Processor:

  • Minimum: 2 processor cores 2 GHz or faster
  • Recommended: 4 processor cores 2 GHz or faster (for 250 - 1000 seat license)
  • High performance: 8 processor cores 2 GHz or faster (for 1000+ seat license) Memory:
  • Minimum: 2 GB of RAM
  • Recommended: 4 GB of RAM (for 250 - 1000 seat license)
  • High performance: 8 GB of RAM (for 1000+ seat license) 

 

3. Antivirus or real-time threat protection software may be scanning our patch scan results as they are being sent back to the Protect console system.

 

Solution:

-Test disabling your antivirus/threat protection software to see if scans run faster while it's disabled.-Create an exception in your Antivirus/threat protection for the following folders:

 

For version 9.x:

On Windows 7, 8, 2008, 2012, or Vista: C:\ProgramData\LANDesk\Shavlik Protect\Console\Arrivals

On Windows XP or 2003: C:\Documents & Settings\All Users\Application Data\LANDesk\Shavlik Protect\Console\Arrivals

 

For version 8.x:

On Vista, 2008, or Windows 7: C:\ProgramData\Shavlik Technologies\NetChk\Arrivals

On XP or 2003: C:\Documents & Settings\All Users\Application Data\Shavlik Technologies\NetChk\Arrivals

 

Notes:The arrivals folder is where Protect's scan results are sent to prior to being imported to the database. 

 

4. There may be network/configuration issues.
The most common issue is that high latency will cause scanning of remote systems to take a long time to complete. Things to check:-Check the latency.

 

On your console system run a ping connecting to a target system. The higher the latency you see from a ping, the longer you can expect the scan to take for Protect. High latency makes a large impact on scans due to the fact that our scan engine uses a separate connection for each check that is performed during DPD (Dynamic Product Detection).

 

Is the scan taking place over a LAN connection or WAN connection? Most often WAN connections will have much higher latency.

 

Workarounds available for latency/network issues:
-If you have many machines in other areas that the console system would be scanning over a WAN connection it may be best to install a second vCenter Protect console on a system that is local to those systems. You can then scan those systems over a LAN connection rather than over a high latency WAN connection to avoid these problems.
-You can install a Protect agent on systems to avoid slow scanning issues caused by network problems. The agent will run the scan locally on the client system so it avoids all network traffic while scanning.

 

-There is an option to change the number of simultaneous machines scanned during the scan process. To make this change you will need to create a custom patch scan template in Protect. On the 'General' tab under General Settings you can use the slider bar to set the number of machines the scan will simultaneously run on. Dragging the bar to a lower number may help improve scan speeds. You will need to use your custom patch scan template to run a scan for this to take effect.

 

-It's possible it may help you to perform network monitoring during the scan. This would require a 3rd party network monitoring tool which we do not support.

 

5. Possible Database Issues

 

 

You will need SQL Server Management Studio to perform some of these checks. If you are using SQL Express you will most likely need to download the free Management Studio Express from Microsoft's download site. See the links below:
For SQL 2005 Express: http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&displaylang=en

For SQL 2008 Express: http://www.microsoft.com/downloads/details.aspx?FamilyID=08e52ac2-1d62-45f6-9a4a-4b76a8564a2b&displaylang=en

For SQL 2008R2 Express: http://www.microsoft.com/download/en/details.aspx?id=22985

For SQL 2012 Express (Choose the management studio after clicking download): http://www.microsoft.com/en-us/download/details.aspx?id=29062

 

-Open Management Studio and connect to your SQL server. Expand 'Databases', and locate your 'Protect' or 'Shavlikscans' database. Right click on the database, and then go to Properties > General tab. Check the Size of your database. If your database is over 4GB in size, it's possible that you may need to perform database cleanup.

 

-If you are using SQL Express there is a database size limitation built into SQL. Full versions of SQL are only limited by allocated space given by the DBA or space of the hard disk. The size limitations for currently support versions of SQL Express are as follows:
SQL Express 2005: 4GB size limit per database
SQL Express 2008: 4GB size limit per database
SQL Express 2008R2: 10GB size limit per database

 

-Perform database maintenance. You can now easily do this from within the Protect console under Tools > Database Maintenance. If you are having slow scans take place it may help to delete as many old results as possible as well as perform the option to 'Rebuild Indexes'.-After this it may help to close Protect, go into SQL Management Studio, and perform the following steps: Right click on the Protect database and go to Properties > Options. Set the Recovery model to "Simple". Hit Ok. Then right click on the Protect database again and go to Tasks > Shrink > Database. This will help shrink the size of the database and the log file.

-It can depend if the SQL server being used is remote or local. If the database is hosted on a remote server you may need to check into your network connection between the console system and the SQL server. If there is any latency or any network issues it could cause your scans to run slow.

 

 

6. Virtual Machine resource contention:
If you have the console running on a virtual machine make sure that the resources that the VM are trying to use are actually available in case you have other VM's running simultaneously that are possibly using all of the host server resources.

 

Applies to:

Shavlik Protect 9.x

VMware vCenter Protect 8.x


Viewing all articles
Browse latest Browse all 1352

Trending Articles