Start a Conversation

Unsolved

This post is more than 5 years old

LA

1379

March 20th, 2012 11:00

How to copy the data of Pool A into a new pool B in the same Centera cluster?

I have a centera which has pool (A) having about 1 TB of data .... I need to create a new pool (B) which has the same data, but different pool name and profile ... which will be used for testing ...

How can I do that? it's an application requirement ...

I know that I can provide read only functionality to Pool A ... but I need to make a copy of the data to Pool B ....

Your help is appreciated

208 Posts

March 20th, 2012 12:00

Hi Loay -

It sounds like this is a homegrown Centera API application?  If so, you probaly have the required expertise.  Maybe someone else on the forum can think of something innovative here, but I don't see a way to do this with preexisting standard tools.

You will likely have to whip up your own c-clip copying utility to copy this data form pool A to B. There is really only one way to do this:

  • Open the existing clip from pool A in tree mode and create a new clip using a separate pool connection to profile B
  • Copy all of the clip metadata from clipA to clipB
  • Iterate over the tags in clipA and create equivalent tags in clipB as you go, remembering to copy tag attributes as well.
  • Copy any blobs on clipA's tags over to the new tags on clipB; this will require a read followed by a write unless you want to get really fancy with streaming
  • Write clipB, close clipA
  • Rinse and repeat for all the clips in pool A

You didn't mention your average blob size or number of clips but this could be kinda slow if you do it in a single thread. If you need it to be faster you would have to multithread the clip processing.

Very interesting question! It sounds simple on its face but that is why Centera is such a unique platform.

Best Regards,

Mike Horgan

4 Posts

March 21st, 2012 01:00

Mike's explanation is more or less the way to do it.

Please be aware that although you will have a clean copy of your data, the clip id's or clip addresses will be different. You cannot have the same clip id in different pools on a single Centera. If you would have a second Centera then there are ways to copy the data while keeping the clip id.

Best Regards,

Ives Aerts

http://www.datadobi.com

No Events found!

Top