Replicate Oracle Tablespaces, Mount To A Host (Template) - HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual

Job command reference
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

20
SetOracleModeUsingRepository ($repository, TSONLINE)
21
}
22
//
// NOTE: Please remove the archive log file Switch, Add, and Snap commands below if this job is not
23
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.
SnapshotOracleUsingRepository ($repository, FULLY_ALLOCATED, SAME, ORA-
30
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.
74
Job concepts, templates and commands

Advertisement

Table of Contents
loading

Table of Contents