Commvault backup operations take much longer, system errors are seen, and OfficeScan (OSCE) 11.0 scheduled scans run slowly when both OSCE and Commvault are active on the same machine.
This issue occurs since OSCE’s real-time and scheduled scans analyze files when the Commvault software accesses them for archival and restoration tasks. This causes delays and errors when files get locked for access by either application.
Prevent OSCE from interfering in, impeding, or preventing successful backups by rescheduling scans to not overlap scheduled backup or restoration tasks, as well as doing the following
Set OSCE to ignore the installation files, system files, and the log files of the Commvault Archiver for Windows as follows:
- Open the OSCE Management console.
- Go to Agents > Agent Management.
- Choose Settings > Scan Settings > Real-time Scan Settings.
- Click the Scan Exclusion tab.
- Enable and exclude the following directories from scans:
- [X]:\gxhsmcache
[X] is the volume/drive where the gxhsmcache folder is located. There may be more than drive letter with this directory.
- …\Commvault\Simpana\iDataAgent
- …\Commvault\Simpana\Log Files
- [X]:\gxhsmcache
- Click Apply to All Agents.
Configure the following registry settings for OSCE to disable the scan of Sparse files, Offline files, and Alternate New Technology File System (NTFS) streams.
- Start the Registry Editor on the computer where the file archiver agent is installed.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmFilter\Parameters.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box type “TrapHiddenDataStream”.
- In the Value Data box enter “0”.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box, type “SkipOffLineFile”.
- In the Value Data box, enter “1”.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box, type “SkipSparseFile”.
- In the Value Data box, enter 1.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TmPreFilter\Parameters.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box, type “TrapHiddenDataStream”.
- In the Value Data box enter “0”.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box type “SkipOffLineFile”.
- In the Value Data box enter “1”.
- Right-click Parameters.
- Select New > DWORD.
- In the Value Name box type “SkipSparseFile”.
- In the Value Data box enter “1”.
- Reboot the server for the registry changes to take effect.
Make the following changes to the Commvault software registry section on the OSCE client:
- Start the Registry Editor on the computer where the file archiver agent is installed.
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\cvmhsm\Parameters\.
- Right-click Parameters, then select New > String Value.
- In the Value Name box, type “ExcludeProcessX”.
X is the next consecutive number in the list (i.e. ExcludeProcess1, ExcludeProcess2, etc.) for any process that should not initiate recalls. If there is already an existing ExcludeProcess2, the next entry should be ExcludeProcess3.
- In the Value Data box, enter the name of the process to exclude.
In addition to using registry keys with environment-specific executables, create ExcludeProcessX registries for each of the following processes:
- casdscsvc.exe
- ntrtscan.exe
- ofcdog.exe
- ofcpfwsvc.exe
- pccnt.exe
- pccntmon.exe
- tdiins.exe
- tmlisten.exe
- tmlwfins.exe
- tmwfpins.exe
- tsc.exe
- Restart the Commvault services for the registry changes to take effect.