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
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?
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.
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
SKT2
2 Intern
•
1340 Posts
607
0
Posted 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?