3PAR Users Group

A Storage Administrator Community




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: 3PAR Scripting from Windows server
PostPosted: Mon Sep 29, 2014 9:55 am 

Joined: Mon Sep 29, 2014 9:50 am
Posts: 3
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 1574 times
Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR Scripting from Windows server
PostPosted: Tue Sep 30, 2014 5:37 pm 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR Scripting from Windows server
PostPosted: Thu Oct 02, 2014 10:18 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR Scripting from Windows server
PostPosted: Fri Oct 03, 2014 12:44 am 

Joined: Tue Jul 01, 2014 8:03 pm
Posts: 20
So what part are you stuck on?

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR Scripting from Windows server
PostPosted: Fri Oct 03, 2014 3:05 am 

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


Top
 Profile  
Reply with quote  
 Post subject: Re: 3PAR Scripting from Windows server
PostPosted: Fri Oct 03, 2014 9:23 am 

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


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | DVGFX2 by: Matt