Gopi Desaboyina Solaris Blogs

Just another WordPress.com weblog

EMC TimeFinder/CLONE [ SYMCLONE ]

1. Creating a new session.

#symclone -f <devices file> create -copy/-precopy -sid <symm id> -nop

If you use -copy copying blocks from source to target LUNS gets copied in the background  as soon as activate them.   If you use –precopy, copy will start immediately and won’t wait for activate to be run. Note : This will be full copy from source to target

2. Activating a previously created session.

#symclone -f <devices file> activate -sid <symm id>consistent  -nop

As soon as session is activated block level copy starts if session is created with -copy option.

3. Query the session to find out how is copy going on. You would see status as “copy in progress” or “Copied”.

#symclone -f <devices file> query -sid <symm id> –nop

4. If copying is complete and you want to create a new session. before to that you’ve to Terminate the existing session.

  #symclone -f <devices file> terminate -sid <symm id>nop

All the above steps does are full copy from source LUN to target LUN. If you don’t want to do full copy & copy the only changed tracks. symclone has that options too.

Differential Copy :

1.Create a first session with -diff option

#symclone –f <devices file> create  -copy/-precopy –diff –sid <symm id> –nop

Note : This session will be full copy too. only thing is subsequent copies can be created with recreate option & they’ll be just differential and fast.

2.   Activate the session.

#symclone -f <devices file> activate -sid <symm id>consistent  -nop

3. for subsequent point in time clone creations. you don’t(shouldn’t) need to terminate the session. instead Recreate the same session using below and activate them using activate.

#symclone -f <devices file> recreate -sid <symm id> –nop

4. Activate it for start copying blocks. This should be fast.

#symclone -f <devices file> activate -sid <symm id>consistent  -nop

 

Restoring or Reverse Cloning :

Incase if something happens to source LUNS. if you want to restore from target. you could do using following commands. you don’t have to flip the devices. you could use same device file.

#symclone -f <devices file> restore -sid <symm id> –nop

you don’t need to activate as restore will establish in opposite directions and automatically activates them to. when you query you should see the status as “Restore in Progress”. once restore is complete you would see “Restored”.

If you want to normal clone from source to target again after restore is complete. you need to Split the existing reverse clone session by using below command.

#symclone -f <devices file> split -sid <symm id> –nop

Now. you could go-ahead with recreate and activate for normal clones.

 

Format of the device file :

# SRC-LUN    TGT-LUN

   1300              1500

 

Reference Docs :

http://www.computeranddata.com/doc/vendors/emc/emc-docs/symcli6.0/whpapers/3001382d.pdf

http://www.csc.dg.com/collateral/hardware/solution-overview/h2603-oracle-db-emc-symmetrix-stor-sys-wp-ldv.pdf

Advertisements

November 10, 2009 - Posted by | EMC Symclone | ,

11 Comments »

  1. Hey Bro!! will appreciate if you can share with us the procedure to add luns in shared metaset in sun-cluster.

    Comment by saikant | November 15, 2009 | Reply

    • Saikant, I don’t have experience in Sun Cluster. however if you need something in Veritas cluster. I would be happy to help you. Do you;ve any specific question or issue while setting up Sun Cluster ?

      Comment by gdesaboyina | November 15, 2009 | Reply

  2. Hi Gopi You knowledge is very good, I´m from Mexico and I´m working for a Biggest company in Mexico too, nice to meet you

    Comment by Alberto | January 9, 2010 | Reply

  3. Hi Gopi, I found your site while googling for TF clone. I am also working for an Indian company. Your procedures were helpful.

    Comment by Hon Shern | March 16, 2010 | Reply

    • I did a lot of research on TF. Let me know if you need more info

      Comment by gdesaboyina | March 31, 2010 | Reply

  4. […] EMC TimeFinder/CLONE [ SYMCLONE ] November 20095 comments 4 […]

    Pingback by My Blog gdesaboyina.wordpress.com 2010 in review « Gopi Desaboyina Solaris Blogs | January 2, 2011 | Reply

  5. what’s no-port will do in dmx

    Comment by mallesh | December 4, 2011 | Reply

  6. symdev-sid xxx list-noport.

    would u know here no-port what will do

    Comment by mallesh | December 4, 2011 | Reply

    • Hello Mallesh, I’m not a storage guy rather server side guy..I never used symdev..I’ve used only symclone.

      Comment by Gopi | December 4, 2011 | Reply

      • symdev list -noport willl show all the devices that are not mapped to any front end director :).

        Comment by amit | March 4, 2012

  7. This is a very nice doccument for the Timefinder clonning operations

    Comment by Naveen | October 24, 2012 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: