博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何诊断ASMLIB故障
阅读量:5863 次
发布时间:2019-06-19

本文共 1793 字,大约阅读时间需要 5 分钟。

虽然我并不推荐你使用ASMLIB绑定设备名, 详见这篇文章 。  但大概因为介绍ASMLIB的文章远多于UDEV的缘故, 导致有大量对RAC安装配置不太熟悉的朋友仍执意采用ASMLIB,又因为ASMLIB的配置不算太简单所以在实际安装RAC之前的ASMLIB实施过程中有不少人遇到了问题, 其次在ASMLIB的使用过程中麻烦也不少。 这里总结了一下ASMLIB的诊断思路, 如下脚本:  
cat /etc/sysconfig/oracleasm1) uname -a2) rpm -qa | grep ^oracleasm3) rpm -V oracleasmlib4) multipath -ll1) output of command line# rpm -V oracleasm-support# /etc/init.d/oracleasm scandisks# /etc/init.d/oracleasm listdisks# ls -l -R /dev/oracleasm/# ls -l /etc/sysconfig/oracleasm# cat /etc/sysconfig/oracleasm# mount2) oracleasm log file/var/log/oracleasm3) sosreportBy default the "sos" package should be installed into EL4u6 or later.(If not, please download the sos package from ULN https://linux.oracle.com)You just need type command "sosreport" as root user, and press "Enter" or "yes" for all the questions.The sosreport will run for several minutes, according to different system, the running time might be more longer.Once completed, "sosreport" will generate a compressed sosreport-xx-xx.bz2 file under /tmp. [summary]- confirm system build asm disk on muoltipath devices- modify /etc/udev/rules.d.90-dm.rules- currently both nodes could find the asm disk from scandisks and listdisks- sharon.honor will try installer again, if necessary need get help from application(RAC) team1. Reboot the box.2. Run the following commands#fdisk -l#multipath -ll#blkid#cat /etc/sysconfig/oracleasm#cat /etc/sysconfig/oracleasm-_dev_oracleasm#uptime#/etc/init.d/oracleasm start#/etc/init.d/oracleasm listdisks#uptime#/etc/init.d/oracleasm scandiskPlease also modify the /etc/sysconfig/oracleasm-_dev_oracleasm with below.ORACLEASM_SCANORDER="dm"ORACLEASM_SCANEXCLUDE="sd"The devices that asmlib will scan is controlled in the /etc/sysconfig/oracleasm file with the "scanorder" and "scanexclude" parameters.

转载地址:http://yxunx.baihongyu.com/

你可能感兴趣的文章
htpasswd
查看>>
Android窗口机制(三)Window和WindowManager的创建与Activity
查看>>
Android 编译出错解决
查看>>
iOS--The request was denied by service delegate (SBMainWorkspace) for reason:
查看>>
Android 打开WIFI并快速获取WIFI的信息
查看>>
Spring boot 入门篇
查看>>
【IOS开发】GDataXML解析XML
查看>>
Iptables
查看>>
我的友情链接
查看>>
GridView多行多列合并单元格(指定列合并)
查看>>
什么是DDOS攻击?怎么防御?
查看>>
状态模式(State Pattern)
查看>>
log4j日志框架学习
查看>>
function 与 => 的区别
查看>>
VBScript:写excel的例子
查看>>
TYVJ P1077 有理逼近 Label:坑,tle的好帮手 不懂
查看>>
面试题:缓存Redis与Memcached的比较 有用
查看>>
通过UIWebView加载读取本地文件
查看>>
由于缺少证书链,导致Android手机提示网站不安全
查看>>
EXCEL自动撤销合并单元格并填充相应内容(转帖)
查看>>