In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to configure the 99-oracle-asmdevices.rules of RAC_UDEV, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Partition 1 whose wwid is 3600c0ff0001001cd78cdaa4e02000000 corresponds to / dev/udev1, partition 2 corresponds to / dev/udev2, and partition 3 corresponds to / dev/udev3
If you configure OWNER= "grid" and GROUP= "asmadmin", you must also add asmadmin permission to the oracle user, usermod-a-G asmadmin oracle
By partition
/ etc/udev/rules.d/99-oracle-asmdevices.rules configuration for LINUX 5 (/ block/$parent)
KERNEL== "sda1", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / block/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev1", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
KERNEL== "sda2", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / block/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev2", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
KERNEL== "sda3", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / block/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev3", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
/ etc/udev/rules.d/99-oracle-asmdevices.rules configuration for LINUX 6 (/ dev/$parent)
KERNEL== "sda1", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / dev/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev1", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
KERNEL== "sda2", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / dev/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev2", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
KERNEL== "sda3", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-d / dev/$parent", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev3", OWNER= "grid", GROUP= "oinstall", MODE= "0660"
Press disk (% p)
LINUX 5
LINUX 6
/ etc/udev/rules.d/99-oracle-asmdevices.rules configuration can be as follows
KERNEL== "sda", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-s% p", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
LINUX 6 can also be listed separately as follows (/ dev/$name)
Echo "options=--whitelisted-- replace-whitespace" > > / etc/scsi_id.config
KERNEL== "sda", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "3600c0ff0001001cd78cdaa4e02000000", NAME= "udev", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
Oracle official fault documentation recommends the following (% p)
How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM? (document ID 1528148.1)
[root@asmlnx2 ~] # vi / etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL== "xv*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-g-u-s% p", RESULT== "360a98000375331796a3f434a55354474", NAME= "asmdisk1_udev_p1", ACTION== "add | change", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
$parent refers to the parent node device in the Kernel value
% p is the path for the current device
Thank you for reading this article carefully. I hope the article "how to configure the 99-oracle-asmdevices.rules of RAC_UDEV" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.