VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Chapter 10, Using Database FlashSnap for Backup and Off-Host Processing
Prerelease 8 September 2005, 8:55am Preparing Hosts and Storage for Database FlashSnap
211
Example
In this example, the volume, data_vol, is upgraded to make use of VxVM 4.1 features.
Upgrade the disk group, PRODdg.
# vxdg upgrade PRODdg
Remove the DRL plexes or subdisks, belonging to an earlier version of VxVM, from the volume to
be upgraded.
# vxassist -g PRODdg remove log data_vol logtype=drl
Reattach any snapshot volume back to the primary volume to be upgraded.
# vxsnap -g PRODdg snapback SNAP-data_vol
Turn off FastResync on the volume to be upgraded.
# vxvol -g PRODdg set fastresync=off data_vol
Disassociate and remove any older DCO object and DCO volumes.
# vxassist -g PRODdg remove log data_vol logtype=dco
Upgrade the volume by associating a new DCO object and DCO volume.
# vxsnap -g PRODdg prepare data_vol alloc="PRODdg01 PRODdg02"
View the existing DCO plexes and plex state.
Scenario 1
In this scenario, there are enough DCO plexes for the data plexes. Also, no data plex is associated
with a DCO plex.
# vxprint -g PRODdg
v data_vol fsgen ENABLED 4194304 - ACTIVE - -
pl data_vol-01 data_vol ENABLED 4194304 - ACTIVE - -
sd PRODdg01-01 data_vol-01 ENABLED 4194304 0 - - -
pl data_vol-04 data_vol ENABLED 4194304 - SNAPDONE - -
sd PRODdg02-03 data_vol-04 ENABLED 4194304 0 - - -
dc data_vol_dco data_vol - - - - - -
v data_vol_dcl gen ENABLED 560 - ACTIVE - -
pl data_vol_dcl-01 data_vol_dcl ENABLED 560 - ACTIVE - -
sd PRODdg01-02 data_vol_dcl-01 ENABLED 560 0 - - -
pl data_vol_dcl-02 data_vol_dcl ENABLED 560 - ACTIVE - -
sd PRODdg02-02 data_vol_dcl-02 ENABLED 560 0 - - -
Convert the data plex state from SNAPDONE to ACTIVE.
# vxplex -g PRODdg convert state=ACTIVE data_vol-04
Associate the data plex with a new DCO plex and convert it back to a SNAPDONE state.
# vxplex -g PRODdg -o dcoplex=data_vol_dcl-02 convert
state=SNAPDONE data_vol-04