Database Reference
In-Depth Information
All rules reside in /etc/udev/rules.d . Enter the directory, and create a new file. Name the file as 61-asm.rules for
example. It is important that the file ends in “.rules,” otherwise it will not be parsed. The following setting allows the
disks to be discovered by Oracle later, assuming a separation of duties:
KERNEL=="dm-*", PROGRAM="/sbin/scsi_id --page=0x83 --whitelisted --device=/dev/%k",RESULT=="1IET
00010001", OWNER="grid", GROUP="asmdba" MODE="0660"
KERNEL=="sd*", PROGRAM="/sbin/scsi_id --page=0x83 --whitelisted --device=/dev/%k",RESULT=="1IET
00010001", OWNER="grid", GROUP="asmdba" MODE="0660"
You have to restart udev to force the changes to take effect. This can be done without a restart, using the “ udevadm
trigger ” command as root. The last example for this chapter demonstrates the correctness of the setting by launching
a disk discovery from the command line. For example:
[grid@server1 OraInstall2013-08-25_05-22-30PM]$ ./ext/bin/kfod disks=all \
> asm_diskstring='/dev/mapper/*p1'
--------------------------------------------------------------------------------
Disk Size Path User Group
================================================================================
1: 2048 Mb /dev/mapper/OCR001p1 grid asmdba
...
As you can see, the setting is correct and the disk is discovered. Oracle executes the kfod command whenever it
wants to configure ASM disks.
Summary
The groundwork for installing Oracle has been laid in this chapter. In the first half of the chapter the Oracle Linux 6
installation was described in great lengthto help understand the automated installation, which was explained next.
Oracle Linux comes with a great method for automating the installation of the operating system which truly helps
building many servers quickly. Combined with DHCP and DDNS servers could potentially be rolled out very quickly.
Security constraints usually apply and should be taken seriously however, and new servers should be built in a secure
network before they can be hardened and made production ready.
After the installation of the operating system, you need to prepare the server for the Oracle database installation.
Additional packages are to be installed, users are to be created and kernel parameters need to be adjusted; all pretty
much standard Oracle day-to-day operations. Finally storage setup was described using the device-mapper-multipath
package and how it changed in Oracle Linux 6. This should give you a solid foundation to proceed with the next tasks:
the installation of the Oracle binaries.
 
Search WWH ::




Custom Search