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

Procházejte online nebo si stáhněte Uživatelský manuál pro Úložný prostor Hp 3PAR Application Software Suite for Oracle. HP 3PAR Application Software Suite for Oracle User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 215
  • 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.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
Zobrazit stránku 0
1 2 3 4 5 6 ... 214 215

Shrnutí obsahu

Strany 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

Strany 2

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

Strany 3 - Contents

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

Strany 4 - 4 Contents

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

Strany 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

Strany 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

Strany 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.

Strany 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

Strany 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

Strany 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

Strany 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-

Strany 12

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

Strany 13

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 22

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

Strany 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

Strany 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

Strany 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

Strany 26 - Preinstallation Requirements

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

Strany 27

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

Strany 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

Strany 29 - Installation

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

Strany 30 - Verifying Installation

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

Strany 31

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

Strany 32

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

Strany 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

Strany 34

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

Strany 35

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

Strany 36

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

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

Strany 38

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

Strany 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

Strany 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

Strany 41

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

Strany 42

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

Strany 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

Strany 44

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

Strany 45

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

Strany 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

Strany 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

Strany 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

Strany 49

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

Strany 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

Strany 51 - ◦ Ownership:

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

Strany 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

Strany 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

Strany 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

Strany 55

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

Strany 56

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

Strany 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

Strany 58

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

Strany 59

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

Strany 60

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

Strany 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

Strany 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

Strany 63

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

Strany 64

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

Strany 65

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

Strany 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

Strany 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

Strany 68

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

Strany 69 - Recovery Manager Commands 69

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

Strany 70

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

Strany 71

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

Strany 72

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

Strany 73

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

Strany 74

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

Strany 75 - Recovery Manager Commands 75

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 80

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

Strany 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

Strany 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

Strany 83 - EXAMPLES

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

Strany 84

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

Strany 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

Strany 86

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

Strany 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

Strany 88

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

Strany 89

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

Strany 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

Strany 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

Strany 92

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

Strany 93 - SYNOPSIS

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 98

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

Strany 99 - Description

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

Strany 100

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

Strany 101 - DESCRIPTION

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

Strany 102 - Interface

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

Strany 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

Strany 104

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

Strany 105

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

Strany 106

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

Strany 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

Strany 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

Strany 109 - Cloning a Database

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

Strany 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

Strany 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

Strany 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

Strany 113 - Standby Databases

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

Strany 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.

Strany 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

Strany 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

Strany 117

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

Strany 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

Strany 119 - How Remote Copy Works

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

Strany 120

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

Strany 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

Strany 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

Strany 123

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 129

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

Strany 130 - Unavailable

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

Strany 131

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

Strany 132

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

Strany 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

Strany 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

Strany 135

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

Strany 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

Strany 137

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

Strany 138

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

Strany 139

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

Strany 140

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 145

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

Strany 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

Strany 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

Strany 148

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

Strany 149

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

Strany 150 - Secondary-Rev

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

Strany 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

Strany 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

Strany 153

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

Strany 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

Strany 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

Strany 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

Strany 157

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

Strany 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

Strany 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

Strany 160

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

Strany 161

rmora_display...82rmora_export...

Strany 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

Strany 163

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

Strany 164

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

Strany 165

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

Strany 166

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 172

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

Strany 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

Strany 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

Strany 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

Strany 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

Strany 177

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

Strany 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

Strany 179

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

Strany 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

Strany 181

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

Strany 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

Strany 183

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

Strany 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

Strany 185

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

Strany 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

Strany 187

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

Strany 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

Strany 189

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

Strany 190

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

Strany 191

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

Strany 192

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

Strany 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

Strany 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

Strany 195

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

Strany 196

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

Strany 197

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

Strany 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

Strany 199

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

Strany 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

Strany 201

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

Strany 202

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

Strany 203

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

Strany 204

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

Strany 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

Strany 206

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

Strany 207

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

Strany 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

Strany 209

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

Strany 210

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

Strany 211

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

Strany 212

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

Strany 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

Strany 214 - 214 Index

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

Strany 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>] [

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

Žádné komentáře