Replicate Oracle Tablespaces Via Preallocatted Replication, Mount To A Host (Template) - HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual

Hp storageworks replication solutions manager 4.0.1 user guide (t3680-96308, june 2008)
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

28
// OPTION: Add the archive logs
29
AddOracleArchiveLogFilesToRepository($repository) onerror pauseat E3:
30
// Replicate the items in the repository.
SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORA-
31
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
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

Advertisement

Table of Contents
loading

Table of Contents