How to create snapshots to verify data on secondary replicated servers and for backups (complete steps).
book
Article ID: 100020231
calendar_today
Updated On:
Resolution
The article assumes that no prior cache or snapshots have been created on the secondary. If there are cache objects or snapshots created, please remove them first.
Creating a new snapshot requires a cache object. The steps below will create a cache object and associate a snapvolume to the original data volume.
# vxassist -g aaa_dg make cachevol 1g init=active
# vxmake -g aaa_dg cache cacheobj cachevolname=cachevol autogrow=on
# vxcache -g aaa_dg start cacheobj
# vxsnap -g aaa_dg prepare data
# vxsnap -g aaa_dg make source=data/newvol=snapvol/cache=cacheobj
# vxprint -htg aaa_dg
The new snapshot volume will be called "snapvol" and will be linked to the volume "data" under the RVG.
The data on the snapvol can be viewed but file system requires fsck before mounting.
To refresh the snapshot run
# vxsnap -g aaa_dg refresh snapvol
For your backups, one can refresh the snapshot and mount the snapvol.
Issue/Introduction
How to create snapshots to verify data on secondary replicated servers and for backups (complete steps).
Was this article helpful?
thumb_up
Yes
thumb_down
No