Hp 3PAR Application Software Suite for Oracle Manual de usuario

Busca en linea o descarga Manual de usuario para Almacenamiento Hp 3PAR Application Software Suite for Oracle. HP 3PAR Application Software Suite for Oracle User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 215
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
HP 3PAR Recovery Manager 4.4.0 Software
for Oracle
User Guide
Abstract
This document provides the information needed to install, configure, and use the HP 3PAR Recovery Manager 4.4.0 Software
for Oracle on Solaris, Red Hat Linux, Oracle Linux, HP UX and IBM AIX. 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/or IBM™ AIX™, and are familiar with the Oracle10g™ and Oracle11g™ Databases.
HP Part Number: QL226-96907
Published: June 2013
Vista de pagina 0
1 2 3 4 5 6 ... 214 215

Indice de contenidos

Pagina 1 - User Guide

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

Pagina 2

For NBU backup and restoration, Recovery Manager for Oracle interacts directly with NBU totrigger the backup or restore process. Recovery Manager for

Pagina 3 - Contents

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

Pagina 4 - 4 Contents

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

Pagina 5 - Contents 5

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

Pagina 6 - 6 Contents

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

Pagina 7 - Virtual Copies

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

Pagina 8 - Interacting with Oracle

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

Pagina 9

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

Pagina 10

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

Pagina 11

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

Pagina 12

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

Pagina 13

The Virtual Copy Creation UtilityThe Virtual Copy creation utility (rmora_create command) of HP 3PAR Recovery ManagerSoftware for Oracle creates an on

Pagina 14

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

Pagina 15 - The Database Cloning Utility

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

Pagina 16 - The Virtual Copy Repository

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

Pagina 17 - Virtual Copy Policy

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

Pagina 18 - The Database Backup Utility

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

Pagina 19

5. On the HP 3PAR StoreServ Storage system, remove the VLUNs for the database virtual volumes.Example:cli>removevlun Oracle_data1 101 pilot6. Keep

Pagina 20 - Server-side Backup

Rollback Using a Database Read-Write Virtual CopyThe steps to rollback from a read-write Virtual Copy are the similar to rollback from a read-onlyVirt

Pagina 21

10. On the backup server, if needed, mount the file systems if the read-write virtual copy containsfile systems.Example:# mount -F vxfs /dev/vx/dsk/da

Pagina 22

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

Pagina 23

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

Pagina 24 - Converting Virtual Volumes

An archive log Virtual Copy is created while the database is OPEN and performs the followingactions:• Discovers devices (HP 3PAR virtual volumes) used

Pagina 25 - System Software User Guide

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

Pagina 26 - Preinstallation Requirements

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

Pagina 27

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

Pagina 28

See:For information about:HP 3PAR-to-3PAR Storage Peer Motion GuideMigrating data from one HP 3PAR storage system to anotherHP 3PAR Secure Service Cus

Pagina 29 - Installation

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

Pagina 30 - Verifying Installation

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

Pagina 31

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

Pagina 32

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

Pagina 33

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

Pagina 34

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

Pagina 35

The Virtual Copy Mount UtilityThe Virtual Copy mount utility of HP 3PAR Recovery Manager Software for Oracle mounts anexisting database Virtual Copy t

Pagina 36

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

Pagina 37

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:#

Pagina 38

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

Pagina 39 - SSH Restrictions

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

Pagina 40

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

Pagina 41

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

Pagina 42

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

Pagina 43

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

Pagina 44

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

Pagina 45

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

Pagina 46

instance. If no ASM instance is up on the backup server, an ASM instance is started upon the backup server, and all ASM disk groups in the Virtual Cop

Pagina 47

In the output , note that the Status and Role of the three Remote Copy groups on S347are Started and Secondary, respectively.On S256:Name

Pagina 48

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

Pagina 49

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

Pagina 50

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

Pagina 51 - ◦ Ownership:

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

Pagina 52

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

Pagina 53

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

Pagina 54

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

Pagina 55

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

Pagina 56

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

Pagina 57

• Once exported, the Virtual Copy on the alternate backup server can be mounted, unmounted,backed up, and restored.• Once the exported Virtual Copy is

Pagina 58

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

Pagina 59

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

Pagina 60

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

Pagina 61 - Configuration

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

Pagina 62

[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

Pagina 63

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

Pagina 64

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

Pagina 65

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

Pagina 66 - Recovery Manager Commands

REASONFailed to retrieve the hostname defined in the HP 3PAR StoreServ Storage system for the backupsystem.SOLUTIONAn attempt to retrieve the host def

Pagina 67 - Recovery Manager Commands 67

SYMBOLIC NAMERMO_ERROR_BKUP_TAG_NOT_SPECIFIEDMESSAGE3PAR1021: ERROR: Backup tag not specified.REASONUsing RMAN to backup the Virtual Copy to media wit

Pagina 68

The cloned database is shutdown with the shutdown immediate option. The database relatedfiles (Oracle parameter file, control files and redo logs), wh

Pagina 69 - Recovery Manager Commands 69

MESSAGE ID1031SYMBOLIC NAMERMO_ERROR_UNSUPPORTED_FILETYPEMESSAGE3PAR1031: ERROR: <file name> is neither a regular file, directory, block nor a c

Pagina 70

The HP 3PAR CLI command promotesv failed.SOLUTIONMake sure the HP 3PAR StoreServ Storage system is functioning correctly. Contact customer supportfor

Pagina 71

3PAR1050: ERROR: The alternate host <name> is the same as the backup system.REASONWhen running the rmora_export command, the alternate host cann

Pagina 72

MESSAGE ID1061SYMBOLIC NAMERMO_ERROR_FS_NOTFOUNDMESSAGE3PAR1061: ERROR: Could not find file system for file <file name>.REASONThe specified file

Pagina 73

REASONRecovery Manager requires datafiles and archive log destinations reside on different HP 3PARvolumes.SOLUTIONPut datafiles and archive log destin

Pagina 74

RMO_ERROR_MAXVC_RETENTEXPMESSAGE3PAR1071: ERROR: '%s' exceeds maximum Virtual Copy retention or expiration value.REASONDuring configuration,

Pagina 75 - Recovery Manager Commands 75

MESSAGE ID1080SYMBOLIC NAMERMO_ERROR_RETRIEVE_RETENTEXPMESSAGE3PAR1080: ERROR: Failed to retrieve the retention/expiration time for Virtual Copy <n

Pagina 76

Trying to clone a database failed because the redo log information cannot be found in the asciicontrol file.SOLUTIONCheck the original database and ma

Pagina 77 - Recovery Manager Commands 77

ORACLEASM_SCANEXCLUDE="sd"This is to direct asmlib to only scan device mapper devices (dm devices), and not to scan sd formatof devices. Thi

Pagina 78

Run rmora_config or the GUI application to modify the configuration file to set VCDBA_MAXVCto a positive number, which cannot exceed 500. Also make su

Pagina 79 - Recovery Manager Commands 79

If a Virtual Copy has been backed up, the remove repository utility command fails unless the -foption is used.Virtual Copy PolicyHP 3PAR Recovery Mana

Pagina 80

SYMBOLIC NAMERMO_ERROR_IOCTLMESSAGE3PAR1107: ERROR: Could not perform SCSI inquiry to device <device ID>.REASONThe system call ioctl failed for

Pagina 81 - Recovery Manager Commands 81

If there is no other backup process for this database running, remove the lock file <name> and tryagain.REASONSome Recovery Manager for Oracle c

Pagina 82

rmora_checkconfig is called at the end of creating or modifying a configuration file. It canalso be executed separately. If it finds any check has an

Pagina 83 - EXAMPLES

RMO_ERROR_BACKUP_IMAGE_NOTFOUNDMESSAGE3PAR1127: ERROR: There is no Virtual Copy backup image (full).REASONrmora_restore could not find a Virtual Copy

Pagina 84

Rearrange the Remote Copy groups used by the database accordingly.MESSAGE ID1131SYMBOLIC NAMERMO_ERROR_RCVV_NOTSYNCEDMESSAGE3PAR1131: ERROR: Remote Co

Pagina 85 - Recovery Manager Commands 85

REASONFailed to find next available VLUN number to create a VLUN. The HP 3PAR CLI commandcreatevlun will fail if the error is not corrected.SOLUTIONCh

Pagina 86

RMO_ERROR_INVALID_TSTMPMESSAGE3PAR1138: ERROR: Invalid timestamp format <format>.REASONFailed to receive a timestamp for next current Virtual Co

Pagina 87 - Recovery Manager Commands 87

RMO_ERROR_CREATE_VC_SYMLINKMESSAGE3PAR1142: ERROR: Could not create symbolic links for Virtual Copy <Virtual Copy name>.REASONWhen running rmora

Pagina 88

MESSAGE ID1145SYMBOLIC NAMERMO_ERROR_VC_NOTMOUNTED_AT_ROOTMESSAGE3PAR1145: ERROR: The Virtual Copy <Virtual Copy name> is not currently mounted

Pagina 89

SOLUTIONMake sure the previous rmora_mount was successful. Check the alert log and Recovery Managerfor Oracle log for more details.MESSAGE ID1149SYMBO

Pagina 90

Recovery Manager for Oracle saves an ASCII control file and a binary control file for each createdVirtual Copy in its repository. After a rollback, yo

Pagina 91 - Recovery Manager Commands 91

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

Pagina 92

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

Pagina 93 - SYNOPSIS

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

Pagina 94

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

Pagina 95 - Recovery Manager Commands 95

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

Pagina 96

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

Pagina 97 - Recovery Manager Commands 97

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

Pagina 98

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

Pagina 99 - Description

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

Pagina 100

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

Pagina 101 - DESCRIPTION

The following restrictions apply when backing up a database using the Recovery Manager forOracle database backup utility.• For NBU (user-managed) back

Pagina 102 - Interface

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

Pagina 103 - Creating a Virtual Copy

SOLUTIONTry to upgrade HP 3PAR OS, or do not use this feature.MESSAGE ID1220SYMBOLIC NAMERMO_ERROR_INVALID_RETENTEXPMESSAGE3PAR1220: ERROR: Invalid Vi

Pagina 104

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

Pagina 105

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

Pagina 106

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

Pagina 107 - Mounting a Virtual Copy

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

Pagina 108 - Backing up a Virtual Copy

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

Pagina 109 - Cloning a Database

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

Pagina 110 - Removing a Cloned Database

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

Pagina 111 - Backing Up 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

Pagina 112 - Viewing Online Help

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

Pagina 113 - Standby Databases

Client-side BackupDuring client-side backup, Recovery Manager for Oracle performs the following:• Creates an online, offline, datafile, or archonly Vi

Pagina 114 - # umount /oradata

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

Pagina 115

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

Pagina 116

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

Pagina 117

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

Pagina 118 - Overview

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

Pagina 119 - How Remote Copy Works

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

Pagina 120

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

Pagina 121 - Creating Virtual Copies

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

Pagina 122 - 8 Support and Other Resources

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

Pagina 123

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

Pagina 124

/usr/openv/netbackup/include_list.<policy_name> file, which contains a list offiles on the Virtual Copy for backup.• Once the backup process is

Pagina 125 - HP 3PAR branding information

SOLUTIONUser specified a non-existing host definition for the backup server on the HP 3PAR Storage system.Use the showhost command on the HP 3PAR Stor

Pagina 126 - 9 Documentation feedback

Make sure the current user has read-write permission to the repository directory /etc/3par/solutions/<db_server>.ora.<oracle_sid>/<vc_n

Pagina 127 - Introduction

The LVM pvremove command, which is used to remove LVM physical volumes from a snapshotvolume group, has failed.SOLUTIONSee the preceding error message

Pagina 128 - Configuration Diagram

MESSAGE3PAR1341: ERROR: Failed to retrieve the client name for NetBackup policy '%s'.REASONThe client name of a NetBackup policy cannot be r

Pagina 129

IndexAarchive log backupconfiguring NBU policy, 47Bbackup server to HP 3PAR StoreServ Storage system SSHconnection, 43backup to database server verifi

Pagina 130 - Unavailable

requirementsstandby databases, 9restrictions with SSH, 39RMAN recovery catalog creation, 54rmora_create, 76rmora_createdb, 80rmora_display, 82rmora_mo

Pagina 131

The Database Restoration UtilityThe database restoration utility of HP 3PAR Recovery Manager Software for Oracle restoresdatabases, tablespaces, dataf

Pagina 132

Recovery Manager for Oracle with Oracle Standby DatabaseAll HP 3PAR Recovery Manager Software for Oracle’s utilities can be run against an Oraclephysi

Pagina 133 - Primary-Rev

Recovery Manager for Oracle with Remote CopyRecovery Manager for Oracle integrates with HP 3PAR Remote Copy Software to copy databasevirtual volumes f

Pagina 134

NOTE: For more details about using the tunevv command, see the HP 3PAR OperatingSystem Software User Guide.3. On HP 3PAR StoreServ Storage system, ent

Pagina 135

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

Pagina 136

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

Pagina 137

• Refer to the HP 3PAR Implementation Guides for instructions on setting up connections fromhosts to the HP 3PAR StoreServ Storage systems and reservi

Pagina 138

InstallationThe following section describes the steps necessary for installing or upgrading Recovery Managerfor Oracle on a Linux system.To install or

Pagina 139

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

Pagina 140

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

Pagina 141

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

Pagina 142

2. Insert the HP 3PAR Recovery Manager CD into a CD-ROM drive.If the CD is not mounted automatically, mount it manually.# mount -F hsfs -o ro /dev/dsk

Pagina 143

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

Pagina 144

Installing Recovery Manager for Oracle on IBM AIX SystemsUse the instructions in this section to install Recovery Manager for Oracle on the database a

Pagina 145

SUCCESSES--------- Filesets listed in this section passed pre-installation verification and will be installed. Selected Filesets -----------------

Pagina 146

2. Enter the lslpp -l RMOra.rte command and verify:• The Product Fileset name RMOra.rte, State and Description are displayed.• The level displayed is

Pagina 147

4. Enter ./rmora_uninstall.sh.Confirm you want to uninstall Recovery Manager for Oracle when prompted.Welcome to HP 3PAR Recovery Manager for OracleCh

Pagina 148

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

Pagina 149

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

Pagina 150 - Secondary-Rev

Installing Recovery Manager for Oracle on IBM AIX Systems...34Installation...

Pagina 151

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

Pagina 152

Setting Up Connections from the Backup Server to the Database ServerTo set up an SSH connection from the backup server to the database server:• Copy t

Pagina 153

yes Warning: Permanently added '<NBU_master>' (DSS) to the list of known hosts.where <user> is either the root or the Oracle ow

Pagina 154

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

Pagina 155 - B Troubleshooting

Setting Connections from the Database Server to the HP 3PAR StoreServ StorageSkip this step if the database server has the same SSH key pair as the SS

Pagina 156 - MESSAGE ID

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

Pagina 157

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

Pagina 158

NOTE: This section is intended for the users who are familiar with the Oracle Database andSymantec NetBackup (NBU). For more information on creating a

Pagina 159

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

Pagina 160

# /opt/omni/sbin/omnisv startConfiguring Oracle Operating System User Account (Oracle Owner Account)The Oracle operating system user is the owner of t

Pagina 161

rmora_display...82rmora_export...

Pagina 162

An HP Data Protector Oracle backup specification must be created as follows:• A backup specification must be an Oracle backup specification, not a fil

Pagina 163

• Backup Specification Option:Pre-exec:◦– Pre-exec: Specifiy DP_pre.<backup_specification_name>.– On client: The host name of the Recovery Manag

Pagina 164

ORbackup format 'backup_specification <app_name_%s:%t:%p>.dbf archivelog all not backed up 1 times skip inaccessible;• If control file ob

Pagina 165

In addition, you must create an Oracle RMAN Recovery Catalog and configure Oracle TNS Serviceand Listener to allow connections to the Recovery Catalog

Pagina 166

This procedure is to backup archive logs only. For Recovery Manager for Oracle to perform backupand restoration correctly, you must use the following

Pagina 167

where:• <tbs_name> is the tablespace name of the Recovery Catalog.• <rman_user> is the user name to be granted access permission to the Re

Pagina 168

When using RMAN backup with HP Data Protector, if the Oracle release of the recovery catalogdatabase is 11g R2 or later:• Ensure that the owner of the

Pagina 169

• Oracle Home of the database instance on the database server[h=help,q=quit]?Recovery Manager for Oracle provides a default value for the Oracle Home

Pagina 170

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

Pagina 171

• Do you want to remove oldest Virtual Copy when the maximum numberof Virtual Copy is reached [y=yes,n=no,q=quit]?You will be prompted with this quest

Pagina 172

7 Using Remote Copy with Recovery Manager...118Overview...

Pagina 173

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

Pagina 174

1. Start the Recovery Manager for Oracle GUI on the backup server.a. Ensure the X11 server is running on the destination host where the GUI is display

Pagina 175

• Create one or two Remote Copy groups, assign all virtual volumes used by datafiles andarchive log destinations to one group if only one group is cre

Pagina 176

Press ENTER to accept the default value, or enter the ORACLE_HOME of the ASM instanceon the database server.• Oracle Home of ASM instance on the backu

Pagina 177

day, or 'h' or 'H' for hours after the amount of time. The default value, '0d', means theVirtual Copy has no expiration

Pagina 178

1. Start the Recovery Manager for Oracle GUI on the backup server.a. Ensure the X11 server is running on the destination host where the GUI is display

Pagina 179

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

Pagina 180

method, a database can be backed up to a local disk (Symantec NetBackup or HP Data Protectoris not required) or to a tape using Symantec NetBackup or

Pagina 181

backup (archlog). Refer to Recovery Manager User's Guide for detail on how to create HPData Protector Backup Specification.Depending on which bac

Pagina 182

The host name of the database server, on which the Oracle database instance is running. Thevalue of the database server name must match the output of

Pagina 183

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

Pagina 184

This option is only applicable for Oracle RMAN with HP Data Protector backup. This option canbe used with the -o online|offline|datafile option to per

Pagina 185

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

Pagina 186

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

Pagina 187

rmora_configSYNTAXrmora_config [-s <oracle> -p <db_server> [-l]]DESCRIPTIONThe rmora_config command creates or modifies the Recovery Manag

Pagina 188

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

Pagina 189

• DBFILE_SCHED_FULL - The Symantec NetBackup schedule name for database backup. Thisparameter is applicable only to the Symantec NetBackup backup meth

Pagina 190

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

Pagina 191

When creating an online or datafile Virtual Copy:• If the specified database instance is a regular database, the database will be temporarily putinto

Pagina 192

OPTIONSThe following options are supported:-s <oracle_sid>The Oracle SID of the database instance. For Real Application Cluster (RAC) database,

Pagina 193

NOTE: HP 3PAR Operating System Software CLI command showsys -param and showdomain-d can be used to check the value of VVRetentionTimeMax for value sys

Pagina 194

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

Pagina 195

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

Pagina 196

OPTIONSThe following options are supported:-s <oracle_sid>The Oracle SID of the database instance. For Real Application Cluster (RAC) database,

Pagina 197

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

Pagina 198

Displays the Virtual Copy’s retention and expiration time. This option is only available for HP 3PAROperating System Software 2.3.1 or , otherwise, th

Pagina 199

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

Pagina 200

HP 3PAR StoreServ Storage system user can be created using the HP 3PAR Operating SystemSoftware CLI createuser command. The created user must be assig

Pagina 201

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

Pagina 202

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

Pagina 203

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

Pagina 204

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

Pagina 205

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

Pagina 206

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

Pagina 207

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

Pagina 208

-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

Pagina 209

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

Pagina 210

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

Pagina 211

The corresponding host name of the database server where the specified Oracle database instanceis running. The value of the database server name must

Pagina 212

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

Pagina 213

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

Pagina 214 - 214 Index

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

Pagina 215

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

Comentarios a estos manuales

Sin comentarios