RAC添加新节点步骤整理

1.老节点oracle及grid用户下检查:
cluvfy stage -pre nodeadd -n rac3 -verbose
2.grid下新节点执行添加节点
cd /u01/app/11.2.0/grid/oui/bin/
./addNode.sh -silent "CLUSTER_NEW_NODES={rac3}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={rac3-vip}"
3.root用户下新节点执行脚本
[root@rac3 etc]# /u01/app/11.2.0/grid/root.sh
--Clusterware添加完成
4.Oracle用户在老节点执行命令,为新节点添加RAC DB软件
/u02/app/oracle/product/11.2.0/dbhome_1/oui/bin
./addNode.sh -silent "CLUSTER_NEW_NODES={rac3}"
5.在新节点root用户执行root.sh脚本
$ORACLE_HOME/root.sh
6.验证Clusterware和RAC DB软件的安装,在新旧节点均可,grid以及oracle用户
cluvfy stage -post nodeadd -n rac3 -verbose  (有错,没有管,直接进行下一步
7.添加新节点实例,现有集群节点oracle
./dbca -silent -addInstance -nodeList "rac3" -gdbName "ron" -instanceName "ron3" -sysDBAUserName "sys" -sysDBAPassword oracle



[oracle@rac3 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Thu Nov 12 07:47:11 2015

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> select open_mode from gv$database;

OPEN_MODE
--------------------
READ WRITE
READ WRITE
READ WRITE


你可能感兴趣的:(Oracle实验,Oracle,RAC,Oracle数据库入门及进阶)