2011年9月4日日曜日

[ASMLIB]EMC PowerPathの場合のお作法

ASMLIBの設定は、基本は前回のやり方だが、
EMC PowerPathの場合はお作法があるので書き留めておく。

前回の方法でやってみると、、

# /etc/init.d/oracleasm createdisk CRS /dev/emcpowera1
Marking disk "/dev/emcpowera1" as an ASM disk: asmtool: Device "/dev/emcpowera1" is not a partition [FAILED]

えっ・・・!!

とかなる。

EMC PowerPath version 5.0.1-5.3はoracleasmコマンドのi/o callを
サポートしていないのが原因だそうです。。。


対応方法は以下の通り。

1.以下のasmtoolコマンドを実行します。
/usr/sbin/asmtool -C -l /dev/oracleasm -n <volumename> -s /dev/<emc device> -a force=yes

例)
/usr/sbin/asmtool -C -l /dev/oracleasm -n CRS -s /dev/emcpowera1 -a force=yes

実行結果は、、、

asmtool: Device "/dev/emcpowera1" is not a partition
asmtool: Continuing anyway

なんだよ。。結局エラーみたいな結果返してきやがる(-_-")
まぁ、正しいと信じるしかない。


2./dev/oracleasm/disks配下のファイルの権限が"root: root"と
なっていることを確認する

# /sbin/service oracleasm restart
も一応実行

それでも権限が変わらないなら、リブートを実行

3.残りのノードでマーキング情報を読み込み
# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks:
[ OK ]

上記2を一応実施

以上、なんだかなぁ・・

参考資料:Doc#469163.1 (My Oracle Support見れる場合はこっち)
Dell™ PowerEdge™ Systems Oracle® Database on Enterprise Linux® x86_64 Troubleshooting Guide Version 4.3 (p14ページ)

1 件のコメント:

  1. とても魅力的な記事でした!!
    また遊びに来ます!!
    ありがとうございます。。

    返信削除