11.2 Grid install RHEL5, oracleasm SAN multipath
Date: Sun, 14 Aug 2011 11:31:34 +0300
Message-ID: <CAMxqFs6PT+otXAGqowDy_mWO6aUvuSubVY--4FtCbUq1OHXeiw_at_mail.gmail.com>
Dear all,
I'm currently installing 11.2 grid infrastructure on a RHEL 5.5 system and trying to configure oracleasm. Storage is on SAN and the native linux multipath driver is used. I'm not the storage expert and unsure which partition to use.
Here is the output of fdisk -l:
Disk /dev/sda: 298.9 GB, 298999349248 bytes 255 heads, 63 sectors/track, 36351 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 36351 291884985 8e Linux LVM
Disk /dev/sdb: 901.9 GB, 901943132160 bytes 255 heads, 63 sectors/track, 109655 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 109655 880803756 8e Linux LVM
Disk /dev/sdc: 901.9 GB, 901943132160 bytes 255 heads, 63 sectors/track, 109655 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 109655 880803756 8e Linux LVM
Disk /dev/dm-3: 901.9 GB, 901943132160 bytes 255 heads, 63 sectors/track, 109655 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-3p1 1 109655 880803756 8e Linux LVM
Disk /dev/dm-4: 901.9 GB, 901943046144 bytes 255 heads, 63 sectors/track, 109654 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
This is the output of /dev/mapper:
TESTORADATA
TESTORADATAp1
VolGroup00-LogVol00 VolGroup00-LogVol01 VolGroup00-testdbs
I read the document "How to Partition DM-Multipath Pseudo Devices (Doc
ID 470913.1)" and "Configuring Oracle ASMLib on Multipath Disks on
Linux (Doc ID 394956.1)".
Is the following assumption right?
/dev/sdb1 and /devsdc1 are the single paths to the storage, /dev/dm3
is the multipath?
In order to use multipath, I configured oracleasm that way: # ORACLEASM_ENABELED: 'true' means to load the driver on boot. ORACLEASM_ENABLED=true
# ORACLEASM_UID: Default user owning the /dev/oracleasm mount point. ORACLEASM_UID=grid
# ORACLEASM_GID: Default group owning the /dev/oracleasm mount point. ORACLEASM_GID=oinstall
# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot. ORACLEASM_SCANBOOT=true
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning ORACLEASM_SCANORDER="dm"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan ORACLEASM_SCANEXCLUDE="sdb sdc"
Which disk must I use when creating the ASM disk for Oracle?
/usr/sbin/oracleasm createdisk CRSVOL1 /dev/dm-3p1
or /dev/dm-3 or /dev/dm-4?
Thank you very much and have a nice day
Manuela Atoui
-- http://www.freelists.org/webpage/oracle-lReceived on Sun Aug 14 2011 - 03:31:34 CDT