• Facebook
  • RSS Feed
  • Instagram
  • LinkedIn
  • Twitter
Sep 062010
 

Sometimes in Enterprise Vault it is necessary to rebuild multiple indices.  This used to be a manual process with the VAC, but a change was added to Enterprise Vault 8 Service Pack 2 where by you can :-

a) Do it from a command line

b) Do it for multiple Indices

The way to do this is to provide a comma separated file to IndexCheck, as follows :

Run indexcheck –f to generate a CSV file eg indexcheck –f index_folder –c exist –csv <csv filename>

Check the CSV file

Run indexcheck –rebuild to rebuild the indices in the specified file eg indexcheck –rebuild <csv filename>

When you run IndexCheck –f to generate the CSV you get output like this :

C:Program FilesEnterprise Vault>indexcheck -f c:evindexes -c exist -csv 1.csv
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
Start time: 9/6/2010 3:18:02 AM
  Running with ignorewarnings set
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index4124E6D7B323EDE046B80DBE5406EB68DD1110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index41FD3E13802389E44790C0163310CA0FE31110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index51119AF82B70C0F7438D22768BE266C0731110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index6168BDBD7651976F468E2D588AF5DEDBB71110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index713EE4EB917B70AB46853AC33F1A6848B51110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index717F0CCE00CB0E454EA7ADA4E3C17170301110000evsite
  Checking file existence…
  Completed OK. 91 lines
Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder c:evindexesf1index71836F077F68EF9045BBEB6572AF1510671110000evsite
  Checking file existence…
  Completed OK. 91 lines
  Finished. Checked 7 index(es), 0 with errors, 0 with warnings
End time: 9/6/2010 3:19:35 AM
Duration: 1 minute(s) 33 second(s)

 

When bad things are discovered you might see :

Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
  Processing index folder e:indxIndexing1CBF3BA1DFE454E4ABB642CC4B8388BE51110000evsite
  Checking file existence…
ERROR! Missing files: ind_Ba ind_Ba.1 ind_Ba.2 ind_Ba.3
ERROR! Dataset file error at line 19
ERROR! Missing files: ind_Bb ind_Bb.1 ind_Bb.2 ind_Bb.3
ERROR! Dataset file error at line 20
ERROR! Missing files: ind_Bc ind_Bc.1 ind_Bc.2 ind_Bc.3
ERROR! Dataset file error at line 21
ERROR! Missing files: ind_Bd ind_Bd.1 ind_Bd.2 ind_Bd.3
ERROR! Dataset file error at line 22
ERROR! Missing files: ind_Be ind_Be.1 ind_Be.2 ind_Be.3
ERROR! Dataset file error at line 23
ERROR! Missing files: ind_Bf ind_Bf.1 ind_Bf.2 ind_Bf.3
ERROR! Dataset file error at line 24
ERROR! Missing files: ind_Bg ind_Bg.1 ind_Bg.2 ind_Bg.3
ERROR! Dataset file error at line 25
ERROR! Missing files: ind_Bh ind_Bh.1 ind_Bh.2 ind_Bh.3
ERROR! Dataset file error at line 26
  Completed with errors. 91 lines, 8 lines with errors
ERROR! Found error while doing check ‘Exist’ on index e:indxIndexing1CBF3BA1DFE454E4ABB642CC4B8388BE51110000evsite

 

And the .CSV file looks like this :

1CBF3BA1DFE454E4ABB642CC4B8388BE51110000evsite,46

When running with –rebuild you would then see :

Indexcheck executing ‘Exist’ check, running with ignorewarnings set, and checking for avtrace.log modified in the last 3 days
Start time: 9/6/2010 3:46:51 AM
  Processing Index Volume: archiveEntryId = 1CBF3BA1DFE454E4ABB642CC4B8388BE51110000evsite, IndexVolumeIdentity = 46
  Index volume rebuild requested successfully
End time: 9/6/2010 3:46:52 AM
Duration: 0 minute(s) 1 second(s)

You will notice it is only the request which is submitted here.

There is some more information and discussion on this topic in the Symantec article : http://support.veritas.com/docs/346578

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)