首页 > 数据库 > mysql教程 > How to move RAC Database ORACLE

How to move RAC Database ORACLE

WBOY
发布: 2016-06-07 15:01:53
原创
1116 人浏览过

In this Document Goal Solution Applies to: Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2] Information in this document applies to any platform. Goal What are the steps to move the RAC database OR

In this Document

  Goal
  Solution

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Goal

What are the steps to move the RAC database ORACLE_HOME from one location(filesystem) to another one?

This note is for database home only and does not apply to CRS or GI home. 

Solution


Execute all the following as database user:


Solution 1:

1. Install a new set of RAC binaries with OUI into a new home
2. Apply all patches that have been installed in the old home, use "opatch lsinventory" to compare the old and new home once all patches are applied.
3. Copy over init{ORACLE_SID}.ora in dbs directory from the old home to the new home on all nodes
4. Copy over network files (listener.ora, tnsnames.ora, and sqlnet.ora) in network/admin directory from the old home to the new home on all nodes
5. Shutdown the database with srvctl from the old database home: srvctl stop database -d
6. Modify the database resource as with srvctl from the old database home: srvctl modify database -d -o
7. Start the database with srvctl from the new database home: srvctl start database -d

Solution 2: (Clone)

1. Copy existing RAC binaries to a new location and keep the same ownership/permission on any node: cp -rp
2. Execute: /oui/bin/runInstaller -clone -silent ORACLE_HOME="" ORACLE_HOME_NAME=""
3. Extend the new home to other nodes: /oui/bin/addNode.sh
4. Go to Step3 of "Solution 1"

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板