Veritas Storage Foundation 5.1 SP1: Storage and Availability Management for Oracle (5900-1504, April 2011)
Note: You must be logged in as superuser (root) to issue the commands in the
following procedure.
To create a snapshot mirror of the volume data_vol
1
Prepare the volume data_vol for mirroring:
# vxsnap -g PRODdg prepare data_vol alloc=PRODdg01,PRODdg02
2
Verify that FastResync is enabled:
# vxprint -g PRODdg -F%fastresync data_vol
on
3
Verify that a DCO and a DCO log are attached to the volume:
# vxprint -g PRODdg -F%hasdcolog data_vol
on
4
Create a snapshot mirror of data_vol:
# vxsnap -g PRODdg addmir data_vol alloc=PRODdg02
5
List the data plexes:
# vxprint -g PRODdg -F%name -e"pl_v_name in \"data_vol\""
data_vol-01
data_vol-02
6
Choose the plex that is in the SNAPDONE state. Use the vxprint -g
diskgroup command to identify the plex that is in the SNAPDONE state.
7
Identify the plex name in the above step and set the dbed_flashsnap tag for
it:
# vxedit -g PRODdg set putil2=dbed_flashsnap data_vol-02
137Using Database FlashSnap for backup and off-host processing
Preparing hosts and storage for Database FlashSnap