oracle 11gR2 单机使用asm存储 改主机名 重启系统 GI故障处理

一. 问题描述:

因为克隆了11g r2改了hostname

结果重启服务器后就css和oha都起不来了

相关文档:

Reconfiguring & Recreating The11gR2,12cR1 Restart,OHAS,SIHA Stack Configuration (Standalone) , How toReconfigure Oracle Restart 文档 1422517.1.mhtml

How to Reconfigure Oracle Restart 文档986740.1.mhtml

原因分析:

grid不能改主机名

standalone改了就得重配 restart

cluster的话改主机名只能使用增删节点的方式

This document is about reconfiguring Oracle Restart. One reasonfor such action might be if the server (host) was renamed. If that was the caseand the server was rebooted, the ASM startup would fail with ORA-29701.

The solution is to reconfigure Oracle Restart.

has检查:

[root@node1bak grid]# crsctl start has

CLSU-00100: Operating System function:opendir failed with error data: 2

CLSU-00101: Operating System error message:No such file or directory

CLSU-00103: error location: scrsearch1

CLSU-00104: additional error information:cant open scr home dir scls_scr_getval

CRS-4000: Command Start failed, orcompleted with errors.

[root@node1bak grid]# hostname

node1bak.example.com

[root@node1bak grid]#

css检查:

[root@node1bak grid]# crsctl check css

CRS-4639: Could not contact Oracle HighAvailability Services

CRS-4000: Command Check failed, orcompleted with errors.

[root@node1bak grid]#

启动+asm实例报错:

[grid@node1bak grid]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production onSun Sep 18 11:10:51 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup

ORA-01078: failure in processing systemparameters

ORA-29701: unable to connect to Cluster Synchronization Service

SQL>

二. 解决方案

参考文档:

How to Reconfigure Oracle Restart (文档 ID 986740.1)

实施步骤:

1. Remove Oracle Restart configuration

This step should be performedas privileged (root) user.

#$GRID_HOME/crs/install/roothas.pl -deconfig -force

The expected result is "Successfully deconfigured OracleRestart stack".

[root@node1bak grid]#  $GRID_HOME/crs/install/roothas.pl -deconfig-force

bash: /crs/install/roothas.pl: No such fileor directory

[root@node1bak grid]#$GRID_HOME/crs/install/roothas.pl -deconfig -force

bash: /crs/install/roothas.pl: No such fileor directory

[root@node1bak grid]#$O

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值