Using ASMLib reduces ASM instance startup time.
Volume names are consistent across servers, whereas raw device names can differ from
server to server; a volume name more easily identifies the disk device on a given node.
Performance of ASM diskgroups is improved.
After installation of the ASMLib oracleasm packages, configure each node in your cluster
using the oracleasm command as follows:
[root@oc1 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting
without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: oracle
Default group to own the driver interface []: oinstall
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
[root@oc1 ~]#
Be sure to remove or comment out the raw disk definitions on each node of the cluster from /
etc/sysconfig/rawdevices for the raw disks that will be used for ASM disk groups:
# raw device bindings
# format:
#
?–
?–
?–
?–
Chapter 10: Real Application Clusters 359
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
#/dev/raw/raw1 /dev/sdc1
#/dev/raw/raw2 /dev/sdd1
#/dev/raw/raw3 /dev/sde1
#/dev/raw/raw4 /dev/sdf1
/dev/raw/raw5 /dev/sdg1
/dev/raw/raw6 /dev/sdh1
/dev/raw/raw7 /dev/sdi1
/dev/raw/raw8 /dev/sdj1
/dev/raw/raw9 /dev/sdl1
The remaining raw devices will be used for the OCR disk, voting disk, and mirrors for each and
are not managed through the oracleasm library.
Pages:
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578