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

Scripts to sync tasks
https://3parug.net/viewtopic.php?f=17&t=97
Page 1 of 1

Author:  KelphiD [ Mon Nov 14, 2011 9:49 pm ]
Post subject:  Scripts to sync tasks

Hi to everybody...!! we´re working in our backup solution with Data Protector, and we need to automate some tasks, like in EVAs with RSM or RAID Manager with XP arrays (create mirror-snapshot from vdisk, break synchronization, mount to host backup, backup with DP and re sync again, and so on in a cycle...) it´s posible in 3Par doing this... what command we should to use??

Thanks for your help and comments... :)

Author:  Richard Siemers [ Fri Nov 18, 2011 4:21 pm ]
Post subject:  Re: Scripts to sync tasks

This post has a basic script you can use as a template.

viewtopic.php?f=17&t=45


Basic workflow may be:
createsv to create the snaps.
createvlun to export it to backup host
mount the LUNs within the host OS
run the backup
unmount the LUNs
removevlun to take the luns away from the host
removevv to remove the name of the SNAPSHOT.

I think the best place for such a script to run would be in the pre and post execution scripts of the backup job on the backup server.

--Richard

Author:  KelphiD [ Tue Nov 22, 2011 1:17 pm ]
Post subject:  Re: Scripts to sync tasks

Hi Richard, Tks for your response... :)

I was review this post, and effectively I was used it to work with it in my script... :) Very good, eh? This guided me... Now I have to remove to use plink, because our customer don´t accept this because this is "not supported for HP".... So this is my first task to modified... :)

Later I'll post the scripts that we created based on that found in the forum ... :)

Thanks for all, very usefull for people that work with 3Pars...

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