设为首页 加入收藏

TOP

Oracle单节点RAC添加节点(七)
2018-07-13 06:07:15 】 浏览:587
Tags:Oracle 节点 RAC 添加
p;                                  
ora.jystdrac1.vip
      1        ONLINE  ONLINE      jystdrac1                                   
ora.jystdrac2.vip
      1        ONLINE  ONLINE      jystdrac2                                   
ora.oc4j
      1        ONLINE  ONLINE      jystdrac1                                   
ora.ractest.db
      1        ONLINE  ONLINE      jystdrac1                Open               
ora.scan1.vip
      1        ONLINE  ONLINE      jystdrac1                                   
[grid@jystdrac2 ~]$


至此,GI添加已经完成。


2.4 添加RAC节点



2.4 If you have an Oracle RAC or Oracle RAC One Node database configured on the cluster and you have a local Oracle home, then do the following to extend the Oracle database home to node3:
 Navigate to the Oracle_home/oui/bin directory on node1 and run the addNode.sh script as the user that installed Oracle RAC using the following syntax:
 $ ./addNode.sh "CLUSTER_NEW_NODES={node3}"
 Run the Oracle_home/root.sh script on node3 as root, where Oracle_home is the Oracle RAC home.


实际执行:
[root@jystdrac2 app]# ls -ld /opt/app
drwxr-xr-x. 6 root oinstall 4096 Jun  4 13:34 /opt/app
[root@jystdrac2 app]# mkdir -p /opt/app/oracle
[root@jystdrac2 app]# chown oracle:oinstall /opt/app/oracle/
[root@jystdrac2 app]# ls -ld /opt/app/oracle/
drwxr-xr-x 2 oracle oinstall 4096 Jun  4 14:25 /opt/app/oracle/


--添加RAC节点:
cd $ORACLE_HOME/oui/bin
./addNode.sh "CLUSTER_NEW_NODES={jystdrac2}"


然后按提示执行root脚本。


2.5 执行root.sh脚本



2.5 Run the Grid_home/root.sh script on the node3 as root and run the subsequent script, as instructed.


2.6 验证集群完整性



2.6 cluvfy stage -post nodeadd -n node3 [-verbose]
 Check whether either a policy-managed or administrator-managed Oracle RAC database is configured to run on node3 (the newly added node). If you configured an administrator-managed Oracle RAC database, you may need to use DBCA to add an instance to the database to run on this newly added node.
cluvfy stage -post nodeadd -n jystdrac2 -verbose


3.其他配置工作


此时需要将单节点RAC修改为两节点RAC,可以按照官方文档说的直接使用dbca,也可以手工来配置。
 如果此时直接尝试启动新加节点的实例,会报错:
[oracle@jystdrac2 ~]$ srvctl add instance -d ractest -i ractest2                               


[oracle@jystdrac2 ~]$ srvctl start instance -d ractest -i ractest2
PRCR-1013 : Failed to start resource ora.ractest.db
PRCR-1064 : Failed to start resource ora.ractest.db on node jystdrac2
CRS-5017: The resource action "ora.ractest.db start" encountered the following error:
ORA-29760: instance_number parameter not specified
. For details refer to &

首页 上一页 4 5 6 7 8 9 下一页 尾页 7/9/9
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇mongodb基础操作举例说明 下一篇Oracle 重建控制文件一例

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目