This post is more than 5 years old

14 Posts

2283

April 14th, 2008 23:00

Creating symclone session for a device group

I have created a device group with SRC and TGT devices and want to create a symclone copy session on the device group itself, instead of creating session by specifying a single SRC and TGT device in a command line.

any ideas.......

9 Legend

 • 

20.4K Posts

April 16th, 2008 05:00

thank you ..thinking one thing and typing another ...

4 Operator

 • 

5.7K Posts

April 16th, 2008 05:00

in both lines device 0023 ? That's a typo, right ?

4 Operator

 • 

5.7K Posts

April 16th, 2008 05:00

Do you have other questions you'd like to ask or has your question been answered ?

9 Legend

 • 

20.4K Posts

April 16th, 2008 05:00

you should be able to find -tgt option in the "Symmetrix TimeFinder Family Cli 6.4" guide. You are not going to do timefinder operations with gatekeepers are you ?

so let's say you need to clone one device to another, first you would add them to your device group:

symld -g DgName add dev 0023 -sid 123 <- so this is your source device
symld -g DgName add dev 0023 -sid 123 -tgt <- this is your target device

and then you can issue symclone -g DgName establish which in the backgroup will do create/activate for you.

9 Legend

 • 

20.4K Posts

April 16th, 2008 05:00

perfect ..thank you for catching that.

4 Operator

 • 

5.7K Posts

April 16th, 2008 05:00

so
symld -g DgName add dev 0022 -sid 123 <- so this is your source device
symld -g DgName add dev 0023 -sid 123 -tgt <- this is your target device

9 Legend

 • 

20.4K Posts

April 16th, 2008 08:00

Del Corno man ...where you at ..too quiet here :D

14 Posts

April 16th, 2008 23:00

Sorry for the late response....

I confused somewhat here. In previous response you have mentioned that use of "-tgt" option while creating a copy session on a DG.

symclone -g DG_Name create -tgt -diff -copy
symclone -g DG_Name activate -tgt

But now i've been asking to use "-tgt" when adding a sym device to a DG.

symld -g DgName add dev 0023 -sid 123 <- so this is your source device
symld -g DgName add dev 0023 -sid 123 -tgt <- this is your target device

Do i need to use this option in both commands i.e while adding a device to a DG and creating a session or in any one command is enough?

9 Legend

 • 

20.4K Posts

April 17th, 2008 05:00

yes, if you do not use -tgt option when you add devices to device group, they will appear right next to your source devices and when you run symclone establish or (create/activate) against the group it will fail because it will have no idea which device is source and which device is target. So when you add your target devices to device group with -tgt you are designating those devices to be your target devices for clone session. Now that you have added them and you run symdg show DGName ..you will see that they will be listed as target devices. When it's time to run your symclone commands you have to use -tgt as you are telling symclone that hey ..i have specifically defined my target devices with -tgt option ..they are your target devices for symclone session.

4 Operator

 • 

5.7K Posts

April 17th, 2008 07:00

Dynamox's typo is in there. Please make sure your source and target are different symdevs !!!

14 Posts

April 17th, 2008 22:00

Thank you very much dynamox....

9 Legend

 • 

20.4K Posts

April 18th, 2008 03:00

you are very welcome !/4.5.6/images/emoticons/grin.gif|_mce_src=/4.5.6/images/emoticons/grin.gif|___jive_emoticon_name=grin|jivemacro=emoticon|class=jive_macro jive_emote|src=/4.5.6/images/emoticons/grin.gif!


This is rayh testing editing your post Dynamox -- one more test.

Top