HP StorageWorks 60 HP StorageWorks Replication Solutions Manager 4.0.1 job com - Page 74
Replicate Oracle tablespaces, mount to a host template
View all HP StorageWorks 60 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 74 highlights
20 SetOracleModeUsingRepository ($repository, TSONLINE) 21 } 22 // 23 // NOTE: Please remove the archive log file Switch, Add, and Snap commands below if this job is not backing up archive log files 24 // 25 // Force a log switch to get the most current archive logs. 26 SwitchOracleArchiveLogFilesUsingRepository ( $repository ) onerror pauseat E3: 27 // OPTION: Add the archive logs 28 AddOracleArchiveLogFilesToRepository($repository) onerror pauseat E3: 29 // Replicate the items in the repository. 30 SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORACLE_ARCHIVE_LOG_FILE, NOWAIT) onerror pauseat E3: 31 // 32 // Wait for user to initiate rollback. 33 Pause () 34 // 35 // Rollback. 36 E3: DeleteStorageVolumesUsingRepository ($repository, REPLICATED) onerror pauseat E3: 37 // 38 // Delete the repository. 39 E2: DeleteOracleRepository ($repository) onerror pauseat E2: 40 // 41 Exit (SUCCESS) 42 // 43 // Failure exit - no rollback needed. 44 E1: Exit (FAILURE) Replicate Oracle tablespaces, 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. Replicate the tablespace(s). D. Put the database back into normal operating mode. E. Mount the host volume(s) on a host. F. Pause. G. Delete the mounted host volume(s). H. Delete the storage volume(s). I. Delete the repository. 74 Job concepts, templates and commands