cancel
Showing results for 
Search instead for 
Did you mean: 

Updating existing index location with data

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 Solution

Accepted Solutions
Accepted Solution!

Re: Updating existing index location with data

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
Accepted Solution!

Re: Updating existing index location with data

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

Re: Updating existing index location with data

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?

Re: Updating existing index location with data

Yes, it is ;)

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

Antoine

Re: Updating existing index location with data

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'

 

Re: Updating existing index location with data

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

It's not the same SQL query ;)

Re: Updating existing index location with data

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.

Re: Updating existing index location with data

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

Re: Updating existing index location with data

Thank you Titione31.

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