1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AIX (VIOC)の fcs が どのVIOS のfcs, vfchost に繋がっているかを確認する方法

Posted at
はじめに

AIX (VIO Client) から、VIOS の fcs、vfchost のマッピングが AIX から確認できます。
今まででは VIOS や HMC を含めて確認していましたが、この方法ではAIX (VIOC)からのみで確認が可能す。

他の方から以下のリンク教えていただいた内容ですが便利なので情報共有でこちらにも記載します。

・Which VIOS serves my Virtual FC adapters?
http://gibsonnet.net/blog/cgaix/html/lsviofcs.html


環境

VIOS - VIOC 構成

・AIX 7.2 TL5SP3 以降
・VIOS 3.1.3.00 以降


確認方法

/proc/sys/adapter/fc/fcsX/hostinfo の内容を確認します。
fcs の数だけ実施

# export myfcslist=`cd /proc/sys/adapter/fc ; ls -d fcs*`

# for i in $myfcslist
> do
> echo $i
> cat /proc/sys/adapter/fc/$i/hostinfo
> echo
> done

実行結果の出力

fcs0
VFC client adapter name                   : fcs0
Host partition name  (VIOS)               : VIOS1
VFC host adapter name                     : vfchost0
VFC host adapter location code            : U9009.22A.XXXXXXX-V1-C2
FC adapter name on VIOS                   : fcs3
FC adapter location code  on VIOS         : U78CD.001.FZXXX49-P2-C2-T1

fcs1
VFC client adapter name                   : fcs1
Host partition name  (VIOS)               : VIOS2
VFC host adapter name                     : vfchost0
VFC host adapter location code            : U9009.22A.XXXXXXX-V2-C3
FC adapter name on VIOS                   : fcs1
FC adapter location code  on VIOS         : U78CD.001.FZXXX87-P2-C5-T1

fcs2
VFC client adapter name                   : fcs2
Host partition name  (VIOS)               : VIOS1
VFC host adapter name                     : vfchost1
VFC host adapter location code            : U9009.22A.XXXXXXX-V1-C3
FC adapter name on VIOS                   : fcs1
FC adapter location code  on VIOS         : U78CD.001.FZXXX87-P1-C2-T1

fcs3
VFC client adapter name                   : fcs3
Host partition name  (VIOS)               : VIOS2
VFC host adapter name                     : vfchost1
VFC host adapter location code            : U9009.22A.XXXXXXX-V2-C4
FC adapter name on VIOS                   : fcs3
FC adapter location code  on VIOS         : U78CD.001.FZXXX58-P1-C2-T1

上の例では VIOC の fcs0 は VIOS1 の vfchost0 と fcs3 に紐づいています。

ご参考まで、以上です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?