Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle 11g single instance RMAN reverts to Oracle 11g RAC

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

I. Environmental description

Operating system version: RHEL 6.5x64

1. Source database server

Oracle version: Oracle 11g 11.2.0.4 64-bit (stand-alone)

Oracle_SID: orcl

Db_name: orcl

Background: a production oracle10g (10.2.0.5) database is planned to migrate to Oracle 11.2.0.4.0 RAC.

1) upgrade from oracle10g (10.2.0.5) to Oracle 11.2.0.4 (process slightly)

2) migrate Oracle 11.2.0.4 single instance to Oracle 11.2.0.4 RAC cluster

two。 Target database server

Operating system: RHEL 6.8x64 installation notes:

Oracle version: Oracle 11g 11.2.0.4 RAC 64-bit

Oracle_SID: orcl1 / orcl2

Db_name: orcl

Description:

1) RAC is the same as the database name of a single instance, so there is no need to recreate or restore an instance, which also needs to be considered in advance.

2) the recovery process can be done directly on the original RAC instance, and some operation steps can be reduced, such as parameter files, password files, etc. you can use the original RAC configuration without modification.

Second, source DB server 1. Source server environment description

The source server needs to perform an off-machine RAC restore operation by performing a RMAN backup.

two。 Back up the source database

Backup script content

#! / bin/bash

# ScriptName:rmanbakup.sh

# Usage: backup all files in oracle user environment.

# Author: koumm

# Creation: 2017-09-16

# Version: 1.0.0

# Define variable

Basedir=/u01/orabak

Date= `date +% Y% m% d`

# Create pfile

Sqlplus / as sysdba

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report