Category: IBM

Easy way to get Virtual SCSI mapping from VIO Client

Sometimes you need to get the VIO mapping from the client side.

the easiest way is to run the below command:

root@client_lpar: / # echo “cvai” | kdb | grep vscsi 

read vscsi_scsi_ptrs OK, ptr = 0xF1000000C01A83C0
vscsi0     0x000007 0x0000000000 0x0                VIO_SRV1->vhost0

IBM Power server control panel – HMC IP address

Function 30: Service processor IP address and port location

This function displays the service processor IP address and port location. This function is available only
in the manual operating mode and from power on standby.

So first system, should be changed to manual mode. Once the operation end put back the system into automatic mode

The following table shows an example of function 30.

Function/Data Action or description
3 0 _ _ _ _ _ _ _ _ _ _ _ _ _ _

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Use the Increment or Decrement buttons to scroll to function
3 0 * * _ _ _ _ _ _ _ _ _ _ _ _

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Press Enter to enter subfunction mode
3 0 0 0 _ _ _ _ _ _ _ _ _ _ _ _

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Use the Increment or Decrement buttons to select an IP

address

00 = SP A: ETH0 (primary enclosure)

01 = SP A: ETH1 (primary enclosure)

02 = SP B: ETH0 (secondary enclosure)

03 = SP B: ETH1 (secondary enclosure)

S P _ A : _ E T H O : _ _ _ T 5

9 . 5 . 1 0 5 . 2 4 3 _ _ _ _ _

Press Enter to display the selected IP address.
3 0 * * _ _ _ _ _ _ _ _ _ _ _ _

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Use the Increment or Decrement buttons to select

subfunction exit.

3 0 _ _ _ _ _ _ _ _ _ _ _ _ _ _

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Press Enter to exit subfunction mode.

To download the full reference functions

http://www-01.ibm.com/support/knowledgecenter/POWER6/iphb5/iphb5.pdf?lang=en