UNSOLVED

shafty1

updated

18 years ago

S

shafty1

14 Posts

0

734

April 17th, 2009 03:00

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.


Any help on this would be great.

Thanks
Paul.
  • RRR

    6 Operator

    •

    5739 Posts

    469

    0

    Posted April 17th, 2009 03:00

    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.
  • shafty1

    14 Posts

    469

    0

    Posted April 21st, 2009 01:00

    After some reading on naviseccli commands it was a lot easier than I thought.

    Thanks,

    Paul
  • RRR

    6 Operator

    •

    5739 Posts

    469

    0

    Posted April 21st, 2009 02:00

    Yep :)

    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.

    If you need specific help, let us know ;)