- 最后登录
- 2018-9-7
- 在线时间
- 113 小时
- 威望
- 0
- 金钱
- 563
- 注册时间
- 2012-5-28
- 阅读权限
- 10
- 帖子
- 28
- 精华
- 0
- 积分
- 0
- UID
- 461
|
1#
发表于 2013-6-10 10:58:40
|
查看: 5887 |
回复: 2
硬件环境:两台浪潮服务器NF8420M3,一台浪潮AS400G2存储,采用光纤直连方式
操作系统:linux 5.5 X64
数据库系统:oracle 11.2.0.3 X64
问题描述:在安装RAC GRID时第一台服务器执行/u01/app/11.2.0/grid/root.sh脚本是正常安装,在第二台服务器上执行/u01/app/11.2.0/grid/root.sh脚本时报ORA-15018,ORA-15031,ORA-15037错误导致ASM实例无法配置成功。
初步检查:两边的磁盘状况,
db1:Disk /dev/sdb: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 10240 10485744 83 Linux
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 10240 10485744 83 Linux
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 10240 10485744 83 Linux
Disk /dev/sde: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 101985 819194481 83 Linux
Disk /dev/sdf: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 101985 819194481 83 Linux
Disk /dev/sdg: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdg1 1 101985 819194481 83 Linux
Disk /dev/sdh: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdh1 1 101985 819194481 83 Linux
Disk /dev/sdi: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdi1 1 101985 819194481 83 Linux
[root@db1 crsconfig]# ls -l /dev/asm*
brw-rw---- 1 grid asmadmin 8, 17 Jun 10 10:53 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 33 Jun 10 10:53 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 49 Jun 10 10:53 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 65 Jun 9 19:40 /dev/asm-diske
brw-rw---- 1 grid asmadmin 8, 81 Jun 9 19:40 /dev/asm-diskf
brw-rw---- 1 grid asmadmin 8, 97 Jun 9 19:40 /dev/asm-diskg
brw-rw---- 1 grid asmadmin 8, 113 Jun 9 19:40 /dev/asm-diskh
brw-rw---- 1 grid asmadmin 8, 129 Jun 9 19:40 /dev/asm-diski
第二台服务器:
db2:Disk /dev/sdb: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 10240 10485744 83 Linux
Disk /dev/sdc: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 10240 10485744 83 Linux
Disk /dev/sdd: 10.7 GB, 10737418240 bytes
64 heads, 32 sectors/track, 10240 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 10240 10485744 83 Linux
Disk /dev/sde: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sde1 1 101985 819194481 83 Linux
Disk /dev/sdf: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdf1 1 101985 819194481 83 Linux
Disk /dev/sdg: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdg1 1 101985 819194481 83 Linux
Disk /dev/sdh: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdh1 1 101985 819194481 83 Linux
Disk /dev/sdi: 838.8 GB, 838860800000 bytes
255 heads, 63 sectors/track, 101985 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdi1 1 101985 819194481 83 Linux
[root@db2 crsconfig]# ls -l /dev/asm*
brw-rw---- 1 grid asmadmin 8, 17 Jun 9 21:38 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 8, 33 Jun 9 21:38 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 8, 49 Jun 9 21:38 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 8, 65 Jun 9 21:38 /dev/asm-diske
brw-rw---- 1 grid asmadmin 8, 85 Jun 9 21:38 /dev/asm-diskf
brw-rw---- 1 grid asmadmin 8, 97 Jun 9 21:38 /dev/asm-diskg
brw-rw---- 1 grid asmadmin 8, 117 Jun 9 21:38 /dev/asm-diskh
brw-rw---- 1 grid asmadmin 8, 133 Jun 9 21:38 /dev/asm-diski
用UDEV来绑定磁盘的过程是:在第一台上对磁盘进行格式如fdisk /dev/sdb 新建一个主的磁盘再保持依次,再在第二台服务器fdisk -l 扫描下,在使用MACLEAN提供的脚本for i in b c d e f g h i ;
do
echo "KERNEL==\"sd*\", BUS==\"scsi\", PROGRAM==\"/sbin/scsi_id -g -u -s %p\", RESULT==\"`scsi_id -g -u -s /block/sd$i`\", NAME=\"asm-disk$i\", OWNER=\"grid\", GROUP=\"asmadmin\", MODE=\"0660\""
done
执行写入99-oracle-asmdevices.rules规则中。具体的日志保持请看附件 |
|