3PAR Users Group
https://3parug.com/

Suggest A Scripting Language for 3PAR.
https://3parug.com/viewtopic.php?f=17&t=1873
Page 1 of 1

Author:  pmu [ Wed Jan 13, 2016 10:10 am ]
Post subject:  Suggest A Scripting Language for 3PAR.

Hi,

I recently started working on 3par. While I'm still getting used to the various terminologies, I feel it's better to keep an eye for scripting/automation.

Would Perl or Python be better? There appears to be a Python Module as well as a PowerShell module...anyone can suggest which would be a better one?

Regards,
pmu

Author:  hdtvguy [ Wed Jan 20, 2016 7:23 am ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

I guess that depends on what kind of shop you are, if you are mostly Windows admins then Powershell would likely be best, if Linux then probably perl. The 3par Powershell kit is very weak, but you can just write powershell to call CLI commands, that is what I have been doing since before the Powershell kit was out, I also have some simple just windows batch scripts.

Author:  RitonLaBevue [ Sun Feb 07, 2016 5:50 am ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

TCL is native 3PAR language, so use TCL ^^

Author:  Agiker [ Thu Dec 07, 2017 9:08 pm ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

Trying to find a suitable scripting language for 3par . Need to get some show command output to excel. We are having an all windows environment. Checking on powershell , but it has different command set for 3par as part of the HPE 3par powershell kit. Can we just write powershell to just call usual 3par CLI commands as well (Like we do normally do while SSH into 3par ). Or Python can be used to call 3par CLI commands. Python also has HPE3parclient package which again shows different 3par command set.

Author:  yashgupta9696 [ Wed Jun 13, 2018 7:33 am ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

You can definitely use Python, use Paramiko to SSH into the 3PAR and execute the commands.
It works pretty nicely!

Author:  robertjohnson [ Sat Aug 04, 2018 12:19 pm ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

Has someone replied you appropriately? Have you found the most adequate solution? Let me know if so.

Author:  nicDM77 [ Mon Aug 06, 2018 8:30 am ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

Use whatever scripting language you're comfortable with, in combination with either the 3PAR API or parse commands over ssh.

If you're not already proficient in a(ny) scripting language (python or perl or powershell or ...), I would start there and learn one.

Author:  Richard Siemers [ Thu Aug 16, 2018 11:44 pm ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

There is a powershell toolkit for 3PAR, but requires a opensource SSH module to be added to your powershell as well. This should be the best solution for someone who knows powershell already.

If you know something else instead, like Python, Perl, Bash, etc... any thing that can script ssh commands will get the job done.

Author:  nicDM77 [ Fri Aug 17, 2018 2:30 am ]
Post subject:  Re: Suggest A Scripting Language for 3PAR.

Richard Siemers wrote:
any thing that can script ssh commands will get the job done.

or, of course, is able to talk to the 3PAR api (curl, python-3parclient, etc)

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