cancel
Showing results for 
Search instead for 
Did you mean: 

Updating existing index location with data

OldEmployee
Level 5

So I understand that when adding a new Index location, the location should empty.

However, we will be migrating indexes to a different NetApp Filer. So the path for the indexes will change.

During this migration the indexes will be copied to the new location and only after that we will get the new paths.

In this case, we wont be able to add the Index location as it already has data in it and wont be able to update the SQL entries as per:

https://www.veritas.com/support/en_US/article.HOWTO59084

 

Is it possible to update these entries after the data is copied or do we have to update the new path before the copy starts.

1 ACCEPTED SOLUTION

Accepted Solutions

Titoine31
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

You can make the following operation for minimize the time without EV :

- Make a first copy of your EV Index in the new location

- Stop all EV services

- Make a robocopy of your EV Index in the new location for copy only the delta

- Use SQL Query for update the path

- Start all EV services

Regards,

Antoine

View solution in original post

8 REPLIES 8

Titoine31
Moderator
Moderator
Partner    VIP    Accredited Certified

Hi,

You can make the following operation for minimize the time without EV :

- Make a first copy of your EV Index in the new location

- Stop all EV services

- Make a robocopy of your EV Index in the new location for copy only the delta

- Use SQL Query for update the path

- Start all EV services

Regards,

Antoine

Thank you Titoine31.

I will test this in our test environment first and check if this works.

By the way, is /MIR the correct parameter for delta only robocopy?

Titoine31
Moderator
Moderator
Partner    VIP    Accredited Certified

Yes, it is ;)

You can use something like that : Robocopy <source> <destination> /MIR /R:3 /W:3 /Log+:c:\temp\IndexCopy.log

Antoine

Thank you again.

 

I tried these steps but maybe I am missing something.

Is this the correct query for updating the path after the robocopy:

 

Spoiler

Update IndexRootPathEntry

Set IndexRootPath = '\\servernew\path\Index1'

where IndexRootPath = '\\serverold\path2\Index1'

 

Titoine31
Moderator
Moderator
Partner    VIP    Accredited Certified

You want move Index Location on the sema server or on another server in your EV Site ?

It's not the same SQL query ;)

Only the storage server is changing. That is the index data needs to be migrated to another NetApp vfiler server.

So no changes as such in the index server or the site.

Titoine31
Moderator
Moderator
Partner    VIP    Accredited Certified

Ok, then you can try your query, I think that's enough ;)

Thank you Titione31.

The steps worked fine and I can see the path was updated correctly on the Indexing service as well.