i can't test it right now, but if you specified multiple LUNs with -consistent option when you started the session, when you activate the session ..you just specify the session name, not individual LUNs.
I am trying to do some scripting for automating the snap process. If there is a way to activate the snap's in a single command it would make scripting easy, otherwise I would need to probably run it through a loop , I am going to try to test some options with naviseccli to see if its possible to do in a single command.
I didn't work with navicli much in the past but looking at some of the options it doesn't look's to be as flexible as symcli
Dynamox, it’s been a while for me on this but even with a single multi-lun session, you need to activate that session to each snapshot, there is one snapshot for each LUN being snapped and presented to the host. However, as I mentioned in my other reply, consistency is maintained within the session, so there is no absolute requirement to activate multiple snapshots simultaneously.
Is there a specific reason you need to activate them all in one command? The reason you can start session in one command is to ensure all of the sessions are write-order consistent. With activate, that is not a concern.
Rajshekar ..i am afraid you will need to tackle it with some scripting. Like you said, loop through the list of sessions and activate the ones you need.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
1211
0
Posted April 3rd, 2012 19:00
https://community.emc.com/message/505431