Enterprise Vault 14.2 onwards, Elasticsearch is the new indexing engine. To move the indexes to an index location on a different index server, perform the following actions:
Set-EVIndexSnapshotLocation. See the Enterprise Vault PowerShell Cmdlets guide for more information.New-EVIndexSnapshot. See the Enterprise Vault PowerShell Cmdlets guide for more information.
Get-EVIndexSnapshot. See the Enterprise Vault PowerShell Cmdlets guide for more information.
Restore-EVIndexSnapshot . See the Enterprise Vault PowerShell Cmdlets guide for more information.Update all the index volumes of the first index server to the other index server. Run the following SQL queries in SQL Server Management Studio:
Determine the index location by running the following SQL query in SQL Server Management Studio:
USE EnterpriseVaultDirectory
SELECT CE.ComputerName, CE.ComputerNameAlternate, IRP.IndexRootPathEntryID, IRP.IndexRootPath, ISE.ServiceEntryID, ISE.Description
FROM ComputerEntry CE, IndexingServiceEntry ISE, IndexRootPathEntry IRP
WHERE CE.ComputerEntryID = ISE.ComputerEntryID AND ISE.ServiceEntryID = IRP.IndexServiceEntryID
ORDER BY CE.ComputerName
Make a note of the IndexRootPathEntryIDs for the old index root path and the new index root path.
Update the index locations by running the following SQL query in SQL Server Management Studio:
Note:
The old IndexRootPathEntryId should be replaced with the IndexRootPathEntryId value returned for the old index root path in step 9-1.
The new IndexRootPathEntryId should be replaced with the IndexRootPathEntryId value returned for the new index root path in step 9-1.
USE EnterpriseVaultDirectory
DECLARE @OrigIndexRootPathEntryId EVGUID
DECLARE @NewIndexRootPathEntryId EVGUID
SET @OrigIndexRootPathEntryId = 'old IndexRootPathEntryId'
SET @NewIndexRootPathEntryId = 'new IndexRootPathEntryId'
-- Update the index volumes to point at the new location
UPDATE IndexVolume
SET IndexRootPathEntryId = @NewIndexRootPathEntryId
WHERE (IndexRootPathEntryId = @OrigIndexRootPathEntryId)
Inform Enterprise Vault that it needs to update the paths of the volumes on the Enterprise Vault service startup by running the following SQL query in SQL Server Management Studio:
UPDATE IndexingServiceEntry
SET IVSyncNeeded = 2
WHERE ServiceEntryId IN (SELECT IndexServiceEntryId FROM IndexRootPathEntry WHERE
IndexRootPathEntryId IN(@OrigIndexRootPathEntryId, @NewIndexRootPathEntryId))
Following completion of the SQL script, restart all the Enterprise Vault Services.
Note: When the Indexing Services start up, they will synchronize their respective index volume metadata; depending on the number of index volumes associated with the index root path relocation, this may take some time. The progress can be monitored in the Event Log.