ORACLE SOS

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6881|回复: 4

节点2执行root.sh报ORA-15018: diskgroup cannot be created

[复制链接]

3

主题

7

帖子

65

积分

注册会员

Rank: 2

积分
65
发表于 2014-10-26 18:29:05 | 显示全部楼层 |阅读模式
执行结果:
[root@jcsjdb02 install]# /u01/app/11.2.0/grid/product/db_1/root.sh
Running Oracle 11g root.sh script...
The following environment variables are setas:
   ORACLE_OWNER= grid
   ORACLE_HOME=  /u01/app/11.2.0/grid/product/db_1
Enter the full pathname of the local bindirectory: [/usr/local/bin]:
The file "dbhome" already existsin /usr/local/bin.  Overwrite it? (y/n)
[n]: y
  Copying dbhome to /usr/local/bin ...
The file "oraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)
[n]: y
   Copyingoraenv to /usr/local/bin ...
The file "coraenv" already existsin /usr/local/bin.  Overwrite it? (y/n)
[n]: y
  Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratabfile as needed by
Database Configuration Assistant when adatabase is created
Finished running generic part of root.shscript.
Now product-specific root actions will beperformed.
2014-10-26 17:54:33: Parsing the host name
2014-10-26 17:54:33: Checking for superuser privileges
2014-10-26 17:54:33: User has super userprivileges
Using configuration parameter file:/u01/app/11.2.0/grid/product/db_1/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Serviceshas been started.
ohasd is starting
ADVM/ACFS is not supported onredhat-release-server-6Server-6.5.0.1.el6.x86_64
CRS-2672: Attempting to start 'ora.gipcd'on 'jcsjdb02'
CRS-2672: Attempting to start 'ora.mdnsd'on 'jcsjdb02'
CRS-2676: Start of 'ora.gipcd' on'jcsjdb02' succeeded
CRS-2676: Start of 'ora.mdnsd' on'jcsjdb02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd'on 'jcsjdb02'
CRS-2676: Start of 'ora.gpnpd' on'jcsjdb02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor'on 'jcsjdb02'
CRS-2676: Start of 'ora.cssdmonitor' on'jcsjdb02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on'jcsjdb02'
CRS-2672: Attempting to start 'ora.diskmon'on 'jcsjdb02'
CRS-2676: Start of 'ora.diskmon' on'jcsjdb02' succeeded
CRS-2676: Start of 'ora.cssd' on 'jcsjdb02'succeeded
CRS-2672: Attempting to start 'ora.ctssd'on 'jcsjdb02'
CRS-2676: Start of 'ora.ctssd' on'jcsjdb02' succeeded
未能创建磁盘组OCR,返回消息如下
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1regular failure groups, discovered only 0
Configuration of ASM failed, see logs fordetails
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd'as it is not running
CRS-4000: Command Stop failed, or completedwith errors.
Command return code of 1 (256) fromcommand: /u01/app/11.2.0/grid/product/db_1/bin/crsctlstop resource ora.crsd -init
Stop of resource "ora.crsd -init"failed
Failed to stop CRSD
CRS-2673: Attempting to stop 'ora.asm' on'jcsjdb02'
CRS-2677: Stop of 'ora.asm' on 'jcsjdb02'succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on'jcsjdb02'
CRS-2677: Stop of 'ora.ctssd' on 'jcsjdb02'succeeded
CRS-2673: Attempting to stop'ora.cssdmonitor' on 'jcsjdb02'
CRS-2677: Stop of 'ora.cssdmonitor' on'jcsjdb02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on'jcsjdb02'
CRS-2677: Stop of 'ora.cssd' on 'jcsjdb02'succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on'jcsjdb02'
CRS-2677: Stop of 'ora.gpnpd' on 'jcsjdb02'succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on'jcsjdb02'
CRS-2677: Stop of 'ora.gipcd' on 'jcsjdb02'succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on'jcsjdb02'
CRS-2677: Stop of 'ora.mdnsd' on 'jcsjdb02'succeeded
Initial cluster configuration failed.  See /u01/app/11.2.0/grid/product/db_1/cfgtoollogs/crsconfig/rootcrs_jcsjdb02.logfor details

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

95

主题

266

帖子

1719

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1719
发表于 2014-10-26 20:48:52 | 显示全部楼层
1.  /u01/app/11.2.0/grid/product/db_1/cfgtoollogs/crsconfig/rootcrs_jcsjdb02.log  
2.  /u01/app/11.2.0/grid/product/db_1/log/jcsjdb02目录里面日志
3. asm disk 信息  ls -l命令列出来

Q Q:107644445
Tel:13429648788
Email:dba@xifenfei.com
个人Blog(惜分飞)
提供专业ORACLE技术支持(数据恢复,安装实施,升级迁移,备份容灾,故障诊断,系统优化等)
回复 支持 反对

使用道具 举报

3

主题

7

帖子

65

积分

注册会员

Rank: 2

积分
65
 楼主| 发表于 2014-10-26 21:15:43 | 显示全部楼层
[root@jcsjdb02 mapper]# ls -l
\u603b\u7528\u91cf 0
crw-rw----. 1 grid oinstall 10, 58 10\u6708 20 10:03 control
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 16:30 mpathb -> ../dm-5
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathc -> ../dm-0
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathd -> ../dm-2
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathe -> ../dm-3
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathf -> ../dm-1
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 20:38 mpathg -> ../dm-4
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathh -> ../dm-6
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathi -> ../dm-8
lrwxrwxrwx. 1 grid oinstall      8 10\u6708 26 20:38 mpathj -> ../dm-10
lrwxrwxrwx. 1 grid oinstall      8 10\u6708 26 19:50 mpathk -> ../dm-13
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpathl -> ../dm-7
lrwxrwxrwx. 1 grid oinstall      8 10\u6708 26 19:50 mpathm -> ../dm-11
lrwxrwxrwx. 1 grid oinstall      8 10\u6708 26 20:38 mpathn -> ../dm-12
lrwxrwxrwx. 1 grid oinstall      7 10\u6708 26 19:50 mpatho -> ../dm-9
[root@jcsjdb02 mapper]#

[root@jcsjdb02 mapper]# /etc/init.d/oracleasm listdisks
BACKUP_VOL1
BACKUP_VOL2
BACKUP_VOL3
DATA_VOL1
DATA_VOL10
DATA_VOL2
DATA_VOL3
DATA_VOL4
DATA_VOL5
DATA_VOL7
DATA_VOL8
DATA_VOL9
OCR

创建 asm 磁盘,在节点1执行;
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk OCR mpathb
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL1   mpathb
Device "mpathb" is already labeled for ASM disk "OCR"
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL1   mpathc
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL2   mpathd
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL3   mpathe
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL4   mpathf
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL5   mpathg
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL6   mpathh
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL7   mpathi
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL8   mpathj
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL9   mpathk
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk DATA_VOL10  mpathl
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk BACKUP_VOL1 mpathm
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk BACKUP_VOL2 mpathn
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm createdisk BACKUP_VOL3 mpatho
Writing disk header: done
Instantiating disk: done
[root@jcsjdb01 mapper]# /usr/sbin/oracleasm listdisks
BACKUP_VOL1
BACKUP_VOL2
BACKUP_VOL3
DATA_VOL1
DATA_VOL10
DATA_VOL2
DATA_VOL3
DATA_VOL4
DATA_VOL5
DATA_VOL6
DATA_VOL7
DATA_VOL8
DATA_VOL9
OCR


在节点二执行扫描,识别 asm 盘
[root@jcsjdb02 asm_redhat6.5]# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "OCR"
Instantiating disk "DATA_VOL2"
Instantiating disk "DATA_VOL4"
Instantiating disk "DATA_VOL1"
Instantiating disk "DATA_VOL5"
Instantiating disk "DATA_VOL6"
Instantiating disk "DATA_VOL10"
Instantiating disk "BACKUP_VOL3"
Instantiating disk "DATA_VOL3"
Instantiating disk "BACKUP_VOL1"
Instantiating disk "DATA_VOL8"
Instantiating disk "DATA_VOL9"
Instantiating disk "BACKUP_VOL2"
Instantiating disk "DATA_VOL7"

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

95

主题

266

帖子

1719

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
1719
发表于 2014-10-26 21:29:28 | 显示全部楼层
两个节点分别运行如下脚本,然后贴出来:
multipath -ll

Q Q:107644445
Tel:13429648788
Email:dba@xifenfei.com
个人Blog(惜分飞)
提供专业ORACLE技术支持(数据恢复,安装实施,升级迁移,备份容灾,故障诊断,系统优化等)
回复 支持 反对

使用道具 举报

3

主题

7

帖子

65

积分

注册会员

Rank: 2

积分
65
 楼主| 发表于 2014-10-28 18:38:58 | 显示全部楼层
xifenfei 发表于 2014-10-26 21:29
两个节点分别运行如下脚本,然后贴出来:
multipath -ll

飞总,那个问题解决了。这个报错没有了。但是又出来一个新的问题。我在新的帖子里发下。
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|ORACLE SOS 技术论坛

GMT+8, 2024-12-5 10:21 , Processed in 0.023006 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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