Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Database \ Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6     - React Getting Started Tutorial (Linux)

- Linux POST fstab configuration file read-only variable can not be modified problem (Linux)

- Linux dmidecode command detail (Linux)

- Oracle users to automatically increase the partition table (Database)

- Achieve camera preview by ffplay (Linux)

- Oracle view object space usage show_space (Database)

- How to experience Unity 8 Mir on Ubuntu 16.04 (Linux)

- SSH automatic disconnection problem solving (Linux)

- Use PuTTY key authentication mechanism for remote login Linux (Linux)

- Linux Firewall Builder shorewall (Linux)

- Linux find and xargs (Linux)

- Workaround CentOS error message during compilation PHP5 common (Linux)

- Linux command line ten magic usage (Linux)

- Lua regex (string function) (Programming)

- Docker build their own private warehouses (Linux)

- Linux supports serial output method (Linux)

- To install and use Docker under linux (Server)

- Use Mop monitor stock prices at the Linux command line (Linux)

- extundelete: the Linux-based open source data recovery tools (Linux)

- To resolve Ubuntu 14.04 Unity Desktop Environment Login freeze problem (Linux)

 
         
  Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6
     
  Add Date : 2018-11-21      
         
         
         
  UDEV ASMDisk Configuration
 Because Oracle could not support RHEL6 series ASMLib, so we can change the way Udev configuration ASMDisk, detailed as follows:
 
Priority use of udev configure ASM storage block device information.
 
1. Make sure the package is installed udev
 [Root @ rac01 ~] # rpm -qa | grep udev
 udev-147-2.40.el6.x86_64
 
2. Obtain information system hard disk WWID
 (1) Oracle Linux 5 with the following command
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -s / block / sdb
 SATA_VBOX_HARDDISK_VBd306dbe0-df3367e3_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -s / block / sdc
 SATA_VBOX_HARDDISK_VB46dec7e0-192e8000_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -s / block / sdd
 SATA_VBOX_HARDDISK_VBce8c63bb-ac67a172_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -s / block / sde
 SATA_VBOX_HARDDISK_VB7437a3b7-95b199cd_
 
(2) Oracle Linux 6 with the following command
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -d / dev / sdb
 SATA_VBOX_HARDDISK_VBd306dbe0-df3367e3_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -d / dev / sdc
 SATA_VBOX_HARDDISK_VB46dec7e0-192e8000_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -d / dev / sdd
 SATA_VBOX_HARDDISK_VBce8c63bb-ac67a172_
 [Root @ rac01 ~] # / sbin / scsi_id -g -u -d / dev / sde
 SATA_VBOX_HARDDISK_VB7437a3b7-95b199cd_
 3. / dev / sdb 4G hard disk divided into two main areas, each area 2G, in order to achieve redundancy OCR information
 [Root @ rac01 ~] # fdisk / dev / sdb
 
4. / dev / sdc 8G hard disk divided into four logical, one for each region 2G, to store data files
 [Root @ rac01 ~] # fdisk / dev / sdc
 
5. Configure udev configuration file
 Important: Each profile a behavior rule, and, (comma) between the lower one of the words and spaces.
 [Root @ rac01 ~] # cd /etc/udev/rules.d/
 [Root @ rac01 rules.d] # vi 99-oracle-asmdisk.rules
 (1) Oracle Linux 5 with the following parameters
 KERNEL == "sd? [1-2]", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -s / block / $ parent", RESULT == "SATA_VBOX_HARDDISK_VBd306dbe0-df3367e3_", NAME = "asm-disk1", ​​OWNER = "grid", GROUP = "asmadmin", MODE = "0660"
 KERNEL == "sd? [5-8]", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -s / block / $ parent", RESULT == "SATA_VBOX_HARDDISK_VB46dec7e0-192e8000_", NAME = "asm-disk2", OWNER = "grid", GROUP = "asmadmin", MODE = "0660"
 KERNEL == "sd? 1", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -s / block / $ parent", RESULT == "SATA_VBOX_HARDDISK_VBce8c63bb-ac67a172_", NAME = "asm -disk3 ", OWNER =" grid ", GROUP =" asmadmin ", MODE =" 0660 "
 KERNEL == "sd? 1", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -s / block / $ parent", RESULT == "SATA_VBOX_HARDDISK_VB7437a3b7-95b199cd_", NAME = "asm -disk4 ", OWNER =" grid ", GROUP =" asmadmin ", MODE =" 0660 "
 
 
 
(2) Oracle Linux 6 with the following parameters
 KERNEL == "sd? [1-2]", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -d / dev / $ parent", RESULT == "SATA_VBOX_HARDDISK_VBd306dbe0-df3367e3_", NAME = "asm-disk1", ​​OWNER = "grid", GROUP = "asmadmin", MODE = "0660"
 KERNEL == "sd? [5-8]", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -d / dev / $ parent", RESULT == "SATA_VBOX_HARDDISK_VB46dec7e0-192e8000_", NAME = "asm-disk2", OWNER = "grid", GROUP = "asmadmin", MODE = "0660"
 KERNEL == "sd? 1", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -d / dev / $ parent", RESULT == "SATA_VBOX_HARDDISK_VBce8c63bb-ac67a172_", NAME = "asm -disk3 ", OWNER =" grid ", GROUP =" asmadmin ", MODE =" 0660 "
 KERNEL == "sd? 1", BUS == "scsi", PROGRAM == "/ sbin / scsi_id -g -u -d / dev / $ parent", RESULT == "SATA_VBOX_HARDDISK_VB7437a3b7-95b199cd_", NAME = "asm -disk4 ", OWNER =" grid ", GROUP =" asmadmin ", MODE =" 0660 "
 6. Confirm normal configuration, the correct block device permissions
 # Cd / dev
 # Ls -al asm-disk *
 brw-rw-- 1 grid asmadmin 8, 17 Apr 8 22:47 asm-disk1
 brw-rw-- 1 grid asmadmin 8, 33 Apr 8 22:47 asm-disk2
 brw-rw-- 1 grid asmadmin 8, 49 Apr 8 22:47 asm-disk3
 brw-rw-- 1 grid asmadmin 8, 65 Apr 8 22:47 asm-disk4
     
         
         
         
  More:      
 
- PostgreSQL log classification and management (Database)
- How to use static, class, abstract method in Python (Programming)
- Ubuntu installed Gimp 2.6.11 (stable version) with PPA (Linux)
- Linux5 install MySQL 5.6 (RPM mode) (Database)
- Disk Management LVM (Linux)
- How to Upgrade Ubuntu GNOME 14.10 to GNOME 3.16 Desktop (Linux)
- Oracle PL / SQL based cursor (Database)
- Ubuntu amend resolv.conf restart failure problem (Linux)
- Use lsof restore accidentally deleted log files or database (Linux)
- CentOS 7.0 local address and configure yum source address priority (Linux)
- Programmer editor Vim (Linux)
- Ubuntu 14.04 configure JDK1.8.0_25, switchable version (Linux)
- Php and MySQL command add to the environment variable method in Linux system (Linux)
- MySQL EXPLAIN SQL output description (Database)
- Hadoop + Zookeeper NameNode achieve high availability (Server)
- tar decompression problems gzip: stdin: not in gzip format (Linux)
- Ubuntu configuration SVN and http mode access (Server)
- After installation of Debian 6.0 do a few things first (Linux)
- How to use the tab in Vim carried Python code completion (Linux)
- Oracle database NUMBER (x, y) data types (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.