HP 418800-B21 HP StorageWorks Replication Solutions Manager 4.0.1 user guide ( - Page 247
Replicate Oracle tablespaces via preallocatted replication, mount to a host, template
UPC - 882780564640
View all HP 418800-B21 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 247 highlights
28 // OPTION: Add the archive logs 29 AddOracleArchiveLogFilesToRepository($repository) onerror pauseat E3: 30 // Replicate the items in the repository. 31 SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORACLE_ARCHIVE_LOG_FILE, NOWAIT) onerror pauseat E3: 32 // 33 // Mount the replicated volume(s) on a host. 34 CreateHostVolumesUsingRepository ($repository, $mount_host) onerror pauseat E3: 35 SetMountPointsPrefixInRepository ($repository, %prefix%) onerror pauseat E4: 36 $MountedHVs = MountHostVolumesUsingRepository ($repository, REPLICATED) onerror pauseat E4: 37 // 38 // Wait for user to initiate rollback. 39 Pause () 40 // 41 // Rollback. 42 E5: UnmountHostVolumesUsingRepository ($repository, REPLICATED) 43 E4: DeleteHostVolumesUsingRepository ($repository, REPLICATED) onerror pauseat E4: 44 E3: DeleteStorageVolumesUsingRepository ($repository, REPLICATED) onerror pauseat E3: 45 // 46 // Delete the repository. 47 E2: DeleteOracleRepository ($repository) onerror pauseat E2: 48 // 49 Exit (SUCCESS) 50 // 51 // Failure exit - no rollback needed. 52 E1: Exit (FAILURE) Replicate Oracle tablespaces via preallocatted replication, mount to a host (template) Template summary A. Create a repository that contains the desired database components. B. Quiesce the Oracle database by putting it in 'hot backup' mode. C. Flush the cache on the storage volumes used by the host volumes. D. Replicate the tablespace(s) into containers. E. Restore the writeback cache on the storage volumes. F. Put the database back into normal operating mode. G. Mount the host volume(s) on a host. H. Pause. I. Delete the mounted host volume(s). J. Convert the storage volumes back into empty containers. HP StorageWorks Replication Solutions Manager 4.0.1 247