In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly explains "rhel7.0 how to configure ASM disk", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "rhel7.0 how to configure ASM disk" bar!
Configure ASM disks and bind with udev
Recently, I encountered the problem of configuring ASM disk when installing 12c RAC on rhel 7.0. I rewrote a script and tested it.
1. The virtual machine needs to be added in the vmx file to display the UUID
Disk.enableUUID = "TRUE"
two。 Create / etc/udev/rules.d/99-my-asmdevices.rules
Step 1 (can be omitted)
# rm-rf / etc/udev/rules.d/99-my-asmdevices.rules
Step 2 (create file)
# for i in b c d
Do
Echo "KERNEL==\" sd*\ ", ENV {DEVTYPE} = =\" disk\ ", SUBSYSTEM==\" block\ ", PROGRAM==\" / usr/lib/udev/scsi_id-g-u-d\ $devnode\ ", RESULT==\" `/ usr/lib/udev/scsi_id-g-u / dev/sd$ i`\ ", RUN+=\" / bin/sh-c 'mknod / dev/asmdisk$i b\ $major\ $minor; chown grid:asmadmin / dev/asmdisk$i Chmod 0660 / dev/asmdisk$i'\ "> > / etc/udev/rules.d/99-my-asmdevices.rules
Done
Step 3
# / sbin/udevadm trigger-type=devices-action=change
Step 4 (verify the disk)
# ls / dev/asm*
/ dev/asmdiskb / dev/asmdiskc / dev/asmdiskd
Thank you for reading, the above is the content of "how to configure ASM disk in rhel7.0". After the study of this article, I believe you have a deeper understanding of how to configure ASM disk in rhel7.0, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.