• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

单实例ASM无法创建磁盘组问题处理

mysql 搞代码 4年前 (2022-01-09) 18次浏览 已收录 0个评论

在单实例数据库上安装好了Oracle GridInfrastructure 11gR2用于standby数据库创建ASM使用,但是在通过grid用户登录执行ASMCA命令

问题现象:

在单实例数据库上安装好了Oracle GridInfrastructure 11gR2用于standby数据库创建ASM使用,但是在通过grid用户登录执行ASMCA命令后出来Create ASM GUI界面,简单配置后执行create ASM 的过程中报错:Oracle Grid Infrastructure is not configured properly.ASMCA needOracle Grid Infrastructure to configure ASM.详细见如下:

问题分析:

从上面的问题我们可以很清晰的看到是因为ASMCA无法连接到OracleGrid Infrastructure而导致无法创建。

问题处理:

1、 检查has进程是否起来

2、 重新执行/DBSoft/11.2.4/grid/crs/install/roothas.pl起has进程

3、 重新执行asmca创建asm即可。

步骤如下:

1、检查has进程是否起来

[root@standby~]# ps -ef|grep has
root 13139 1 0 15:08 ? 00:00:00 /bin/sh /etc/init.d/init.ohasdrun
root 13235 13186 0 15:10 pts/4 00:00:00 grep has
[root@standby~]#

2、重新执行/DBSoft/11.2.4/grid/crs/install/roothas.pl

[root@standby~]# /DBSoft/11.2.4/grid/crs/install/roothas.pl
Usingconfiguration parameter file: /DBSoft/11.2.4/grid/crs/install/crsconfig_params
Creating tracedirectory
User ignoredPrerequisites during installation
LOCAL ADD MODE
Creating OCRkeys for user ‘grid’, privgrp ‘oinstall’..
Operationsuccessful.
LOCAL ONLY MODE
Successfullyaccumulated necessary OCR keys.
Creating OCRkeys for user ‘root’, privgrp ‘root’..
Operationsuccessful.
CRS-4664: Nodestandby successfully pinned.
AddingClusterware entries to inittab本文来源[email protected]搞@^&代*@码网(

standby 2011/06/10 14:49:51 /DBSoft/11.2.4/grid/cdata/standby/backup_20110610_144951.olr
Successfullyconfigured Oracle Grid Infrastructure for a Standalone Server
[root@standby~]#

3、再次检查has进程状态,,及crs状态。

[grid@standby install]$ ps -ef|grep ha
root 2735 227 0 Jun09 ? 00:00:00 [kmpath_handlerd]
root 13139 1 0 15:08 ? 00:00:00 /bin/sh /etc/init.d/init.ohasdrun
grid 14323 1 0 16:04 ? 00:00:00/DBSoft/11.2.4/grid/bin/ohasd.bin reboot
grid 14539 13294 0 16:05 pts/4 00:00:00 grep ha

[grid@standby~]$ crs_stat -t
Name Type Target State Host
————————————————————
ora.cssd ora.cssd.type ONLINE OFFLINE
ora.diskmon ora….on.typeOFFLINE OFFLINE
ora.evmd ora.evm.type ONLINE ONLINE standby
ora.ons ora.ons.type OFFLINE OFFLINE

4、 再次执行创建asmca 创建ASM实例成功


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:单实例ASM无法创建磁盘组问题处理

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址