The recommended CAVA configuration is to exclude database files, since they can cause the AV server performance issues.
My next question after seeing this was how do we setup an automated scan of these database files off hours?
I tried out the control station server_viruschk command on our test setup and the Symantec Command Line Scanner from a AV Server.
Both commands have their good and bad points. Both ways of scanning a file system are lacking the ability to "scan only these file extensions". This would be ideal for a database scan off hours.
With the Symantec Command Line Scanner you can create a file of extensions to exclude. I suppose I could find a way to exclude every extension but the database files.
Curious, is there a linux command that could compile a list of found file extensions in a folder, file system, etc...? Something where the output would be something like:
.doc
.txt
.xls
.zip
.rar
Even better something with totals found, like:
.doc 3562
.txt 3465
.xls 4287
.zip 375
.rar 26
If your running automated scans of database files could you let me know how you set this up?
If you are running DART 5.5 or earlier, there is a util TST10.exe which will allow you to schedule a scan from a windows server via telnet. Essentially it will allow you to log in, and run a set of automated commands. eg. SEND "server_viruschk server_2 -fsscan fs1s -c\m" I have discovered since upgrading to 5.6, that telnet is no longer available. This is where I am stuck! Anyone done this with SSH, or is there an internal celerra scheduler?
You can use Plink (a PuTTY program) to execute the server_viruschk command. You could even create a batch file executing Plink several times to execute all of your scans.
Alternatively, you could write a Windows scripting host script to run PuTTY and execute your scans. It's a little more complex, but it does the job. NOTE: This is not a formal, tested script; it is merely provided here for your reference. We do not support or maintain user scripts.
PATH_TO_PuTTY would be the absolute path to the PuTTY app (i.e. c:\Program Files\PuTTY), CS_HOSTNAME is the host name of your CS. USERNAME would probably be nasadmin, and PASSWORD is your nasadmin password. If your nasadmin password is not default, bear in mind that it is stored in clear text in this file.
Finally, you could always write a shell script on the Control Station and then use crontab to run it periodically.
You could use two different viruschecker.conf files, one for daily operation and one for the database file scans. Just add the server_file commands to the db-file script to copy the correct viruschecker.conf file to the datamover and activate it.
With linux you can use the following command to find and count specific file extensions:
FarmerGiles1
1 Message
259
0
Posted May 5th, 2009 08:00
eg. SEND "server_viruschk server_2 -fsscan fs1s -c\m"
I have discovered since upgrading to 5.6, that telnet is no longer available. This is where I am stuck! Anyone done this with SSH, or is there an internal celerra scheduler?