Installing CRS on EL5

Наконец хоть какие-то идеи как изменять права на устройства в EL5
Пока сам это не не проверял

"
Udev syntax has nominally changed between EL4 and EL5.
You've not explicitly stated it, but as you're installing RAC, I'm assuming you're intention for /dev/sda5(?) is for raw clusterware files?
If so, be aware of 1.) raw deprecation in EL5, 2.) the potential for non-persistency of kernel assigned device naming.

Having said that, based on the following rule examples, you might some permutation of the following (verified to work), then restart udev:

-- /etc/udev/rules.d/20-names.rules
KERNEL=="sd*",OPTIONS+="last_rule",NAME="sdd%n",NAME="sde%n", OWNER="crs", GROUP="oinstall", MODE="660"
#eof
Factoring the potential for non-persistent udev device naming, you can configure/use scsi_id to query for a named device, then have your rule match for that value eg.
-- /etc/udev/rules.d/20-names.rules
KERNEL=="sd*",PROGRAM="/sbin/scsi_id",RESULT=="149455400000000000000000005000000761000000d000000",OPTIONS+="last_rule",NAME="ora/sdora%n",OWNER="root",GROUP="oinstall",MODE="660"
# ls -l /dev/ora/sdora*
brw-rw---- 1 root oinstall 8, 48 Sep 6 18:30 /dev/ora/sdora
brw-rw---- 1 root oinstall 8, 49 Sep 6 18:30 /dev/ora/sdora1
brw-rw---- 1 root oinstall 8, 50 Sep 6 18:30 /dev/ora/sdora2
"




Комментариев нет:

Отправить комментарий