签到成功

知道了

CNDBA社区CNDBA社区

How to Change ASM Home on a Node in RAC [ID 558508.1]

2016-11-25 15:50 1699 0 原创 Oracle 11g
作者: dave

 

How to Change ASM Home on a Node in RAC http://www.cndba.cn/Dave/article/839

 

步骤如下:

1 Install a new Home to be used by ASM

 

2 Stop the listener, database, asm on the node

 

3 Listener is recommended to be run from asm home. We can reset the new home using the following command:

http://www.cndba.cn/Dave/article/839

       $ srvctl modify listener -n <node_name> -l <listener_name_list> -o <new_asm_home>

 

4Reset the ASM home with new value

       $ srvctl modify asm -n node1 -i <asm_instance_name> -o <new_asm_home>

 http://www.cndba.cn/Dave/article/839

5  If TNS_ADMIN variable was used to point to ASM Home to find the listener, then it needs to be changed to the new ASM Home in OCR for listener and nodeapps.        Refer MOS DocID 420977.1 and 360575.1). Updating nodeapps via setenv must be done as root starting from 10.2.0.4, refer MOS DocID 779907.1.

 

6 We need to manually:

(1).      move the (s)pfile and password file into the new home

(2).      copy listener.ora/tnsnames.ora from old home into new home

http://www.cndba.cn/Dave/article/839

(3).      update /etc/oratab or /var/opt/oracle/oratab with the new home

(4).      If dbcontrol/emcontrol is there for ASM then needs to be REconfigured. As at many places in the dbcontrol/emcontrol configuration files we hardcode the Oracle home

http://www.cndba.cn/Dave/article/839

 

7 If you are on Windows then you need to delete the old ASM instance using oradim and then create the new one:

(1).      Stop the Windows Service,
e.g OracleASMService+ASM1

(2).      From command prompt
oradim -delete -asmsid +ASM1

(3).      Set the New Oracle home/bin in the PATH so that you are running 'oradim' from the new home.
From command prompt
oradim -new -asmsid +ASM1 -intpwd xxx -m -pfile xxxx

 

8 This can be done on other nodes if required

 

 http://www.cndba.cn/Dave/article/839

 

 http://www.cndba.cn/Dave/article/839

From Oracle

-------------------------------------------------------------------------------------------------------

Blog http://blog.csdn.net/tianlesoftware http://www.cndba.cn/Dave/article/839

Email: dvd.dba@gmail.comhttp://www.cndba.cn/Dave/article/839

DBA1 群:62697716();   DBA2 群:62697977()   DBA3 群:62697850()  

DBA 超级群:63306533();  DBA4 群: 83829929  DBA5群: 142216823   

聊天 群:40132017   聊天2群:69087192http://www.cndba.cn/Dave/article/839

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle 11g

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2261
    原创
  • 3
    翻译
  • 578
    转载
  • 191
    评论
  • 访问:7983333次
  • 积分:4346
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ