![HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual Download Page 245](http://html.mh-extra.com/html/hp/418800-b21-storageworks-modular-smart-array-70-storage-enclosure/418800-b21-storageworks-modular-smart-array-70-storage-enclosure_user-manual_155409245.webp)
20 SetOracleModeUsingRepository ($repository, TSONLINE)
21 }
22 //
23 // NOTE: Please remove the archive log
fi
le Switch, Add, and Snap commands below if this job is not
backing up archive log
fi
les
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, ORA-
CLE_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.
HP StorageWorks Replication Solutions Manager 4.0.1
245
Summary of Contents for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Page 16: ...Tables 1 Document conventions 18 16 ...
Page 20: ...20 About this guide ...
Page 56: ...56 Replication Solutions Manager ...
Page 160: ...160 Host volumes ...
Page 384: ...384 Managed sets ...
Page 402: ...402 Oracle ...
Page 412: ...412 Storage systems ...
Page 444: ...444 Virtual disks ...
Page 456: ...456 CLUI ...