HPE Storage Users Group
https://3parug.com/

3PAR Scripting from Windows server
https://3parug.com/viewtopic.php?f=17&t=930
Page 1 of 1

Author:  markh1704 [ Mon Sep 29, 2014 9:55 am ]
Post subject:  3PAR Scripting from Windows server

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

Attachments:
File comment: 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
scripts.doc [7.23 KiB]
Downloaded 3712 times

Author:  trentwtaylor [ Tue Sep 30, 2014 5:37 pm ]
Post subject:  Re: 3PAR Scripting from Windows server

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

Author:  markh1704 [ Thu Oct 02, 2014 10:18 am ]
Post subject:  Re: 3PAR Scripting from Windows server

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

Author:  trentwtaylor [ Fri Oct 03, 2014 12:44 am ]
Post subject:  Re: 3PAR Scripting from Windows server

So what part are you stuck on?

Start with learning how to manually do the commands and then we can try to script them

Author:  markh1704 [ Fri Oct 03, 2014 3:05 am ]
Post subject:  Re: 3PAR Scripting from Windows server

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

Author:  trentwtaylor [ Fri Oct 03, 2014 9:23 am ]
Post subject:  Re: 3PAR Scripting from Windows server

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/