Linux6.6 and above configuration oracle-asm shared storage-udev

Source: Internet
Author: User
Tags uuid

Before the linux6.6 release, we can configure ASM shared disks in two ways, one is to install the ASM driver package for ASM Disk group configuration, and the other is to use the ASM Disk group configuration by identifying the shared storage UUID number.

However, after the linux6.6, the manufacturers no longer provide ASM driver packages, can only be configured through Udev mode, below we look at the steps to use Udev configuration:

Operating system: CentOS Linux 6.6

Shared storage: HDA mapped emcpower bare device

First, we go to the Udev Road to open the service, and then use the command to output the UUID of these bare devices, the UUID can be understood as a sequence number of the drive letter.

[Email protected] ~]# CD/ETC/UDEV/RULE.D

[Email protected] rules.d]# Start_udev
Starting udev: [OK]

[Email protected] ~]#/sbin/scsi_id-g-u-d/dev/emcpower*

Or you can use the following shell script to get

For I in C D E F g h i
Do
echo "kernel==\" emcpower*\ ", bus==\" scsi\ ", program==\"/sbin/scsi_id--whitelisted--replace-whitespace--device=/ Dev/\emcpower$i\ ", result==\" '/sbin/scsi_id--whitelisted--replace-whitespace--device=/dev/emcpower$i ' \ ", NAME=\" Asm-disk$i\ ", owner=\" grid\ ", group=\" asmadmin\ ", mode=\" 0660\ ""
Done

Linux6.6 and above configuration oracle-asm shared storage-udev

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.