|
Pages: [1]
|
 |
|
Author
|
Topic: GOVX Install Notes (Read 284 times)
|
|
admin
|
This note is about the setup of /etc/udev/permissions.d/49-oracle-permissions file. This is how I set up this file on PRET:
db01.pret():/etc/udev/permissions.d >
# ASM raw/raw[6-9]:oracle:oinstall:0660 raw/raw10:oracle:oinstall:0660 # OCR raw/raw[12]:oracle:oinstall:0660 # Voting raw/raw[3-5]:oracle:oinstall:0660
Here are the raw device mappings in directory /dev/raw (also PRET)
crw-rw---- 1 root oinstall 162, 1 Feb 28 03:21 raw1 crw-rw---- 1 root oinstall 162, 2 Feb 28 03:21 raw2 crw-rw---- 1 oracle oinstall 162, 3 Feb 28 03:21 raw3 crw-rw---- 1 oracle oinstall 162, 4 Feb 28 03:21 raw4 crw-rw---- 1 oracle oinstall 162, 5 Feb 28 03:21 raw5 crw-rw---- 1 oracle oinstall 162, 6 Feb 28 03:21 raw6 lrwxrwxrwx 1 root root 13 Feb 28 03:21 ocr01.dat -> /dev/raw/raw1 lrwxrwxrwx 1 root root 13 Feb 28 03:21 ocr02.dat -> /dev/raw/raw2 lrwxrwxrwx 1 root root 13 Feb 28 03:21 css01.dat -> /dev/raw/raw3 lrwxrwxrwx 1 root root 13 Feb 28 03:21 css02.dat -> /dev/raw/raw4 lrwxrwxrwx 1 root root 13 Feb 28 03:21 spfile+ASM.ora -> /dev/raw/raw5
Settings in /etc/rc.local
db01.pret():/dev/raw > more /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff.
touch /var/lock/subsys/local /sbin/modprobe hangcheck-timer
#ln -s /dev/raw/raw5 /dev/raw/css03.dat #ln -s /dev/raw/raw10 /dev/raw/spfile+ASM.ora
ln -s /dev/raw/raw1 /dev/raw/ocr01.dat ln -s /dev/raw/raw2 /dev/raw/ocr02.dat ln -s /dev/raw/raw3 /dev/raw/css01.dat ln -s /dev/raw/raw4 /dev/raw/css02.dat ln -s /dev/raw/raw5 /dev/raw/spfile+ASM.ora #ln -s /dev/raw/raw6 /dev/raw/spfile+ASM.ora
chown root:oinstall /dev/raw/raw[1-2] chown oracle:oinstall /dev/raw/raw[3-6]
|
|
|
|
« Last Edit: May 27, 2009, 03:04:38 pm by admin »
|
Logged
|
|
|
|
|
|
Pages: [1]
|
|
|
 |