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

API scripting Promote Physical Copy
https://3parug.net/viewtopic.php?f=17&t=944
Page 1 of 1

Author:  jazzygeoff [ Wed Oct 08, 2014 7:48 am ]
Post subject:  API scripting Promote Physical Copy

Hello all,

I'm brand new to 3PAR, and have been scripting a process to create, resync and promote physical copies (for QA, DEV, etc testing). I'm using the Web API (1.3.1) and PERL.

I have almost arrived at my solution, but I am unable to find anything in the API developers guide regarding promoting Physical Copies. The option to promote a physical copy is there in the GUI, and works fine. I can also achieve the same result in the GUI by resyncing a physical copy, and not selecting "save snapshot for later resync", which seems to have the net effect of promoting the physical copy to a base volume after the resync.

Trouble is, in the API there is not a way of selecting saveSnapshot as "false" in the physical resync API "method".

Has anyone achieved "promote physical" via the web API? Have I missed something obvious?

Many thanks in advance,
Geoff

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