Start a Conversation

Unsolved

This post is more than 5 years old

1841

December 8th, 2011 08:00

EMC Unified storage preparation for Oracle 11g ASM

Hi,

We are trying to build a Oracle 11.2.0.3 RAC cluster on Solaris x86 servers and EMC VNX 550 unified storage. this is what we did so far:

1. Attached the storage array to servers via fiber cables.

2. Creatd the LUNs and presented to servers.

format>

.

.

.

87. emcpower1p

          /pseudo/emcp@1

      88. emcpower2a

          /pseudo/emcp@2

      89. emcpower3h

          /pseudo/emcp@3

      90. emcpower4d

          /pseudo/emcp@4

      91. emcpower5c

          /pseudo/emcp@5

      92. emcpower6p1

          /pseudo/emcp@6

.

.

.

3. Created a 100 MB partition for ASM disk header and assigned rest of the size for parition/slice 4.

    

Part  Tag Flag Cylinders     Size        Blocks
0 unassigned wm   1 - 13  101.98MB (13/0/0)   208845
  1 unassigned wm   0            0     (0/0/0)         0
  2 backup wu   0 - 22971  175.97GB (22972/0/0) 369045180
  3 unassigned wm   0            0     (0/0/0)         0
  4 unassigned wm  14 - 22971  175.87GB (22958/0/0) 368820270
  5 unassigned wm   0            0     (0/0/0)         0
  6 unassigned wm   0            0     (0/0/0)         0
  7 unassigned wm   0            0     (0/0/0)         0
  8   boot wu   0 - 0    7.84MB (1/0/0)     16065
  9 unassigned wm   0            0     (0/0/0)         0

4. installed and configured emc power path.

# powermt display dev=all |grep emcpower

Pseudo name=emcpower39a

Pseudo name=emcpower7a

Pseudo name=emcpower5a

Pseudo name=emcpower41a

Pseudo name=emcpower40a

Pseudo name=emcpower34a

Pseudo name=emcpower33a

So now the plan is to use the slice 4 of 175.87 GB as ASM candidate disk but we are not sure which one should we pick from the following devices under /dev/rdsk

# ls -ltr /dev/rdsk/emcpower39*

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39a -> ../../devices/pseudo/emcp@39:a,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39b -> ../../devices/pseudo/emcp@39:b,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39c -> ../../devices/pseudo/emcp@39:c,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39d -> ../../devices/pseudo/emcp@39:d,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39e -> ../../devices/pseudo/emcp@39:e,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39f -> ../../devices/pseudo/emcp@39:f,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39g -> ../../devices/pseudo/emcp@39:g,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39h -> ../../devices/pseudo/emcp@39:h,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39i -> ../../devices/pseudo/emcp@39:i,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39j -> ../../devices/pseudo/emcp@39:j,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39k -> ../../devices/pseudo/emcp@39:k,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39l -> ../../devices/pseudo/emcp@39:l,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39m -> ../../devices/pseudo/emcp@39:m,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39n -> ../../devices/pseudo/emcp@39:n,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39o -> ../../devices/pseudo/emcp@39:o,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p -> ../../devices/pseudo/emcp@39:p,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p0 -> ../../devices/pseudo/emcp@39:q,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p1 -> ../../devices/pseudo/emcp@39:r,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p2 -> ../../devices/pseudo/emcp@39:s,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p3 -> ../../devices/pseudo/emcp@39:t,raw

lrwxrwxrwx   1 root     root          34 Dec  1 12:54 /dev/rdsk/emcpower39p4 -> ../../devices/pseudo/emcp@39:u,raw

Can any one please help me to figure out the right device to use as ASM candidate disk?

Rammohan

2 Intern

 • 

1.3K Posts

December 26th, 2011 14:00

which document are you following for Oracle/ASM part? I am not familair with Solaris+ASM combinations, but why do you need to create a separate partition for ASM header?

December 27th, 2011 15:00

I was following document from oracle site, if you dont create small partition ASM will not detect the disks for ASM disk groups. So as for oracle recomendation we have to have a small partition to save the header information.

Thanks,

Rammohan

63 Posts

December 30th, 2011 05:00

Here are some Guidelines for LUNS  added to ASM on Solaris

-              disks should be formatted from  a common  slice, eg slice  0 (As long as it is not S2 which is by default defined as the full disk) e.g.                    /dev/rdsk/emcpowerXa where emcpowerX is the disk and a is slice 0

-              partition/slice should not start at cylinder 0  (leave space for VToC/MBR)

-              change ownership of the device file to the os user/group who owns asm.

-              permissions on the device file should be 660

Oracle Support ID 845467.1 gives the necessary steps to prepare a Solaris disk for ASM:

1. Use fdisk command or fdisk option in format to create and activate Solaris partition

    (if none existed already)

2. Use format to access the Solaris partitions but do not choose the s2 Solaris slice either as

    it represents the whole Solaris disk or any other partition containing cylinder 0.

3. Make sure the /devices path to which /dev/rdsk/emcpower39a is linked to is enabled read/write for oracle user.

Also see Martin Bach's blog for further explanation and an example of installing RAC 11gR2 on Solaris X86-64

 

Hope this helps

Allan

No Events found!

Top