Veritas Storage Foundation 5.1 SP1: Storage and Availability Management for Oracle (5900-1504, April 2011)

4
Create a mirror of a volume:
# vxsnap -g diskgroup addmir volume_name alloc=diskname
Example of creating 3 mirrors for a particular volume:
# vxsnap -g diskgroup addmir datavol \
nmirror=3 alloc=disk1,disk2,disk3
5
List the available mirrors:
# vxprint -g diskgroup -F%name -e"pl_v_name in \"volume_name\""
6
Enable database FlashSnap to locate the correct mirror plexes when creating
snapshots:
Set the dbed_flashsnap tag for the data plex you want to use for breaking
off the mirror. You can choose any tag name you like, but it needs to match
the tag name specified in the snapplan.
# vxedit -g diskgroup set putil2=dbed_flashsnap plex_name
Verify that the dbed_flashsnap tag has been set to the desired data plex:
# vxprint -g diskgroup -F%name -e"pl_v_name in \
\"volume_name\" && p2 in \"dbed_flashsnap\""
If you require a backup of the data in the snapshot, use an appropriate utility
or operating system command to copy the contents of the snapshot to tape
or to some other backup medium.
Example procedure to create a snapshot mirror of a volume
This example shows the steps involved in creating a snapshot mirror for the
volume data_vol belonging to the disk group PRODdg.
Using Database FlashSnap for backup and off-host processing
Preparing hosts and storage for Database FlashSnap
136