Rebuilding an Enterprise Vault Index in EV 9.0.3
Rebuilding an index in Enterprise Vault is not necessarily something that you do every day -- nor should it be.
However, as a reference here is an outline of the steps that I followed just now to rebuild one of my test user indexes.
The user has a sizeable number of items in their archive (for a test user anyway!):
And I can see the state of their current index on the properties of their archive:
Now I issue a rebuild request from that screen and you then see the status change:
At the same time an event is logged in the Symantec Enterprise Vault event log:
When the rebuild is complete you will see another event:
Something which was added to the product quite some time ago was the ability to check on the progress of the rebuild. Every 10,000 items the following is logged:
The event actually shows some really useful information, such as how far through the rebuild is, and an estimate of when it will finish.
How long the rebuild takes depends on a lot of different factors for example ... how busy the Enterprise Vault server is at the moment, the type of storage device, the amount, size and complexity of the items, and the indexing level you are rebuilding to. It is for those reasons that you need to watch out for the progress event ID's.
Another couple of things to be mindful of are two registry keys:
HKEY_LOCAL_MACHINE \ Software \ KVS \ Enterprise Vault \ Indexing
PoisonPillCount
DWORD
This will set the number of attempts to process an item before it is deemed to be poisoned. It is actually used for two purposes. Firstly if an error is found trying to open an index volume then after these many attempts it will be deemed corrupt and marked as failed. If the error is found when trying to add items to the index, then the addition is abandoned and the index update steps on to the next item.
HKEY_LOCAL_MACHINE \ Software \ KVS \ Enterprise Vault
MaxConsecutivePoisonPillItems
DWORD
The maximum number of consecutive poison pill items before the index update is abandoned. It will be restarted if the indexing service is restarted or the hourly check for pending updates.
So sometimes it might be necessary to set the first registry key low, eg 1-2. And the second registry key high, eg 100+. I personally wouldn't suggest changing them without investigating the cause of the failures though, and/or discussing it with Symantec Support.
Comments 4 Comments • Jump to latest comment
Just for reference you can find the TechNote here for EV 9:
How to rebuild an index for a mailbox
You mention above that this is something you should do often bit it is import to highlight that rebuilding should be the last resort. Always try to Update or Repair the index first.
The TechNote covers some of the negatives of having to rebuild.
One thing that neither the technote nor your blog post covers is that you can restore the index from a backup if you have one and then choose Update. This would save the time of having to rebuild the entire thing.
Regards,
Tony Sterling
www.bluesource.net or www.bluesource.co.uk
Offices in the US and the UK
Yes there are caveats / reasons for not rebuilding, and taking or investigating another avenue first. I didn't go in to them in this particular blog entry because they are a world-of-discussion once you open the can-of-worms.
Thanks for pointing out the technote. I can't see the details of it though, because I'm getting this:
Gateway Timeout
The proxy server did not receive a timely response from the upstream server.
Reference #1.d649212e.1348494929.11cc5853
Many Thanks,
Rob
www.quadrotech-it.com - All your EV Tools
PS I hope that the post proves helpful.
Weird about the TN opens right up for me. I only mentioned the other options as when I was at Symantec it seemed like it took years to train customers to not just rebuild the index. The indexes are pretty resealant now so if you find yourself in need of repairing or rebuilding it is it is my opinion that it is best to figure our why rather than just shotgunning and rebuilding.
In case the problem is affecting others here it is, sans images:
Problem
How to rebuild an index for a mailbox
Solution
Legacy ID
Article URL http://www.symantec.com/docs/TECH71770
Tony Sterling
www.bluesource.net or www.bluesource.co.uk
Offices in the US and the UK
Yep you're right - I'm also not suggesting you take off and nuke them from orbit :) Just elaborating/documenting/describing what happens if/when you do take the plunge.
Many Thanks,
Rob
www.quadrotech-it.com - All your EV Tools
PS I hope that the post proves helpful.
Would you like to reply?
Login or Register to post your comment.