Storage Software
1753499 Members
4499 Online
108794 Solutions
New Discussion юеВ

Re: looking for sssu script examples to create mirror clone

 
SOLVED
Go to solution
wvsa
Regular Advisor

looking for sssu script examples to create mirror clone

Good morning all;

Wondering if anyone out there has created a sssu script to create a mirror clone. My goal is to create a sssu script that will create a mirror clone, once the mirror's have been created break the mirror and present the mirrored vdisk to a hpux 11iv3 server.

Thank you in advance for your input


Norm

 

 

P.S. This thread has been moved from  Disk Array to HP Storage System Scripting Utility (SSSU). -HP Forum Moderator

4 REPLIES 4
Johan Guldmyr
Honored Contributor

Re: looking for sssu script examples to create mirror clone

Hi!

I haven't, but I will try now :)

Also, have you checked out RSM? Not so knowledgeable in this product but shouldn't this be able to do the thing above you want?

SSSu reference can be found here:

http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&contentType=SupportManual&docIndexId=64180&prodSeriesId=471497&prodTypeId=18964
Johan Guldmyr
Honored Contributor
Solution

Re: looking for sssu script examples to create mirror clone

Did this in a simulator now..

In Command View 9.2.0 and I have created a VDISK called UXDISK of 50GB and a host called UX.

NoSystemSelected> select system EVA
EVA> ADD CONTAINER UXCONT SIZE=50
EVA> ADD MIRRORCLONE uxmirror VDISK=UXDISK CONTAINER=UXCONT
EVA> SET MULTIMIRROR FRACTURE VDISK=uxmirror
EVA> ADD LUN 0 HOST=UX VDISK=uxmirror

You may want to check out the OPTION lock_state=lock/unlock for ADD MIRRORCLONE.

And command_delay= for SET OPTION.

But as far as I understand it this can be done in RSM :)


To start the utility and run multiple commands, enter:
SSSU "cmd1" "cmd2" "cmd3"
To include a file path name, enter:
SSSU "file \"c:\program files\myotherscript.txt""
IMPORTANT:
Enclose file names, commands, and path names that contain spaces in quotation marks.
wvsa
Regular Advisor

Re: looking for sssu script examples to create mirror clone

Hello Johan;

Thank you for your response. I've played with rsm and honestly have not been able to get it to do what we need in a short period of time.

Your reference guide was helpful, will need to test your commands they make sense, thank you for taking the time to create the example.
Johan Guldmyr
Honored Contributor

Re: looking for sssu script examples to create mirror clone

Sure no problem :)

Wouldn't you want to have a 2nd script that syncs it back, and then a 3rd one that doesn't create the clone but only fractures it?