Page 1 of 1
3PAR Scripting from Windows server
Posted: Mon Sep 29, 2014 9:55 am
by markh1704
I have the above script and urgently need to get this working on a 3PAR 7400, PArt of the attached id from an EMC script. Any help would be brilliant
Re: 3PAR Scripting from Windows server
Posted: Tue Sep 30, 2014 5:37 pm
by trentwtaylor
What are you stuck on?
Make sure to put "-f" for forcing your operations or your script will get stuck on prompts ("are you sure you want to do this?")
The logic is as you have it ... remove the vlun, then the snapshot vv
For snapshots: say you have a vv named trent and want to create a snap, it would be:
createsv snap_trent trent
Your createvlun logic is right
Re: 3PAR Scripting from Windows server
Posted: Thu Oct 02, 2014 10:18 am
by markh1704
Hi,
Basically my issue is I am trying to replicate a script currently configured to run on an EMC C4-240.
So I want the 3PAR to replicate the script the EMC uses. Not having done this before its not so simple
Re: 3PAR Scripting from Windows server
Posted: Fri Oct 03, 2014 12:44 am
by trentwtaylor
So what part are you stuck on?
Start with learning how to manually do the commands and then we can try to script them
Re: 3PAR Scripting from Windows server
Posted: Fri Oct 03, 2014 3:05 am
by markh1704
The whole process, customer needs the script in place asap, not really getting anywhere, need to translate the EMC script to work on the 3PAR
Re: 3PAR Scripting from Windows server
Posted: Fri Oct 03, 2014 9:23 am
by trentwtaylor
I think you will find quite a few people here willing to help you but not as many willing to do all the work for you.
Look at the following commands
Createsv
Createvlun
Removevlun
Removevv
Try to do your process manually so you have the logic. Then you can script it ...