solaris sparc的zone下oracle 10g RAC识别共享盘的问题 — oracle-tech

    Forum Stats

  • 3,708,682 Users
  • 2,241,109 Discussions
  • 7,840,531 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

solaris sparc的zone下oracle 10g RAC识别共享盘的问题

user1441931user1441931 Posts: 1
edited July 2014 in 中间件

有一个关于solaris的zone下安装RAC的问题想请教:

                        

                         控制域上的其中一块儿硬盘信息如下(硬盘容量200M):

AVAILABLE DISK SELECTIONS:
1. c0t6000144000000010306961B8D0322FAAd0 <EMC-Invista-5210 cyl 98 alt 2 hd 16 sec 256>
/scsi_vhci/[email protected]

[email protected]:/dev/rdsk# ls -lt c0t6000144000000010306961B8D0322FAAd0*
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s7 -> ../../devices/scsi_vhci/[email protected]:h,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s6 -> ../../devices/scsi_vhci/[email protected]:g,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s5 -> ../../devices/scsi_vhci/[email protected]:f,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s4 -> ../../devices/scsi_vhci/[email protected]:e,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s3 -> ../../devices/scsi_vhci/[email protected]:d,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s2 -> ../../devices/scsi_vhci/[email protected]:c,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s1 -> ../../devices/scsi_vhci/[email protected]:b,raw
lrwxrwxrwx 1 root root 67 Jun 25 09:24 c0t6000144000000010306961B8D0322FAAd0s0 -> ../../devices/scsi_vhci/[email protected]:a,raw



Specify disk (enter its number): 1
selecting c0t6000144000000010306961B8D0322FAAd0
[disk formatted]
Primary label contents:
Volume name = < >
ascii name = <EMC-Invista-5210 cyl 98 alt 2 hd 16 sec 256>
pcyl = 100
ncyl = 98
acyl = 2
nhead = 16
nsect = 256
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 7 16.00MB (8/0/0) 32768
1 swap wu 8 - 23 32.00MB (16/0/0) 65536
2 backup wu 0 - 97 196.00MB (98/0/0) 401408
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 24 - 97 148.00MB (74/0/0) 303104
7 unassigned wm 0 0 (0/0/0) 0


我把c0t6000144000000010306961B8D0322FAAd0s2分配给了ldg2

ldm add-vdsdev /dev/dsk/c0t6000144000000010306961B8D0322FAAd0s2 [email protected]
ldm add-vdisk ocr1 [email protected] ldg2

ldm list-bindings ldg2

ocr1 [email protected] 2 [email protected] primary


在ldg上能看到这块儿盘的如下信息:

AVAILABLE DISK SELECTIONS:
2. c0d2 <EMC-Invista-5210 cyl 98 alt 2 hd 16 sec 256>

/[email protected]/[email protected]/[email protected]    

[email protected] # cd /dev/rdsk
[email protected] # ls -lt c0d2*
lrwxrwxrwx 1 root root 66 Jun 30 09:05 c0d2s7 -> ../../devices/[email protected]/[email protected]/[email protected]:h,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s6 -> ../../devices/[email protected]/[email protected]/[email protected]:g,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s5 -> ../../devices/[email protected]/[email protected]/[email protected]:f,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s4 -> ../../devices/[email protected]/[email protected]/[email protected]:e,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s3 -> ../../devices/[email protected]/[email protected]/[email protected]:d,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s2 -> ../../devices/[email protected]/[email protected]/[email protected]:c,raw
lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s1 -> ../../devices/[email protected]/[email protected]/[email protected]:b,raw

lrwxrwxrwx 1 root root 66 Jun 26 10:18 c0d2s0 -> ../../devices/[email protected]/[email protected]/[email protected]:a,raw

我在虚机上使用zonecfg -z zone1

中的add device set match=/dev/rdsk/c0d2s2命令把磁盘分配给zone1,但是在RAC存储环境校验时却不能通过。

bash-3.2$ ./cluvfy comp ssa -n node1,node2 -s /dev/rdsk/c0d2s2


Verifying shared storage accessibility

Checking shared storage accessibility...

ERROR: /dev/rdsk/c0d2s2
Could not get the type of storage


Shared storage check failed on nodes "dpndbtest1s,dpndbtest1".

Verification of shared storage accessibility was unsuccessful on all the nodes.

我该如何把这块儿硬盘划分给zone,能够让oracle 10g RAC 识别出这是一块儿共享盘呢?

Tagged:
This discussion has been closed.