How to Change ASM Home on a Node in RAC [ID 558508.1]
2011-04-20 21:45
435 查看
How to Change ASM Home on a Node in RAC
步骤如下:
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:
$ srvctl modify listener -n <node_name> -l <listener_name_list> -o <new_asm_home>
4)Reset the ASM home with new value
$ srvctl modify asm -n node1 -i <asm_instance_name> -o <new_asm_home>
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
(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
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
From Oracle
-------------------------------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
Email: dvd.dba@gmail.com
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
步骤如下:
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:
$ srvctl modify listener -n <node_name> -l <listener_name_list> -o <new_asm_home>
4)Reset the ASM home with new value
$ srvctl modify asm -n node1 -i <asm_instance_name> -o <new_asm_home>
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
(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
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
From Oracle
-------------------------------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
Email: dvd.dba@gmail.com
DBA1 群:62697716(满); DBA2 群:62697977(满) DBA3 群:62697850(满)
DBA 超级群:63306533(满); DBA4 群: 83829929 DBA5群: 142216823
聊天 群:40132017 聊天2群:69087192
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
相关文章推荐
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node (文档 ID 415579.1)
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]
- How to change hostname for E-Business Suite Release 12 on single node (Doc ID 1277556.1)
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node [ID 415579.1]
- How to move RAC Database ORACLE_HOME from one location to another one (Doc ID 1438719.1)
- After A Clusterware Restart ASM Fails To Start On All But One Node (文档 ID 1581773.1)
- how can i change the back color on mouse out to the color specified in gridview
- How to Check Whether Oracle Binary/Instance is RAC Enabled and Relink Oracle Binary in RAC (文档 ID 28
- How to Configure A Second Listener on a Separate Network in 11.2 Grid Infrastructure (Doc ID 1063571
- How to allow a user to click on TextBlocks which return an integer ID in the click handler
- How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? [ID 477185
- How To Add/Increase The Size Of Redo Log Files In Rac Environment? (文档 ID 779306.1)
- How to find Master Node in Oracle RAC
- How To Automate ASM Startup and Shutdown on AIX 5L [ID 580133.1]
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- 如何获得rac环境中的主节点(how to identify master node in rac)
- How To Mirror Controlfile To FRA On ASM (文档 ID 1305674.1)
- How to cleanup ASM installation (RAC and Non-RAC) [ID 311350.1]
- Jenkins: How to change JENKINS_HOME on Windows
- How To Query And Change The Oracle Hidden Parameters In Oracle 10g and 11g (文档 ID 315631.1)