I would like to know if it is possible, from a virtualized AIX LPAR, to know what are the VIOS that is "serving" that LPAR without ask it to the HMC because I don't have any HMC access from the LPAR.
In other words, is there a way from AIX only running into the LPAR to know from which VIOS that LPAR is depending on ?
I tried to find some way to do that but didn't succeed.
If any idea, thanks to post an update.
Thanks in advance and best regards.
This topic has been locked.
3 replies Latest Post - 2012-06-06T20:35:59Z by sfoster
Pinned topic From an AIX LPAR, how to know which VIOS is serving that LPAR ?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-06-06T20:35:59Z at 2012-06-06T20:35:59Z by sfoster
SystemAdmin 110000D4XK1744 PostsACCEPTED ANSWER
Re: From an AIX LPAR, how to know which VIOS is serving that LPAR ?2012-06-01T16:10:46Z in response to patricequetHi Patrice,
If virtualized lpar is connected to SAN trough NPIV you can use theses commands :
- List fcs adapters on virtualized lpar :
# lsdev -Cc adapter | grep fcs fcs0 Available 10-T1 Virtual Fibre Channel Client Adapter fcs1 Available 11-T1 Virtual Fibre Channel Client Adapter
- Find associted VIOS with KDB :
# kdb The specified kernel file is a 64-bit kernel. [..] (0)> vfcs NAME ADDRESS STATE HOST HOST_ADAP OPENED NUM_ACTIVE fcs0 0xF10001003AE1F000 0x0008 vios1 vfchost2 0x01 0x0000 fcs1 0xF10001003A693000 0x0008 vios2 vfchost2 0x01 0x0000
If virtualized lpar is connected to SAN using Vscsi :
# echo "cvai"|kdb|grep vscsi read vscsi_scsi_ptrs OK, ptr = 0x4240398 vscsi0 0x000007 0x0000000000 0x0 vios1->vhost8 vscsi1 0x000007 0x0000000000 0x0 vios2->vhost5
I've tested the first solution it works.
The second seems not working on AIX 5.3 (all my vscsi lpar are in 5.3), if you can test it in AIX 6.1 let me know.