Hp 3PAR Application Software Suite for Oracle License Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Počítačové příslušenství Hp 3PAR Application Software Suite for Oracle License. HP 3PAR Application Software Suite for Oracle Licenses User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
HP 3PAR Recovery Manager 4.3.0 Software
for Oracle
User Guide
Abstract
This document provides the information needed to install, configure, and use the HP 3PAR Recovery Manager 4.3.0 Software
for Oracle on Solaris, Red Hat Linux, Oracle Linux, and HP UX. This document is for system administrators and database
administrators who are responsible for backing up databases and who understand Sun™ Solaris™ and/or Linux and/or HP
UX, and are familiar with the Oracle10g™ and Oracle11g™ Databases.
HP Part Number: QL226-96659
Published: November 2012
Zobrazit stránku 0
1 2 3 4 5 6 ... 198 199

Shrnutí obsahu

Strany 1 - User Guide

HP 3PAR Recovery Manager 4.3.0 Softwarefor OracleUser GuideAbstractThis document provides the information needed to install, configure, and use the HP

Strany 2

Oracle is configured to perform backup to tape, Recovery Manager for Oracle interacts withOracle RMAN, which in turn interacts with NBU to trigger the

Strany 3 - Contents

6 Using the Recovery Manager Rollback UtilityRecovery Manager for Oracle provides a way to rollback a database to a point-in-time image bypromoting a

Strany 4 - 4 Contents

7. From the backup server, perform a rollback of the database virtual volumes using a databaseread-only Virtual Copy.Example:# rmora_rollback -s TEST9

Strany 5 - Contents 5

NOTE: Use with the -f option if the database virtual volumes are in Remote Copy groups.Also, perform step 8 through step 11 to startup the clone datab

Strany 6 - 6 Contents

7 Using Remote Copy with Recovery ManagerOverviewHP 3PAR Remote Copy Software helps you safeguard against disasters by copying (syncing) virtualvolume

Strany 7 - Virtual Copies

On the backup server:• Run /opt/3PAR/RMOra/bin/rmoragui to start the Recovery Manager for Oracle GraphicalUser Interface (GUI).or• Run /opt/3PAR/RMOra

Strany 8 - Interacting with Oracle

Figure 4 Asynchronous Periodic Remote Copy ConfigurationA Remote Copy configuration can also be configured as a Synchronous Long Distance configuratio

Strany 9

Figure 5 Synchronous Long Distance Remote Copy ConfigurationCreating Virtual CopiesTo create Virtual Copies, use the rmora_sync command or the Recover

Strany 10

8 Support and Other ResourcesContacting HPFor worldwide technical support information, see the HP support website:http://www.hp.com/supportBefore cont

Strany 11

See:For information about:HP 3PAR Secure Service Custodian Configuration UtilityReferenceConfiguring the Secure Service Custodian server in order tomo

Strany 12

See:For information about:Planning for HP 3PAR storage system setupHardware specifications, installation considerations, power requirements, networkin

Strany 13

Once created, the Virtual Copy can be mounted on the backup server for off-host processingpurposes such as backup and database cloning.A database Virt

Strany 14 - The Database Cloning Utility

Typographic conventionsTable 1 Document conventionsElementConventionBold text• Keys that you press• Text you typed into a GUI element, such as a text

Strany 15

9 Documentation feedbackHP is committed to providing documentation that meets your needs. To help us improve thedocumentation, send any errors, sugges

Strany 16 - Virtual Copy Policy

A Case Study: Remote Copy with Recovery Manager forOracleIntroductionHP 3PAR Recover Manager Software for Oracle provides a utility, rmora_rsync, whic

Strany 17 - The Database Rollback Utility

oracleasm-support-2.1.4-1.el5oracleasmlib-2.0.4-1.el5The database ASM11GR2 uses SPFILE, which is located on one of the ASM disk groups.$cat initASM11G

Strany 18 - Immediate Backup

2. Create Remote Copy groups on the local storage system S256:# creatercopygroup linux_asm11gr2_data S347:sync S336:periodic# creatercopygroup linux_a

Strany 19 - Automatic Backup

Checking database status ...Discovering database devices ...Retrieving database Remote Copy group(s) ...Archiving online redo logs ...Putting the data

Strany 20

1. Failover to the synchronous storage system S347.If the Remote Copy groups have not been stopped, stop the groups on S256 by issuing thefollowing:#

Strany 21

Name Target Status Role Mode Optionslinux_asm11gr2_arch.r256 S256 Stopped Secondary SyncLocalVV

Strany 22

a. From the remote synchronous system S347, issue the following commands to failover thedatabase ASM11GR21 related Remote Copy groups to S347:# setrco

Strany 23 - Converting Virtual Volumes

c. After failover, any LUNs associated with volumes on storage system S347 will becomewritable by the connected host panther. If VLUNs have not yet be

Strany 24 - Preinstallation Requirements

The Virtual Copy Display UtilityThe Virtual Copy utility (rmora_display) of HP 3PAR Recovery Manager Software for Oracledisplays database Virtual Copi

Strany 25

2. Recover the Remote Copy groups from the synchronous storage system S347.• The recover operation initiates reverse replication and synchronizes the

Strany 26 - Installation

On S347:Name Target Status Role Mode Optionslinux_asm11gr2_arch.r256 S256 Started Primary-Rev SyncLocalVV

Strany 27 - Verifying Installation

From this output, note that the Status and Role of the three Remote Copy groups withtarget S356 are Started and Primary-Rev, respectively.On S256:Name

Strany 28

3. Restore the Remote Copy groups from the synchronous storage system S347.• The restore operation restores the replication for the Remote Copy groups

Strany 29

On S347:Name Target Status Role Mode Optionslinux_asm11gr2_arch.r256 S256 Started Secondary SyncLocalVV

Strany 30

In the output above, note that the Status and Role of the three Remote Copy groupson S347 are Started and Secondary, respectively.On S256:Name

Strany 31

4. Recover the RAC database ASM11GR2.Assume the Oracle binary is available and CRS is up. Mount all necessary file systems if thefile systems are used

Strany 32 - SSH Restrictions

The best recovery option is recovering from the asynchronous periodic backup system S336. Torecover, perform the following sequence of actions:• Perfo

Strany 33

1. Failover to the asynchronous periodic backup system S336.If the Remote Copy groups have not been stopped, stop the groups on S256 by issuing thefol

Strany 34

Name Target Status Role Mode Optionslinux_asm11gr2_arch.r256 S256 Stopped Primary-Rev Periodic over_per_al

Strany 35

• If the database files reside on ASM disk groups, it is dependent on which ASM databaseversion is installed on the backup server, different restricti

Strany 36

2. Clone the database on the remote backup server using the desired Virtual Copy.a. Mount the Virtual Copy; in this example, Virtual Copy 060311173319

Strany 37

3. Back up the binary control file from the cloned database and prepare to rollback the VirtualCopy.a. Issue the RMAN command to backup the control fi

Strany 38

4. Rollback the read-write Virtual Copy to the base volumes from the remote system S336. Promotethe read-write Virtual Copy to its base volume by issu

Strany 39

5. Recover the Remote Copy groups from the asynchronous periodic backup system S336 to thelocal system S256.The recover operation initiates reverse re

Strany 40

On S336Name Target Status Role Mode Optionslinux_asm11gr2_arch.r256 S256 Started Primary-Rev Periodic Last-Sync 20

Strany 41

From this output, note that the role of the Remote Copy groups from S336 arePrimary-Rev.S256:Name Target Status Role Mod

Strany 42

6. Restore the Remote Copy groups from the asynchronous periodic system S336.The restore operation restores the replication for the remote copy groups

Strany 43

From this output, note that the Status and Role of the Remote Copy groups on S336are Started and Secondary, respectively.S256:Name Targ

Strany 44

7. Bring up the primary database from the database server.a. Bring up the +ASM1 instance from the node dl160g6-13, mount all diskgroups, andcreate a n

Strany 45

[vcdba@dl160g6-13 ~]$ sqlplus '/as sysdba'SQL*Plus: Release 11.2.0.1.0 Production on Thu Jun 9 21:59:32 2011Copyright (c) 1982, 2009, Oracle

Strany 46

Unmounting a database Virtual Copy involves the following actions:• For an ASM-managed database, if the ASM database on the backup server has a versio

Strany 47

B TroubleshootingThis appendix provides Recovery Manager for Oracle error messages, their explanations, andappropriate actions.MESSAGE ID1003SYMBOLIC

Strany 48

3PAR1007: ERROR: Cannot determine archive log mode for database <name>.REASONFailed to retrieve the archive log mode for the specified database.

Strany 49 - Configuration

MESSAGE ID1012SYMBOLIC NAMERMO_ERROR_MULTIPLE_PARTITIONMESSAGE3PAR1012: ERROR: Disk <disk ID> has multiple partitions.REASONIn Linux, the specif

Strany 50

REASONFailed to retrieve the hostname defined in the HP 3PAR StoreServ Storage system for the backupsystem.SOLUTIONExecute InForm CLI command showhost

Strany 51

3PAR1021: ERROR: Backup tag not specified.REASONUsing RMAN to backup the Virtual Copy to media with NetBackup, Recovery Manager for Oraclecould not fi

Strany 52

RMO_ERROR_UNSUPPORTED_FILETYPEMESSAGE3PAR1031: ERROR: <file name> is neither a regular file, directory, block nor character device.REASONWhen di

Strany 53

MESSAGE ID1048SYMBOLIC NAMERMO_ERROR_ARCHDEST_ERRORMESSAGE3PAR1048: ERROR: One or more archivelog destinations have error status.REASONWhen trying to

Strany 54 - Recovery Manager Commands

Change to use a different host as the alternate host.MESSAGE ID1054SYMBOLIC NAMERMO_ERROR_INVALID_ARGUMENTMESSAGE3PAR1054: ERROR: Invalid argument.REA

Strany 55 - Recovery Manager Commands 55

MESSAGE3PAR1061: ERROR: Could not find file system for file <file name>.REASONThe specified file or directory is a regular file or qio file, but

Strany 56

MESSAGE ID1066SYMBOLIC NAMERMO_ERROR_SHARED_ASMDGMESSAGE3PAR1066: ERROR: Archive logs and datafiles are on the same ASM disk group.REASONRecover Manag

Strany 57 - Recovery Manager Commands 57

When using an ascii control file:• The structure of the clone database is not required to be exactly the same as the structure ofthe original database

Strany 58 - DESCRIPTION

During configuration, the retention or expiration value provided exceeds the maximum systemallowed value, which is in the range of 1 to 43800 hours (1

Strany 59 - Recovery Manager Commands 59

3PAR1080: ERROR: Failed to retrieve the retention/expiration time for Virtual Copy <name>.REASONFailed to retrieve the retention and/or expirati

Strany 60

MESSAGE ID1097SYMBOLIC NAMERMO_ERROR_SNAPDEV_NOTFOUNDMESSAGE3PAR1097: ERROR: Could not find Virtual Copy device for <Virtual Copy name>.REASONTh

Strany 61 - Recovery Manager Commands 61

MESSAGE ID1101SYMBOLIC NAMERMO_ERROR_REMOVE_ORAASMDISKMESSAGE3PAR1101: ERROR: Could not delete oracleasm disk <disk ID>.REASONFailed to use the

Strany 62

MESSAGE3PAR1104: ERROR: The number of Virtual Copies has exceeded the maximum of <value>.REASONThe maximum number of Virtual Copies specified in

Strany 63

Check if device is valid. Ignore the error message for non-3PAR devices. Check log files for moreinformation. Contact customer support for further inv

Strany 64

Try the operation at a later time. If you are certain that there are no similar operations going on,remove the lock file specified on the screen as it

Strany 65 - Recovery Manager Commands 65

SYMBOLIC NAMERMO_ERROR_RETRIEVE_LDVVMESSAGE3PAR1116: ERROR: Could not retrieve logical disks for volume <name>.REASONThe InForm CLI command show

Strany 66

MESSAGE ID1128SYMBOLIC NAMERMO_ERROR_RETRIEVE_CTRLFILEMESSAGE3PAR1128: ERROR: Could not retrieve location of the control files from <database name&

Strany 67 - Recovery Manager Commands 67

REASONBefore using the rmore_rsync command, all of the volumes within the Remote Copy groups thatare used by the Oracle database should be in Synced s

Strany 68

Integration with HP 3PAR Virtual Lock SoftwareHP 3PAR Virtual Lock Software allows administrators to apply a configurable retention period tovirtual v

Strany 69 - EXAMPLES

MESSAGE ID1135SYMBOLIC NAMERMO_ERROR_CONFIG_PARAM_NOTFOUNDMESSAGE3PAR1135: ERROR: Parameter <value not found from the configuration file.REASONAn e

Strany 70

Contact customer support for further investigation.MESSAGE ID1139SYMBOLIC NAMERMO_ERROR_ORA_VERSIONMESSAGE3PAR1139: ERROR: Could not determine Oracle

Strany 71 - Recovery Manager Commands 71

When running rmora_createdb to clone the database on the backup server using the binarycontrol file, and if the original datafiles/archive log destina

Strany 72

RMO_ERROR_VC_NOTMOUNTED_AT_ROOTMESSAGE3PAR1145: ERROR: The Virtual Copy <Virtual Copy name> is not currently mounted at <location>.REASONT

Strany 73 - Recovery Manager Commands 73

MESSAGE ID1149SYMBOLIC NAMERMO_ERROR_RESTOREMESSAGE3PAR1149: ERROR: Could not restore backup to host <name>.REASONThe operation rmora_restore fa

Strany 74

When Recovery Manager for Oracle tries to execute the command createvlun, it has to makesure there is no other identical operation going on to take th

Strany 75

Make sure the HP 3PAR StoreServ Storage system is working properly. Retry the operation. If thesame error persists, contact customer support for furth

Strany 76

MESSAGE ID1164SYMBOLIC NAMERMO_ERROR_SET_RETENTEXPMESSAGE3PAR1164: ERROR: Could not set retention/expiration for Virtual Copy <Virtual Copy name>

Strany 77 - Recovery Manager Commands 77

3PAR1168: ERROR: One or more Virtual Copy's repository exist.REASONTrying to execute rmora_rmrep to remove the backup repository for a database c

Strany 78

RMO_ERROR_SET_PROTECTION_MODEMESSAGE3PAR1173: ERROR: Could not set the database protection mode to maximum performance.REASONAfter using the binary co

Strany 79 - SYNOPSIS

For a time-based policy example, if the expiration time is one month (specified in the configurationfile), then the Virtual Copy that reaches the expi

Strany 80

SOLUTIONCheck the alert log and Recovery Manager for Oracle log file for more details. Manually querythe cloned the database to see if there are any p

Strany 81 - Recovery Manager Commands 81

SYMBOLIC NAMERMO_ERROR_PHYSDEV_NOTFOUNDMESSAGE3PAR1182: ERROR: Could not find device '%s'.REASONFailed to retrieve the OS device used by the

Strany 82

SOLUTIONCheck the log file for more details. Contact customer support for further investigation.MESSAGE ID1192SYMBOLIC NAMERMO_ERROR_DB_NOTIN_STANDBYM

Strany 83 - Recovery Manager Commands 83

SOLUTIONMake sure that the –d <loc> argument entered under rmora_createdb is entered and enclosedwithin double quotes (“), and make sure that th

Strany 84

SYMBOLIC NAMERMO_ERROR_ARCHLOG_GAPMESSAGE3PAR1208 ERROR: Archive log gap exists between the primary and standby database.REASONRecovery Manager for Or

Strany 85 - Description

MESSAGE ID1216SYMBOLIC NAMERMO_ERROR_SETVVMESSAGE3PAR1216: ERROR: Could not set retention time <time> for Virtual Copy <Virtual Copy name>

Strany 86

SOLUTIONTry to upgrade the InForm OS, or do not use this feature.MESSAGE ID1220SYMBOLIC NAMERMO_ERROR_INVALID_RETENTEXPMESSAGE3PAR1220: ERROR: Invalid

Strany 87

3PAR1224: ERROR: Oracle ASMLib has not been installed.REASONIn Linux, the required file /etc/sysconfig/oracleasm or/etc/sysconfig/Oracleasm-_dev_oracl

Strany 88 - Interface

SOLUTIONMake sure the TPDSYSNAME and TPDUSERNAME have correct values in the configuration file.Make sure the volumes were not removed, which can cause

Strany 89 - Creating a Virtual Copy

MESSAGE ID1231SYMBOLIC NAMERMO_ERROR_RETRIEVE_VVMESSAGE3PAR1231: ERROR: Could not retrieve virtual volume information from the HP 3PAR StoreServStorag

Strany 90

• Datafile backup - A backup of datafiles only.• Archive log backup - A backup of archive logs only.Recovery Manager for Oracle can be configured to p

Strany 91

SOLUTIONCheck the log file for more information. Make sure the OS is a valid supported version and thatthe OS is functioning correctly. Contact custom

Strany 92

SYMBOLIC NAMERMO_ERROR_SHUTDOWN_ASMMESSAGE3PAR1238: ERROR: Could not shutdown ASM instance on host <host name>.REASONCould not shutdown the ASM

Strany 93 - Unmounting a Virtual Copy

MESSAGE ID1242SYMBOLIC NAMERMO_ERROR_RETRIEVE_ASMDISKMESSAGE3PAR1242: ERROR: Could not retrieve ASM disks for database '%s'.REASONFailed to

Strany 94 - Backing up a Virtual Copy

If during database cloning time, check the saved init.ora file to see if there are any unusualcharacters or wrong syntax. Make sure the primary databa

Strany 95 - Cloning a Database

Make sure the archive log destinations are in valid state and have enough space. Make sure theprimary database is running normally.MESSAGE ID1250SYMBO

Strany 96 - Removing a Cloned Database

REASONFailed to remount the specified file system.SOLUTIONMake sure the OS is in valid state on the database server. Manually remount the file system.

Strany 97 - Backing Up a Database

MESSAGE3PAR1258: ERROR: Could not startup all VxVM volumes in disk group <name>.REASONUsing the command vxvol -g dgname to start up all VxVM vol

Strany 98 - Viewing Online Help

SYMBOLIC NAMERMO_ERROR_DROP_ASMDGMESSAGE3PAR1262: ERROR: Could not drop one or more ASM snapshot disk groups.REASONThe SQL command to drop one or more

Strany 99 - Standby Databases

MESSAGE ID1266SYMBOLIC NAMERMO_ERROR_BACKUP_NOT_CONFIGUREMESSAGE3PAR1266: ERROR: Recovery Manager has not been configured for backup/restore.REASONThe

Strany 100 - # umount /oradata

The operation to use Oracle RMAN and a NetBackup policy with Oracle type to backup a databasefailed.SOLUTIONCheck NetBackup log files and the Recovery

Strany 101

For Oracle RMAN backup, Recovery Manager for Oracle:• Starts up a clone database in mounted mode using the mounted Virtual Copy on the backupserver, a

Strany 102

MESSAGE ID1273SYMBOLIC NAMERMO_ERROR_RETRIEVE_DBNAMEMESSAGE3PAR1273: ERROR: Could not retrieve the current database name.REASONDuring rmora_restore, R

Strany 103 - Overview

SYMBOLIC NAMERMO_ERROR_ARCHLOG_RESTOREMESSAGE3PAR1276: ERROR: Archive logs will be restored automatically during media recovery usingOracle RMAN.REASO

Strany 104 - How Remote Copy Works

MESSAGE3PAR1279: ERROR: The host <host name> is neither the backup server or the original host.Use '-H' option to specify the Oracle H

Strany 105 - How Remote Copy Works 105

Make sure TPDSYSNAME and TPDUSERNAME to access the specified HP 3PAR StoreServ Storagesystem are correct. Make sure the Remote Copy and Remote copy gr

Strany 106 - Creating Virtual Copies

3PAR1304: ERROR: Control file ASM disk group <name> not found.REASONDuring rmora_createdb process, the error occurs when:• A non-default clone l

Strany 107 - 8 Support and Other Resources

Make sure that the alternate backup server is connected to the HP 3PAR StoreServ Storage systemand is set up correctly, so that a showhostcommand on t

Strany 108

MESSAGE ID1315MESSAGE3PAR1315: ERROR: Could not import volume group <group>.REASONThe LVM vgimport command, which is used to import the snapshot

Strany 109

See the preceding error message to determine the cause of failure.MESSAGE ID1320MESSAGE3PAR1320: ERROR: Could not remove LVM volume group <group>

Strany 110 - HP 3PAR branding information

IndexAarchive log backupconfiguring NBU policy, 40automatic backup, 19Bbackup server to HP 3PAR StoreServ Storage system SSHconnection, 36backup to NB

Strany 111 - 9 Documentation feedback

removing Virtual Copy repositories, 79requirementsstandby databases, 9restrictions with SSH, 32RMAN recovery catalog creation, 42rmora_create, 63rmora

Strany 112 - Introduction

© Copyright 2012 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license from HP required for possession, use or copyin

Strany 113 - Configuration Diagram

NOTE: The backup scripts (rmora_nbu_dbbackup.sh and rmora_nbu_archbackup.sh)and the RMAN backup scripts (rmora_rman_dbbackup.sh andrmora_rman_archback

Strany 114

For an NBU (user-managed) restoration:• Control files are not restored by default.• For an online Virtual Copy, both datafiles and archive logs are re

Strany 115 - Unavailable

The following configuration requirements must be met:• The HP 3PAR StoreServ Storage system must be running HP 3PAR OS 2.3.1 or higher.• The backup se

Strany 116

Recovery Manager for Oracle and Fat-to-Thin and Thin-to-FatTo improve the existing RMO setup environment, an unlimited bidirectional conversion of vol

Strany 117

2 Installing and Uninstalling Recovery ManagerThis chapter describes how to install, verify, and remove HP 3PAR Recovery Manager Softwarefor Oracle on

Strany 118 - Primary-Rev

◦ If you install the NetBackup for Oracle client, you must link the Oracle libok.so libraryon the database and backup servers to point to the Symantec

Strany 119

If you are not using the backup server as the NetBackup master server, be sure to install RecoveryManager for Oracle on the NetBackup master server.In

Strany 120

5. After the installation is complete on all the required servers, you can allow Oracle users andDatabase Administrators group access to the Recovery

Strany 121

If you are not using the backup server as the NetBackup master server, be sure to install RecoveryManager for Oracle on the NetBackup master server.In

Strany 122

1. Log on as the root user.2. Insert the HP 3PAR Recovery Manager CD into a CD-ROM drive.If the CD is not mounted automatically, you will need to moun

Strany 123

Contents1 Overview of Recovery Manager Operations...7Virtual Copies...

Strany 124

4. Enter ./rmora_install.sh.The prompts and output from running rmora_install.sh are similar to those when runningrmora_install.sh on Linux. If necess

Strany 125

3 Configuring Recovery Manager for OracleRecovery Manager for Oracle requires that an SSH connection be configured for the backup server,the database

Strany 126

Figure 2 SSH Connection Relationship for Remote Copy SupportSSH RestrictionsRecovery Manager for Oracle has the following SSH restrictions:• The ssh a

Strany 127

3. If you are using HP UX, verify that the SSH daemon has strict mode disabled:a. Check the sshd_config file for the following line:StrictModes nob. I

Strany 128

Setting Up Connections from the Backup Server to the Database ServerTo set up an SSH connection from the backup server to the database server, perform

Strany 129

NOTE: If you are prompted for a password, the setup is incorrect and you must redo the previoussetup.<backup_server># ssh <user>@<NBU_m

Strany 130

4. Copy the public key of the backup server to the HP 3PAR StoreServ Storage system. You canfind the public key in the location specified when generat

Strany 131

Setting Connections from the Database Server to the HP 3PAR Storage SystemSkip this step if the database server has the same SSH key pair as the SSH k

Strany 132

4. Copy the public key of the database server to the HP 3PAR StoreServ Storage system.<db_server># ssh <username>@<ss_name><usern

Strany 133

Setting up National Language Host SupportThe Recovery Manager for Oracle message catalog and the symbolic link are installed in thefollowing locations

Strany 134

3 Configuring Recovery Manager for Oracle...31Setting Up SSH Connections for Recovery Manager...

Strany 135 - Secondary-Rev

NOTE: This section assumes that you are familiar with the Oracle Database and SymantecNetBackup (NBU). For more information on creating a NetBackup po

Strany 136

be set to at least 600 seconds (10 minutes) to allow enough time for Recovery Manager to performall necessary operations prior to the actual backup.Fo

Strany 137

For Recovery Manager for Oracle to perform backup and restoration correctly, you must use thefollowing guidelines in conjunction with Symantec NetBack

Strany 138

1. Create a database for housing the Recovery Catalog. Oracle suggests the following diskspace requirements:• System tablespace: 100 MB• Temp tablespa

Strany 139

6. Configure the Oracle listener for the Recovery Catalog database by adding an entry in the$ORACLE_HOME/network/admin/listener.ora file on the host w

Strany 140 - B Troubleshooting

2. When prompted, press ENTER.• ORACLE_SID of the database instance [h=help,q=quit]?Enter ORACLE_SID of the database instance that you want to configu

Strany 141 - MESSAGE ID

• HP 3PAR Storage system user name for the database server[h=help,q=quit]?Recovery Manager for Oracle requires that a HP 3PAR OS Software user must ha

Strany 142

reached, Recovery Manager for Oracle removes the oldest Virtual Copy before creating anew one.The default maximum number is 500 read-only Virtual Copi

Strany 143

• NetBackup full schedule name for policy 'your policyname'[h=help,s=skip,q=quit]?You will only be prompted with this question if you previo

Strany 144

4. In the Recovery Manager Policy wizard screen, set either a numeric or time-based policy. ClickNext.5. In the Vendor Backup Product Properties wizar

Strany 145

5 Using the Recovery Manager for Oracle Graphical User Interface...88Starting and Stopping the Recovery Manager for Oracle GUI...

Strany 146

3. When prompted, answer the following questions:• ORACLE_SID of the database instance [h=help,q=quit]?Enter ORACLE_SID of the database instance that

Strany 147

• Primary/Local storage system user name [h=help,q=quit]?Recovery Manager for Oracle requires that a HP 3PAR Operating System Software user musthave b

Strany 148

NOTE: If the database volumes do not belong to any domain, then the retention time of theread-only Virtual Copy cannot exceed the VVRetentionTimeMax v

Strany 149

7. Click Finish.If Recovery Manager for Oracle successfully connects to the database, it retrieves the databasetablespaces, datafiles, the archive log

Strany 150

4 Using the Recovery Manager Command Line InterfaceThis chapter describes the Recovery Manager for Oracle command line utilities.NOTE: The command lin

Strany 151

The following list describes the restrictions and automated scripts that are generated whenconfiguring Recovery Manager. The automated scripts will be

Strany 152

server is separate from the Recovery Manager for Oracle backup server, the Oracle DatabaseAdministrator user and group must exist on the NetBackup mas

Strany 153

differential incremental or cumulative incremental backup, which is predefined in the NBU schedule.If Oracle RMAN is selected as the backup method, th

Strany 154

rmora_checkconfigSYNTAXrmora_checkconfig -s <oracle_sid> -p <db_server> [-oall|skipdatabase|databaseonly] [-v]DESCRIPTIONThe rmora_checkco

Strany 155

changes the permissions and owners of the necessary files and directories in order to enable anOracle binary owner to operate Recovery Manager for Ora

Strany 156

9 Documentation feedback...111A Case Study: Remote Copy with Recovery Manager fo

Strany 157

rmora_configSYNTAXrmora_config [-s <oracle_sid> -p <db_server>]DESCRIPTIONThe rmora_config command creates or modifies the Recovery Manage

Strany 158

the current time, that the volume will be retained. To specify a retention time, specify a valuebetween 1 to 43,800 hours (1825 days).Retention time c

Strany 159

• RMAN_BACKUP_DEST - The backup destination to store RMAN backup image. This option isonly required if the specified RMAN channel type is DISK.• RMVC_

Strany 160

rmora_createSYNTAXrmora_create -s <oracle_sid> -p <db_server> [ -oonline|offline|datafile|archlog] [ -r <retention_time>{d|D|h|H} -f

Strany 161

will be then taken out of backup mode. An archive log switch will be performed before VirtualCopies of archive log virtual volumes are created.• If th

Strany 162

-s <oracle_sid>The Oracle SID of the database instance. For Real Application Cluster (RAC) database, an OracleSID of any RAC instance can be spe

Strany 163

rmora_createdbSYNTAXrmora_createdb -s <oracle_sid> -p <db_server> -t <timestamp>[-n<clone_sid>] [-h <clone_ora_home>][-o

Strany 164

-s <oracle_sid>The Oracle SID of the database instance. For Real Application Cluster (RAC) database, an OracleSID of any RAC instance can be spe

Strany 165

rmora_displaySYNTAXrmora_display -s <oracle_sid> -p <db_server> [-t <timestamp>] [-r]DESCRIPTIONThe rmora_display command displays d

Strany 166

EXAMPLES• rmora_display -s TEST920 -p pilot. # Name Create Time Type Status Backup?============ ======================== =

Strany 167

1 Overview of Recovery Manager OperationsRecovery Manager for Oracle offers a specific data protection solution that has been enhancedto provide rapid

Strany 168

rmora_exportSYNTAXrmora_export -s <oracle_sid> -p <db_server> -t <timestamp> -r<alt_backup_server> -e <alt_tpdusername>

Strany 169

Software CLI createuser command. The created user must be assigned the edit role (privilege)or 3PAR_RM role.-vRuns the command in verbose mode.Recover

Strany 170

rmora_mountSYNTAXrmora_mount -s <oracle_sid> -p <db_server> -t <timestamp> [-m<mountpoint>] [-r] [-v]DESCRIPTIONThe rmora_moun

Strany 171

• Imports snapshot LVM volume groups and activates all corresponding LVM snapshot volumesif the database files reside on LVM volumes.• For Virtual Cop

Strany 172

rmora_removeSYNTAXrmora_remove -s <oracle_sid> -p <db_server> -t <timestamp> [-v]DESCRIPTIONThe rmora_remove command removes a datab

Strany 173

rmora_removedbSYNTAXrmora_removedb -s <oracle_sid> -p <db_server> -t <timestamp> [-n<clone_sid>] [-h <clone_ora_home>] [

Strany 174

rmora_restoreSYNTAXrmora_restore -s <oracle_sid> -p <db_server> [-t <timestamp>] [-T<tablespaces>] [-D <dbf1,dbf2,...>]

Strany 175

image cannot be seen from the Recovery Catalog from the primary (production) database.To restore, the following steps must be performed manually:◦ The

Strany 176

-t <timestamp>The timestamp of a Virtual Copy whose backup image is used for restoration. Use thermora_display command to retrieve a list of the

Strany 177

rmora_rmrepSYNOPSISrmora_rmrep -s <oracle_sid> -p <db_server> [-t <timestamp>] [-f] [-v]DESCRIPTIONThe rmora_rmrep command removes a

Strany 178

where:• <db_server> is the host name of the database server.• <oracle_sid> is the Oracle SID of the database instance.The following exampl

Strany 179

rmora_rollbackSYNOPSISrmora_rollback -s <oracle_sid> -p <db_server> -t <timestamp> [-odata|arch] [-v] [-w] [-f]DESCRIPTIONThe rmora_

Strany 180

-t <timestamp>The timestamp of a Virtual Copy from which to promote. The Virtual Copy name can be obtainedusing the rmora_display command.-o [da

Strany 181

rmora_rsyncSYNTAXrmora_rsync -s <oracle_sid> -p <db_server> [-l <local_backup_server>][ -o online|offline|validate] [ -r <retenti

Strany 182

To use the rmora_rsync command, the following requirements must be satisfied:• Each database instance must be started up using either a parameter file

Strany 183

-o onlineCreate an online database Virtual Copy in Remote Copy or Synchronous Long Distanceconfiguration. The specified database instance must be onli

Strany 184

rmora_setSYNTAXrmora_set -s <oracle_sid> -p <db_server> -t <timestamp> [-r <time>d|D|h|H] [-f] [-e <time> d|D|h|H>] [

Strany 185

• The retention time set during configuration time serves as the default value all Virtual Copiescreated thereafter.• The retention time can be specif

Strany 186

rmora_umountSYNTAXrmora_umount -s <oracle_sid> -p <db_server> -t <timestamp> [-f] [-v]DESCRIPTIONThe rmora_umount command unmounts a

Strany 187

5 Using the Recovery Manager for Oracle Graphical UserInterfaceThe following section describes how to use the GUI to perform specific operations relat

Strany 188

4. Press ENTER.NOTE: It is a known issue that the mouse events are not captured correctly on the cygwinx-server for Java6.Stopping the GUITo stop the

Strany 189

To ensure that the database is running in automatic archive log mode, use SQL*Plus utility to ensurethe Database log mode is Archive Mode and that Aut

Strany 190

3. Select the desired options from the Backup Method group box.• Online (Hot) backup - The involved database instance must be open for this operation.

Strany 191

NOTE: You can configure the Virtual Copy policy by using either a time or numeric-based policy.HP recommends using a time-based policy instead of a nu

Strany 192

6. (Optional) Select Default retention time and enter a numeric value from 1 to 1,825 (Days) or1 to 43,800 (Hours) in the adjacent field to set the nu

Strany 193

Mounting a Virtual CopyAfter a Virtual Copy is created, it can be mounted on the backup server where the RecoveryManager for Oracle GUI is running.To

Strany 194

Viewing Rollback StatusIt make take several minutes to rollback a Virtual Copy depending on its size.To view a Virtual Copy’s rollback status:1. Right

Strany 195

Restoring Archive Log, Datafiles, and TablespacesNOTE: If Symantec NetBackup (NBU) is used to back up datafiles, NBU can be used to restoredatafiles t

Strany 196

database, or to clone the database for testing, decision making, and report generating purposes.The cloning capability takes the workload out of the d

Strany 197

4. (Optional) Select Retention time and enter a numeric value from 1 to 1,825 (Days) or 1 to43,800 (Hours) in the adjacent field.5. Click Finish.After

Strany 198 - 198 Index

3. Select the Backup Type.NOTE: Incremental backup of archive log using RMAN is not supported.a. Full backup - Performs a full backup of a Virtual Cop

Strany 199

Recovery Manager for Oracle Online Help appears in a web browser.Using a Web Browser to Access Online Help and Event MessagesRecovery Manager for Orac

Komentáře k této Příručce

Žádné komentáře