cancel
Showing results for 
Search instead for 
Did you mean: 

RSM Scripting

 
Advisor

RSM Scripting

Greetings,
Does anyone have a script or procedure or a suggestion on how to use RMS to perform the following:

1. Create a Snapclone of a Vdisk once per week
2. Delete the Snapclone created from a week ago


At some point I'd like to take this a little further, if possible, with a different set of Vdisks and try to do the following:

1. Create a Mirrorclone of a Vdisk
2. Fracture the Mirror at x time
3. Present the fractured Vdisk (snapclone) to a host
4. After x time period unpresent the Vdisk from host
5. Re-establish the Mirrorclone

Does HP have any examples of RSM scripts? The RSM user guide lists, describes, and defines all the possible commands, but there is not a lot of information on how to pull the various commands together into one argument.

Thanks!
4 REPLIES 4
Valued Contributor

Re: RSM Scripting

Hi

Did you find out how to:

1. Create a Snapclone of a Vdisk once per week
2. Delete the Snapclone created from a week ago

Thanks.
Respected Contributor

Re: RSM Scripting

New Member

Re: RSM Scripting

if anyone still needs help on this, please drop a note
Visitor

Re: RSM Scripting

Yes. I'm using RSM 5.2. I've looked through the templates and I'm trying to use variables to set the storage volume and mirror volume. I can use the variable to do a ValidateStorageVolume ( $mirror_vol ) but when I try to use it in a fracture, it gives an error.

FractureMirrorclones ( $mirror_vol, WAIT )

Task Fracturemirrorclones started
Failed to validate argument $mirrorclone_unc_names for operation FractureMirrorClones. It is of incorrect type or the variable used has no value.

What am I missing? Any help would be appreciated.