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

news/2024/7/2 20:21:52

How to Change ASM Home on a Node in RAC

步骤如下:

1Install a new Home to be used by ASM

2 Stop the listener, database, asm on the node

3Listener 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>

4Reset 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表空间和数据文件的关系,否则拒绝申请


http://www.niftyadmin.cn/n/4261163.html

相关文章

销售前10的mysql_如何用sql语句将销量排名前十的商品查询

展开全部 1、创建测试表, create table test_sale(id varchar2(20),sale_num number(10)); 2、插入测试数据; insert into test_sale values(goods_1,15); insert into test_sale values(goods_2,125); insert into test_sale values(goods_3,28); insert into test_sale val…

SQL Server Configuration Performance Checklist

Performance Audit Checklist SQL ServerConfiguration SettingsAdvancedSetting?RequiresRestart?Default ValueCurrent Valueaffinity mask YesYes0 awe enabled YesYes0 cost threshold for parallelism Yes No 5 cursor threshold Yes No -1 fill factor (%) Yes Yes 0…

quick-cocos2dx 开发插件 QuickXDev vscode 版发布啦!

2019独角兽企业重金招聘Python工程师标准>>> 基本实现了 sublime 版的功能&#xff0c;目前适配 Quick-Cocos2dx-Community 3.7.2 版。 安装 在vscode扩展商店中搜索"QuickXDev"即可找到。 特性 cocos2dx c端的代码提示quick lua端的代码提示lua 5.1系统代…

xpage mysql_实例解决XPage访问出现HTTP403错误的问题

前段时间一直在尝试Domino8.5版本下的XPage的功能&#xff0c;但是浏览xsp文件一直会出现浏览器无法访问的情况&#xff0c;困扰了很久&#xff0c;网络上很少有关于XPage的资料&#xff0c;找不到答案&#xff0c;于是就搁浅下来了。今天偶然间发现了解决这个问题的办法&#…

今天解决了BXP4.1在windows server 2003下无法自动启动ardencepxe服务的问题

我的无盘系统一直工作的很好&#xff0c;可是最近总是无法自动启动ardencepxe服务&#xff0c;每次需要登录进入系统然后再手动启动一下&#xff0c;很是麻烦&#xff0c;上网搜了一下&#xff0c;发现盗版的bxp就是有这个问题&#xff0c;经过研究把问题终于解决了,方法如下&a…

vulcanjs schemas collections

一张参考图 说明 从上图我们可以方便的看出schmea 能做的事情 Generate a GraphQL equivalent of your schema to control your GraphQL API.&#xff08;生成 graphql api&#xff09;Control permissions for accessing and modifying data.&#xff08;访问控制&#xff09;…

loadrunner测试mysql数据库_Loadrunner测试mysql数据库

loadrunner可以利用mysql lib库&#xff0c;通过引用外部DLL&#xff0c;模拟mysql客户端连接数据库进行增删改查的操作进行测试。下面主要介绍如何利用mysql lib库连接mysql数据库进行性能测试。一、准备工作1. 下载 MySQL LoadRunner libraries。2. MySQL LoadRunner librari…

Spring Cloud Gateway全局过滤器GlobalFilter初探

定义 在【spring cloud gateway】的官方文档中&#xff0c;全局过滤器GlobalFilter接口是这样定义的&#xff1a; The GlobalFilter interface has the same signature as GatewayFilter. These are special filters that are conditionally applied to all routes. (This inte…