Veritas InfoScale™ 8.0.2 Storage and Availability Management for Oracle Databases - AIX, Linux, Solaris
- Section I. Storage Foundation High Availability (SFHA) management solutions for Oracle databases
- Overview of Storage Foundation for Databases
- About Veritas File System
- Overview of Storage Foundation for Databases
- Section II. Deploying Oracle with Veritas InfoScale products
- Deployment options for Oracle in a Storage Foundation environment
- Deploying Oracle with Storage Foundation
- Setting up disk group for deploying Oracle
- Creating volumes for deploying Oracle
- Creating VxFS file system for deploying Oracle
- Deploying Oracle in an off-host configuration with Storage Foundation
- Deploying Oracle with High Availability
- Deploying Oracle with Volume Replicator (VVR) for disaster recovery
- Deployment options for Oracle in a Storage Foundation environment
- Section III. Configuring Storage Foundation for Database (SFDB) tools
- Configuring and managing the Storage Foundation for Databases repository database
- Configuring the Storage Foundation for Databases (SFDB) tools repository
- Configuring authentication for Storage Foundation for Databases (SFDB) tools
- Configuring and managing the Storage Foundation for Databases repository database
- Section IV. Improving Oracle database performance
- About database accelerators
- Improving database performance with Veritas Extension for Oracle Disk Manager
- About Oracle Disk Manager in the Veritas InfoScale products environment
- Improving database performance with Veritas Cached Oracle Disk Manager
- About Cached ODM in SFHA environment
- Configuring Cached ODM in SFHA environment
- Administering Cached ODM settings with Cached ODM Advisor in SFHA environment
- Generating reports of candidate datafiles by using Cached ODM Advisor in SFHA environment
- Generating summary reports of historical activity by using Cached ODM Advisor in SFHA environment
- Generating reports of candidate datafiles by using Cached ODM Advisor in SFHA environment
- Improving database performance with Quick I/O
- About Quick I/O
- Improving database performance with Cached Quick I/O
- Section V. Using point-in-time copies
- Understanding point-in-time copy methods
- Volume-level snapshots
- About Reverse Resynchronization in volume-level snapshots (FlashSnap)
- Storage Checkpoints
- About FileSnaps
- Considerations for Oracle point-in-time copies
- Administering third-mirror break-off snapshots
- Administering space-optimized snapshots
- Creating a clone of an Oracle database by using space-optimized snapshots
- Administering Storage Checkpoints
- Database Storage Checkpoints for recovery
- Administering FileSnap snapshots
- Backing up and restoring with Netbackup in an SFHA environment
- Understanding point-in-time copy methods
- Section VI. Optimizing storage costs for Oracle
- Understanding storage tiering with SmartTier
- Configuring and administering SmartTier
- Configuring SmartTier for Oracle
- Optimizing database storage using SmartTier for Oracle
- Extent balancing in a database environment using SmartTier for Oracle
- Configuring SmartTier for Oracle
- SmartTier use cases for Oracle
- Compressing files and databases to optimize storage costs
- Using the Compression Advisor tool
- Section VII. Managing Oracle disaster recovery
- Section VIII. Storage Foundation for Databases administrative reference
- Storage Foundation for Databases command reference
- Tuning for Storage Foundation for Databases
- About tuning Veritas Volume Manager (VxVM)
- About tuning VxFS
- About tuning Oracle databases
- About tuning Solaris for Oracle
- Troubleshooting SFDB tools
- About troubleshooting Storage Foundation for Databases (SFDB) tools
- About the vxdbd daemon
- Resources for troubleshooting SFDB tools
- Manual recovery of Oracle database
- Storage Foundation for Databases command reference for the releases prior to 6.0
- Preparing storage for Database FlashSnap
- About creating database snapshots
- FlashSnap commands
- Creating a snapplan (dbed_vmchecksnap)
- Validating a snapplan (dbed_vmchecksnap)
- Displaying, copying, and removing a snapplan (dbed_vmchecksnap)
- Creating a snapshot (dbed_vmsnap)
- Backing up the database from snapshot volumes (dbed_vmclonedb)
- Cloning a database (dbed_vmclonedb)
- Guidelines for Oracle recovery
- Database Storage Checkpoint Commands
- Section IX. Reference
- Appendix A. VCS Oracle agents
- Appendix B. Sample configuration files for clustered deployments
- Appendix C. Database FlashSnap status information
- Appendix D. Using third party software to back up files
Creating third-mirror break-off snapshots in a VVR setup
To use online third-mirror break-off (FlashSnap) snapshots in a Volume Replicator (VVR) based replication environment, you need to generate a snapshot configuration on the primary host and then use that configuration on the secondary host.
To create third-mirror break-off snapshots in a VVR setup
- On the primary host, generate the snapshot configuration for the secondary host.
$ opt/VRTSdbed/bin/vxsfadm -a oracle -o getvvrinfo Gathering offline data... Done ORACLE_SID = sfaedb REPLICATION_ROLE = secondary REPLICATION_DG_VOL = orasecondarydg,orasecondarydg2:datavol SNAPSHOT_TIME = Wed Feb 15 09:50:17 2012 Configuration file /tmp/config.aTKYn is ready. Use this configuration file on replication secondary site for cloning application instance.
Note:
You do not need to specify the configuration name and the replication role. The same configuration file can be used on any secondary host for online mode or instant mode snapshots.
- Copy the newly generated snapshot configuration from the primary host to the secondary host.
- On the secondary host, validate the snapshot configuration.
$ /opt/VRTS/bin/vxsfadm -s flashsnap -a oracle \ --name flash3 -o valid -c config.aTKYn Validating database configuration for third-mirror-break-off snapshot: ORACLE_SID = sfaedb ORACLE_HOME = /home/ora11gr2/app/ora11gr2/product /11.2.0/dbhome_1 APP_MODE = online SNAPSHOT_ARCHIVE_LOG = yes Validating database volume layout for space-optimized snapshot: REPLICATION_DG_VOL = orasecondarydg:datavol CACHE_OBJECT = co Replicated volumes ready for snapshot: Volume/volume-set datavol of diskgroup orasecondarydg. Volume/volume-set archvol of diskgroup orasecondarydg. SNAPSHOT_VOL_PREFIX = SNAP_ SNAPSHOT_DG_PREFIX = SNAP_ Database volume layout validated successfully.
After validating the snapshot configuration on the secondary host, you can perform operations such as clone and destroy, locally on the secondary host.
- On the secondary host, create a third-mirror break-off snapshot.
$ /opt/VRTS/bin/vxsfadm -s flashsnap -a oracle \ --name flash3 -o snap -c config.aTKYn snapshot started at Wed Feb 15 14:02:34 2012. Initiating snapshot from Primary site ... Message from Primary: Putting database in backup mode ... Done Message from Primary: Taking database out of backup mode ... Done Flushing online redo logs ... Done Sending IBC message to Secondary ... Done Message from Host system1.example.com: Creating snapshot volumes for data volumes ... Done Message from Host system1.example.com: Receiving IBC message from Primary ... Done Creating snapshot volume for archivelog volume ... Done Copying snapshot information to snapshot volume ... Done Creating snapshot diskgroups ... Done Deporting snapshot diskgroups ... Done SNAP_orasecondarydg snapshot ended at Wed Feb 15 14:02:55 2012.
You can use the following command to resynchronize snapshot volumes to original volumes.
$ /opt/VRTS/bin/vxsfadm -s flashsnap -a oracle \ --name flash3 -o resync -c config.aTKYn resync started at Wed Feb 15 14:16:47 2012. Importing snapshot diskgroups ... Done Joining snapshot diskgroups to original diskgroups ... Done Reattaching snapshot volumes to original volumes ... Done resync ended at Wed Feb 15 14:16:58 2012.
Note:
You cannot resynchronize a FlashSnap snapshot while there exist space-optimized snapshots created by using that FlashSnap snapshot as a golden image.
You can use the vxsfadm command after the replication role transfer.
See Considerations for using vxsfadm after replication role transfer.