Important Update: Cohesity Products Knowledge Base Articles
All Cohesity Knowledge Base Articles are now managed via the Cohesity Support Portal: https://support.cohesity.com/s/searchunify. The Knowledge Base articles available here will not reflect the latest information or may no longer be accessible.
Problem
Enterprise Vault Compliance & Discovery Accelerator searches cause indexes to fail.
Error Message
In the Info column of the Compliance Accelerator or Discovery Accelerator Search listing of the index volumes searched:
Search request failed. Reason: %1 Index Id: %2 Requestor: %3 Search Query: %4 Search Arguments: %5 [0xc0041c67]
On the Accelerator Server:Event Type: Error
Event: 297
Source: Accelerator Service Processor
Description:
APP AT - Customer ID: 2 - Error processing Vault to Search off the queue: Searching Vault Thread - worker thread for index server: 1 (0)
Vault ID: 123456
Number of tries: 5
Cause: Search request failed. Reason: %1 Index Id: %2 Requester: %3 Search Query: %4 Search Arguments: %5 [0xc0041c67]
V-437-297Event Type: Error
Event Source: Enterprise Vault
Event ID: 7182
Description: Index Search failed: Catastrophic failure [0x8000ffff] Index: Internal reference: SRCI
V-437-7182Event Type: Error
Event Source: Enterprise Vault
Event ID: 7231
Description: A COM error occurred. Catastrophic failure [0x8000ffff] Internal reference: CRSS GetIndexServer
V-437-7231
On the Enterprise Vault (Indexing) Server:
Event Type: Error
Event Source: Enterprise Vault
Event Category: Index Server
Event ID: 7235
Description: A low level indexing operation has failed
Error: a severe error occurred; cannot continue [AV:63] Index Id: 1EF83A57578A93849B3AC814A32AB2F181110000DOMAIN.com/Volume:1234 (INDEX_VOLUME)
V-437-7235
Event Type: Error
Event Source: Enterprise Vault
Event Category: Index Server
Event ID: 7271
Description: Search request failed.
Reason: A low level indexing operation has failed Error: Index Id: [0xc0041c43] Index Id: 1EF83A57578A93849B3AC814A32AB2F181110000DOMAIN.com/VolumeSet:1234 (INDEX_VOLUME) Requestor: DOMAIN\USER
V-437-7271
Event Type: Error
Event Source: Enterprise Vault
Event Category: Index Server
Event ID: 7264
Description: Abnormal error occurred
Error: A low level indexing operation has failed Error: Index Id: [0xc0041c43] Reference: CAltaVistaSearch::NonChunkedSearch Index: 1EF83A57578A93849B3AC814A32AB2F181110000DOMAIN.com/Volume:1234 (INDEX_VOLUME) Info: EM/h
V-437-7264
Event Type: Error
Event Source: Enterprise Vault
Event Category: Index Server
Event ID: 7292
Description: The index volume has been marked as failed. Index Volume: 1F2CD2269BFC2F94A8630D390E41931771110000DOMAIN.com/Volume:1234 (INDEX_VOLUME) Index Volume Path: C:\Indexes\1F2CD2269BFC2F94A8630D390E41931771110000DOMAIN.com_1234567
Reference: Open
Due to errors accessing the index volume it has been marked as 'failed' to prevent further errors. The index volume will remain inaccessible until it has been repaired.
V-437-7292
Cause
There are several factors which can contribute to these types of errors/symptoms, including but not limited to the following:
- Improper registry keys (i.e., AVSMaxLoc registry key for 32-bit index volumes set greater than 10000000 decimal).
- Out of date or improper NIC drivers.
- NIC Teaming.
- NIC binding order.
- OS patches or service packs which have made changes to TCP/IP settings.
- TCP Chimney Offload and/or TCP/IP Offload Engine (TOE) are enabled (see Related Articles in this document for additional information).
- I/O degradation on indexing storage device.
- Size of Index Volume on disk.
- Schema Type of Index Volume.
- Total file system size larger than the OS can properly handle (32-bit OS) [i.e., between 14 to 21 TB of total disk storage].
- Index fragmentation on 32-bit indexes.
Solution
Troubleshooting Actions Checklist:
1. Check the Enterprise Vault Indexing registry values against the recommended settings below.
It is of vital importance to determine if a server is a member of a cluster BEFORE making any changes to the TCP Offload Engine settings described in this article. Examples include Windows Server Failover Cluster nodes and SQL Always On Availability Groups replicas. Some cluster applications require TCP Offload Engine to be enabled on each cluster node or replica for proper functionality. Disabling any TCP Offload Engine settings on cluster nodes or replicas could adversely affect network performance for cluster-aware applications and/or operating systems. As such, it is recommended not to edit any TCP Offload Engine settings for servers that are nodes or replicas in a clustered environment without first consulting the cluster application documentation. If the cluster documentation clearly confirms TCP Offload Engine settings can be changed without any negative effects, then proceed with the changes after creating a plan to roll back the changes if needed. When in doubt, do NOT make any changes to the TCP Offload Engine settings.
Similar consideration should be given to servers using Network Interface Card (NIC) teaming. Some NIC teaming applications require TCP Offload Engine to be enabled on each NIC for proper functionality. Disabling any TCP Offload Engine settings on teamed NICs could adversely affect network performance for cluster-aware applications and/or operating systems. As such, it is recommended not to edit any TCP Offload Engine settings for servers that use NIC teaming without first consulting the NIC teaming documentation. If the NIC teaming documentation clearly confirms TCP Offload Engine settings can be changed without any negative effects, then proceed with the changes after creating a plan to roll back the changes if needed. When in doubt, do NOT make any changes to the TCP Offload Engine settings.
8. Determine the Schema Type of 32-bit index volumes by running the utility IndexServer /summary "x: \IndexVolumeFolderPath" and verify the Schema Flags option is reporting the value of 3
(see Related Documents section of this article for more information).
9. On 32-bit operating systems, open Task Manager and view the Performance tab section for Kernel Memory (K) to note if the Paged memory amount increases beyond 150 MB with no Enterprise Vault services running (normal usage should be between 40 MB and 150 MB, depending on total file system space). Monitor the Paged memory use to see if it grows after starting the EV services and during CA or DA searches and / or exports, without reducing in size after the CA or DA searches and / or exports complete. Note that this Paged memory value increasing over 450 MB used will cause the errors noted above and will cause index volumes to be randomly marked as failed by CA or DA searches.
Workaround / System Optimization:
Note: The below changes are meant to throttle-back Compliance or Discovery Accelerator so that less of a demand is placed upon the indexes. The desired result is that the searches can then be conducted without failing the indexes or receiving errors during the search. These changes will also have an impact upon performance.
In Discovery Accelerator 8.0 and above:
1. On the CA or DA client, click on the Configuration tab.
2. Next click on the Settings sub-tab.
3. Hold down the Ctrl key and click on the words " Configuration Settings" in the banner portion of the pane.
4. Scroll down and expand the Search folder.
5. Click on the Value column next to the " Maximum Number of consecutive searches on same index" option.
6. Change the value to 200. In a 32-bit Indexing environment or a mixed 32-bit/64-bit Indexing environment, if unsatisfactory Index Search performance is still seen, this can be further incrementally reduced and Searches tested, but should not normally be set below 10; if it is determined setting this value to 1 results in the optimum Index Search performance, then it is recommended the Search criteria be modified and/or the Indexing server(s) be reviewed for available resources and overall Index health. In a 64-bit environment, if unsatisfactory Index Search performance is still seen, this can be further incrementally reduced and Searches tested, but should not normally be set below 100; if it is determined setting this value to 10 or less results in the optimum Index Search performance, then it is recommended the Search criteria be modified and/or the Indexing server(s) be reviewed for available resources and overall Index health.
7. Click on the Value column next to the " Number of Vault search Threads" option.
8. Change the value to: 2
9. Click on the Value column next to the " Search Result Chunk Size" option.
10. Lower the value to any value between 500 to 20,000 (lower the number, the less memory used on the EV indexing server, but the slower the search may progress).
11. Click the Save button in the bottom right of the panel, then click on the OK button if a pop-up dialog window appears indicating the need to restart the Customer Background Tasks and / or Remoting.
12. Restart the Customer Background Tasks or the Enterprise Vault Accelerator Manager Service (EVAMS) on the CA or DA server.
If the above changes still do not allow the searches to complete successfully, the below actions and registry key changes can be added to the Enterprise Vault server hosting the targeted Indexing service.
Warning: Incorrect use of the Windows registry editor may prevent the operating system from functioning properly. Great care should be taken when making changes to a Windows registry. Registry modifications should only be carried-out by persons experienced in the use of the registry editor application. It is recommended that a complete backup of the registry and workstation be made prior to making any registry changes.
System changes:
1. Place the Enterprise Vault service account (VSA) TEMP folder on a drive with more then 20 GB of available space (40 GB or greater preferred)
(My Computer | Properties | Advanced | Environmental Variables | User variables for VSA)
2. Disable anti-virus software from scanning the VSA TEMP folder . See Article 100017720, "Recommended list of antivirus exclusions for Veritas Enterprise Vault", in the Related Articles section of this document for more information.
Registry changes for 32-bit indexes (EV 8.x and 9.x - not needed for EV 10 and greater):
1. Open regedit.
2. Navigate to:
64-bit Operating System Registry key: HKEY_LOCAL_MACHINE\Software\Wow6432Node\KVS\Enterprise Vault\Indexing
3. Create new DWORD value: SearchChunkSize
4. With decimal value of: 5000 (only lower this value in extremely limited systems and under guidance of a Veritas Enterprise Vault Support personnel)
5. Create new DWORD value: AVSMaxLoc
See Note 2 below.
6. With decimal value of: 500000000
7. Create new DWORD value: SchemaType
See Note 2 below.
8. With decimal value of: 1
9. Restart the Enterprise Vault Indexing Service on the affected EV server.
10. Rebuild the affected index volume(s) (i.e., the index volumes that show the error in their Info column).
Notes:
The event errors listed in this article were found to be a result of an improper NIC binding order on the Enterprise Vault server hosting the targeted Indexing service:
1. Open Control Panel.
2. Open Network Connections.
3. Click the Advanced drop down menu.
4. Select Advanced Settings...
5. Move the primary network interface to the top of the binding order (See Figure 1)
Figure 1
If it is found that the NIC bindings are in the proper order, it is recommended to investigate other possible causes as listed in the "Causes" section above. This type of issue is inherently environmental in nature e.g.:
- Networking
- Storage
- Improper registry entries
It would prove beneficial to verify that there are no I/O problems with the storage device hosting all the indexes. Overall, it is suggested to look at any recent changes that may have occurred to either the Accelerator or Enterprise Vault servers as this may lead to a root cause.