はじめに
仮想SCSI (virtual scsi/ vscsi) 環境で AIX のOSバージョンアップした後に、rw_timeout 値が vscsi アダプター属性に存在せず hdisk 属性にあることについて、何度か同じ質問を受けたので情報連携で Qiita にも記載します。
AIX 7.2TL5 では rw_timeout 値は hdisk に存在しています。
下記はご参考資料です。
参考
Multipathing and disk resiliency with VSCSI in a dual VIOS configuration.
(抜粋)
The Read Write timeout
The « rw_timeout » value was introduced in AIX 6.1 TL9, it was first designed as an attribute of the vscsi adapter. But starting AIX 7.2 TL5 the rw_timeout is now a disk attribute. This change was introduced because depending on the backing device type the recommended value can be different, and a single vscsi adapter might address different backing device.
設定変更方法
- Before AIX 7.2 TL05:
# chdev -l vscsiYY -a rw_timeout=xx -P
- After AIX 7.2 TL05:
# chdev -l hdiskX -a rw_timeout=xx -P
・chdev コマンド
https://www.ibm.com/docs/ja/aix/7.2?topic=c-chdev-command
-P オプション:実際にデバイスを変更することなく、デバイスの特性をカスタマイズ・デバイス・オブジェクト・クラスで永久に変更します。 これは、使用不可にすることができなくて、使用可能状態のときには変更することもできないデバイスの場合に便利です。 変更はデータベースに加えられ、変更がデバイスに適用されるのは、システムを リブートしたときです。このフラグは、-T フラグと共には使用できません。 どのデバイスも -P フラグをサポートしているわけではありません。
その他 参考ドキュメント
・MPIO デバイス属性
https://www.ibm.com/docs/ja/aix/7.2?topic=io-mpio-device-attributes
・IBM AIX MPIO Best Practices and Considerations
https://www.ibm.com/support/pages/node/6325339
・vscsi(Virtual SCSI) と NPIV(N Port ID Virtualization) の比較概念図
https://www.ibm.com/support/pages/vscsi-virtual-scsi-diagram-and-npiv-n-port-id-virtualization-or-virtual-fibre-channel-diagram
以上です。