Owner's Manual
Deployment Guide 35
To permanently disable SELinux, perform the following steps:
1
Open your
grub.conf
file.
2
Locate the kernel command line and append the following option:
selinux=0
For example:
kernel /vmlinuz-2.6.9-34.ELlargesmp ro root=LABEL=/ apic rhgb quiet
selinux=0
3
Reboot your system.
4
Open a terminal window and log in as
root
.
5
Perform the following steps:
a
Ty p e
service oracleasm configure
b
Type the following input for all the nodes:
Default user to own the driver interface [ ]:
oracle
Default group to own the driver interface [ ]:
dba
Start Oracle ASM library driver on boot (y/n) [n]:
y
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
y
6
In the terminal window, type the following:
service oracleasm createdisk ASM1 /dev/sdb1
service oracleasm createdisk ASM2 /dev/sdc1
7
Repeat step 4 through step 6 for any additional ASM disks that you need to create.
8
Verify that the ASM disks are created and marked for ASM usage.
In the terminal window, type the following and press <Enter>:
service oracleasm listdisks
The disks you created in step 6 are listed in the terminal window.
For example:
ASM1
ASM2