重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1040|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-01105 & ORA-01677 模拟2

[复制链接]
跳转到指定楼层
楼主
发表于 2023-3-7 15:11:43 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
节点1模拟修改操作:
alter system set db_file_name_convert='+data/healdg/datafile/','+data/heal/datafile/' scope=spfile;
alter system set log_file_name_convert='+data/healdg/tempfile/','+data/heal/tempfile/' scope=spfile;

重启节点1:
startup force
--
ORA-01105: mount is incompatible with mounts by other instances
ORA-01677: standby file name conversion parameters differ from other instance
SQL> create pfile='/tmp/1.txt' from spfile;

vi /tmp/1.txt
--分析1.txt里面的参数和其它节点有什么不一样,然后进行在其它节点reset 一下该参数;


节点2:
alter system reset db_file_name_convert scope=spfile sid='*';
alter system reset log_file_name_convert scope=spfile sid='*';

节点1:
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup

还原之前的修改,最后可以找停机时间,同时重启两节点:
alter system set db_file_name_convert='+data/healdg/datafile/','+data/heal/datafile/' scope=spfile sid='orcl1';
alter system set db_file_name_convert='+data/healdg/datafile/','+data/heal/datafile/' scope=spfile sid='orcl2';

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-5-20 20:44 , Processed in 0.080729 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表