Datasheet
25
Log into VIOS with padmin or another administrator user ID.
VIOS always has partition ID 1 when IVM is used, and by default carries the serial number of the
blade as a name.
To display the current names and IDs of all existing partitions, use te following command:
lssyscfg -r lpar -F "name,lpar_id"
To display which virtual slots have been already been used, by partition and adapter, use:
lshwres -r virtualio --rsubtype slot --level slot (notice the double dashes)
The type of adapter is shown on the middle of each line. The slot numbers are
shown at the beginning of each line.
If the IBM i partition is not activated, refer to the following example that adds a new Virtual SCSI
client adapter in slot 5 of IBM i partition “test,” connecting to a server adapter in the next
available slot (chosen automatically by IVM) in the partition named “VIOS”:
o chsyscfg -r prof -i "name=test,virtual_scsi_adapters+=5/client/1/VIOS//1"
o The corresponding server adapter in VIOS is created automatically by IVM
If the IBM i partition is running, refer to the following example that creates a new Virtual
SCSI client adapter in slot 5 of IBM i partition “test”, connecting to a server adapter in
the next available slot (chosen automatically by IVM) in partition “VIOS”:
o chhwres -r virtualio --rsubtype scsi -p test -o a -s 5 -a "adapter_type=client"
o The corresponding server adapter in VIOS is created automatically by IVM
Notice that there are three variables in the previous commands: the name of the IBM i
partition, the new slot for the Virtual SCSI client adapter, and the name of the VIOS
partition.
5.3.3 Creating multiple Virtual SCSI adapters using the HMC
When using an HMC to manage Power Blades, you can create virtual SCSI adapters to create
the virtual SCSI connection between VIOS and the IBM i client partition. In this section you will
see how to create server adapter and client adapter pair. You need to determine the next
adapter slot that is available for both the VIOS and the IBM i partitions. The slot numbers are
used to tie the adapters together.
Use the Current configuration for the VIOS and IBM i partition’s to note the next available
virtual adapter slot number. This will be used in some of the commands that follow.
Create Server SCSI Adapter
Perform the following steps to create a server SCSI adapter.
Log into HMC with hscroot as the user ID or using another user ID.
Click the Managed System link of the navigation pane
Select the server from the list of hosts and select the checkbox next to the VIOS you are
configuring
Click Configuration -> Manage Profiles
Select a profile and select Actions->Edit… to edit the profile
Click the Virtual Adapters tab and then click Actions -> Create Virtual Adapter ->
SCSI Adapter…










