VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Prerelease 8 September 2005, 8:55am
x VERITAS Storage Foundation for Oracle Administrator’s Guide
How VERITAS Database FlashSnap Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Typical Problems Database FlashSnap Solves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Database FlashSnap Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Using Database FlashSnap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Database FlashSnap Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
Database FlashSnap Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Planning Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Selecting the Snapshot Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Selecting One or Two Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Preparing Hosts and Storage for Database FlashSnap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Setting Up Hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Single-Host Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Two-Host Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Host and Storage Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Creating a Snapshot Mirror of a Volume or Volume Set Used by the Database . . . . . . . 190
Upgrading Existing Volumes to Use VERITAS Volume Manager 4.1 . . . . . . . . . . . . . . 194
Upgrading from VERITAS Database Edition 3.5 for Oracle with Database FlashSnap . 199
Summary of Database Snapshot Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
Creating a Snapplan (dbed_vmchecksnap) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Creating Multi-mirror Snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Establishing a Mandatory Archive Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Validating a Snapplan (dbed_vmchecksnap) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Displaying, Copying, and Removing a Snapplan (dbed_vmchecksnap) . . . . . . . . . . . . . . . . 216
Creating a Snapshot (dbed_vmsnap) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
Backing Up the Database from Snapshot Volumes (dbed_vmclonedb) . . . . . . . . . . . . . . . . 222
Mounting the Snapshot Volumes and Backing Up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Restoring from Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Cloning a Database (dbed_vmclonedb) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Using Database FlashSnap to Clone a Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Shutting Down the Clone Database and Unmounting File Systems . . . . . . . . . . . . . . . . 232