In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
During ORACLE RAC installation, the failure of sharing files using RAW (bare device) or ASM mode due to inconsistent drive letters is one of the most common failures, so it is a necessary step to detect whether the same drive letter of each node corresponds to the same lun in the preparation phase. The way to determine whether it is the same is to query lun id or wwid for comparison. The following summarizes the methods of querying lun ID in AIX and HP-UX systems. Linux can not directly use lun, all generally use udev to make lun into raw for binding after use.
1.AIX method 1
# lscfg-l hdisk*
Hdisk2 U789D.001.DQD3N3L-P1-C2-T1-W202B0080E517F908-L0 MPIO DS5020 Disk
Hdisk3 U789D.001.DQD3N3L-P1-C1-T1-W201A0080E517F908-L1000000000000 MPIO DS5020 Disk
Hdisk4 U789D.001.DQD3N3L-P1-C1-T1-W201A0080E517F908-L2000000000000 MPIO DS5020 Disk
Hdisk0 U789D.001.DQD3N3L-P3-D1 SAS Disk Drive (146800 MB)
Hdisk1 U789D.001.DQD3N3L-P3-D2 SAS Disk Drive (146800 MB)
Method two
# lsattr-El hdisk3 | grep lun_id
Lun_id 0x1000000000000 Logical Unit Number ID False
Method three
# powermt display dev=hdiskpower2 | grep LUN
Logical device ID=6006016040503E00BC6436E0503CE611 [LUN 618]
2.HP-UX
# scsimgr lun_map-D / dev/rdisk/disk17 | grep WWID
World Wide Identifier (WWID) = 0x60022a11000344fc001adc800000000b
3.LINUX
Take RHEL6.5 as an example to complete the configuration of raw through the udev tool. The method here means that the syntax of udev binding is different, but the modified file is the same.
Method 1:
Vi / etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL== "sd*", SUBSYSTEM== "block", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "360060e80122c280050402c2800000f0f", SYM
LINK+= "asmdisk/asm-crs01", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
KERNEL== "sd*", SUBSYSTEM== "block", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "360060e80122c280050402c2800000f10", SYM
LINK+= "asmdisk/asm-crs02", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
Method 2:
Vi / etc/udev/rules.d/99-oracle-asmdevices.rules
KERNEL== "sd*", SUBSYSTEM== "block", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36888603000000009e036390358634090", NAME= "asm-crs01", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
KERNEL== "sd*", SUBSYSTEM== "block", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "3688860300000000be036390358634090", NAME= "asm-crs02", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.