Need help in automating snapshots on Cx3-80 Flare code 26
Hi guys,
I am trying to script the taking of a snapshot on a LUN on a daily basis.
Does anyone have a script to check if a snapshot exist for a particular LUN, overwrite old snapshot, start snapview session, create a snapshot, activate the snapshot to the session. I only want to keep the snapshot on a daily basis for quick recovery.
I'm affraid I won't be of much help, but all I can say is that if you spend a day programming batchfiles, you should be done. It's a matter of errorcodes, if then's, stuff like that. And reading through the naviseccli manuals also helps.
Just test each command on some snapshot you created in Navisphere and view what's happening in Navisphere after each command you enter on the commandline.
You should be glad if you're running Flare >19, since now you don't have to look for the owning SP anymore, like you had to do with Flare <=19 like I had to do. Cost me a few extra lines, but not having to do it is even easier. You can now simply run the commands against (for example) SPA, even when a LUN sits on SPB.
RRR
6 Operator
•
5739 Posts
469
0
Posted April 17th, 2009 03:00