星期六, 12月 27, 2014

Oracle 11g RAC on Aix 重開後ASM instance無法正確mount

看了關於Oracle 11g RAC on Aix 一些資料, 看到關於Aix Disk Lun Header ASM Disk Header 是共用同一個區塊的
在安裝好RAC (ASM disk group initialized) ,  Aix 主機reboot 之後, Aix 會嘗試把Disk header 恢復成之前的狀態, 進而造成Header corruption
所以ASM instance 就辨識不到這些LUN Disks


P.S. 如果在建置初期, 就要告知IBM 工程師, raw disk 的屬性要去除PVID的資訊:
使用以下指令   
chdev -l hdisk5 -a pv=clear

底下連結所提的方法應可以修正之但建議還是須向Oracle SR以確認正確的修正步驟
-----
Corrective Action for ASM Diskgroup with Disks Having PVIDs on AIX (Doc ID 750016.1)

2] This needs downtime:

2.1] Take 'dd' backup of the disk headers

# dd if=/dev/hdisk5 of=/tmp/d5.txt bs=1024 count=1024

2.2] Shutdown ASM instance ( on ALL the nodes in RAC setup ).

2.3] Clear the PVID

# chdev -l hdisk5 -a pv=clear

Run this on ALL the nodes in case of RAC.

2.4] Check the disk does not have the PVID from ALL the nodes

# lspv

2.5] Start the ASM Instance(s) and mount the diskgroup on ALL the nodes


WARNING:
Point-2 commands overrides the content of the disk header and so could be destructive if not correctly used. If you have any doubt, raise an SR with Oracle Support before any action. 


沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...