Create Virtual adapter on VIO server
This is to create a Virtual SCSI Adapter on both VIO servers for the client adapters you created to connect to.
Then we need to update the configuration on the VIO servers themselves which will apply the changes you made to them.
This will complete the connection between the Client LPAR and the 2xVIO servers.
On the HMC check the first VIO server.
In the pop-up menu choose:-
Configuration
Manage Profiles(to open a new window)
Tick the Normal profile checkbox
Under Actions drop-down
choose Edit
Select Virtual Adapters
Under Actions
choose Create SCSI Adapter
Make sure that Virtual SCSI adapter Adapter is set to the Adapter ID you noted earlier (the one you set as the Server Adapter ID in the client LPAR).
Check Only selected client partition can connect
and choose your new LPAR from the drop-down list.
Client adapter ID should be the same as the Connecting Adapter you noted earlier
then hit OK
Then scroll down the list of existing connections and your new one should be listed.
Make sure the Connecting Adapter is the same value as the rest then close the pop-up window to return to the list of LPARs.
Select the pop-up menu again
choose Dynamic Logical Partitioning
Virtual Adapters (to open another new window.)
Under Actions
choose Create
SCSI Adapter
choose the same settings that you did for the Normal profile above.
Then hit OK
and close the pop-up window.
Then repeat this process for the second VIO server.
Run the following command on both VIO servers to get a list of the vhosts
The output is also displayed.
$ lsdev -virtual |grep vhost |awk {'print $1'} |while read v do lsmap -vadapter $v |grep $v done vhost0 U9119.595.83724B2-V4-C3 0x00000001 vhost1 U9119.595.83724B2-V4-C4 0x00000007 vhost2 U9119.595.83724B2-V4-C5 0x00000008 edited..... vhost17 U9119.595.83724B2-V4-C20 0x0000002b vhost18 U9119.595.83724B2-V4-C21 0x00000000
Run cfgdev to discover new virtual adapter in vios server padmin console.
Run the lsdev command again to see the new vhost number for the new adapter-to-target partition map
Repeat on the second VIO server
The new vhost here is vhost18, on the HMC vio config, the new virtual scsi HBA was given the number 21, this matches the C21. The connected partition does not show up as the hex version of the partition number of the target partition as it has not yet connected.