3PAR Scripting from Windows server

Post Reply
markh1704
Posts: 3
Joined: Mon Sep 29, 2014 9:50 am

3PAR Scripting from Windows server

Post 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
Attachments
scripts.doc
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
(7.23 KiB) Downloaded 4439 times
trentwtaylor
Posts: 20
Joined: Tue Jul 01, 2014 8:03 pm

Re: 3PAR Scripting from Windows server

Post 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
markh1704
Posts: 3
Joined: Mon Sep 29, 2014 9:50 am

Re: 3PAR Scripting from Windows server

Post 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
trentwtaylor
Posts: 20
Joined: Tue Jul 01, 2014 8:03 pm

Re: 3PAR Scripting from Windows server

Post 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
markh1704
Posts: 3
Joined: Mon Sep 29, 2014 9:50 am

Re: 3PAR Scripting from Windows server

Post 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
trentwtaylor
Posts: 20
Joined: Tue Jul 01, 2014 8:03 pm

Re: 3PAR Scripting from Windows server

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