Replication of VV
Posted: Sun Jul 19, 2015 8:29 pm
Hi All,
Please excuse me if this topic has been answered before but I have found a similar reference :-
viewtopic.php?f=17&t=758&hilit=unexport but not a solution to my issue. I'm new to "3-PAR scripting".
I'm in the process of writting a script to maintain secondary copies of VVsets. Currently I have a "source of truth" VVset which is then copied out to 3 other VVsets, mounted to Solaris servers.
The whole workflow process I do via the GUI is :-
1. Destination Solaris host "halted"
2. Destination volumes on Solaris hosts "umounted"
3. Destination volumes unexported on 3-PAR
4. Source DataBase "blocked", don't allow write to sourceVV.
5. Use 3-PAR gui "Create Physcial Copy..."
6. Source DataBase "unblocked", copy works from a snapshot until complete.
7. ..... wait for copy to complete .....
8. Re-export Destination volumes on 3-PAR back to Solaris hosts
9. Destination volumes on Solaris hosts "mounted"
10. Destination Solaris host "booted"
I have the following 4 sets of volumes which are use for the copying process
i. SourceVolume (exported and mounted against host, a Virtual Copy)
ii. SourceVolume.snap (unexported, snapshot of SourceVolume)
iii. DestinationVolumes <DestinationSetName> (unexported, snapshot of DestinationVolume.snap - Physical Copy cannot be exported/mounted gainast the host)
iv. DestinationVolumes.snap <DestinationSetName>.snap (exported and mounted against host, Virtual Copy)
Now I'm only concerned with the 3-PAR components ie points 3-8 above
I trying replicate the process with the following workflow :-
a. Unexport Destination volumes - "removevlun -f set:<DestinationSetName>.snap <n:s:p> <host>"
b. Perform a Sync to the snapshots - "createvvcopy -r set:<DestinationSetName>"
c. Wait for the 'sync' to complete - "waittask <${TASKID}>" .... create ${TASKID}> variable when the step 'b.' begins
d. Perform Physical Copy - "updatevv -f set:<DestinationSetName>.snap"
e. Export Destination volumes - "createvlun -f set:<DestinationSetName>.snap <n:s:p> <host>"
Any comments on the above process/workflow would be greatly appreciated.
Thank you
Andrew
Please excuse me if this topic has been answered before but I have found a similar reference :-
viewtopic.php?f=17&t=758&hilit=unexport but not a solution to my issue. I'm new to "3-PAR scripting".
I'm in the process of writting a script to maintain secondary copies of VVsets. Currently I have a "source of truth" VVset which is then copied out to 3 other VVsets, mounted to Solaris servers.
The whole workflow process I do via the GUI is :-
1. Destination Solaris host "halted"
2. Destination volumes on Solaris hosts "umounted"
3. Destination volumes unexported on 3-PAR
4. Source DataBase "blocked", don't allow write to sourceVV.
5. Use 3-PAR gui "Create Physcial Copy..."
6. Source DataBase "unblocked", copy works from a snapshot until complete.
7. ..... wait for copy to complete .....
8. Re-export Destination volumes on 3-PAR back to Solaris hosts
9. Destination volumes on Solaris hosts "mounted"
10. Destination Solaris host "booted"
I have the following 4 sets of volumes which are use for the copying process
i. SourceVolume (exported and mounted against host, a Virtual Copy)
ii. SourceVolume.snap (unexported, snapshot of SourceVolume)
iii. DestinationVolumes <DestinationSetName> (unexported, snapshot of DestinationVolume.snap - Physical Copy cannot be exported/mounted gainast the host)
iv. DestinationVolumes.snap <DestinationSetName>.snap (exported and mounted against host, Virtual Copy)
Now I'm only concerned with the 3-PAR components ie points 3-8 above
I trying replicate the process with the following workflow :-
a. Unexport Destination volumes - "removevlun -f set:<DestinationSetName>.snap <n:s:p> <host>"
b. Perform a Sync to the snapshots - "createvvcopy -r set:<DestinationSetName>"
c. Wait for the 'sync' to complete - "waittask <${TASKID}>" .... create ${TASKID}> variable when the step 'b.' begins
d. Perform Physical Copy - "updatevv -f set:<DestinationSetName>.snap"
e. Export Destination volumes - "createvlun -f set:<DestinationSetName>.snap <n:s:p> <host>"
Any comments on the above process/workflow would be greatly appreciated.
Thank you
Andrew