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, ORA-
CLE_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 SetMountPointsPre
fi
xInRepository ($repository, %pre
fi
x%) 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
Содержание 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Страница 16: ...Tables 1 Document conventions 18 16 ...
Страница 20: ...20 About this guide ...
Страница 56: ...56 Replication Solutions Manager ...
Страница 160: ...160 Host volumes ...
Страница 384: ...384 Managed sets ...
Страница 402: ...402 Oracle ...
Страница 412: ...412 Storage systems ...
Страница 444: ...444 Virtual disks ...
Страница 456: ...456 CLUI ...