Thursday, February 2, 2012

Make vscsi to client partition

1. Create Virtual Adapter as SCSI adapter to both VIOS (as server adapter) and LPAR (as client adapter)
make sure their ID match each other (Server and Client adapter ID)

2. Now go to VIOS and look for vhost id that indicate our lpar. You can grep from PhyLoc
( the last C character with number defines the server adapter id )
#lsmap -all |grep -p C26 (example, mine is 26)

SVSA Physloc Client Partition ID
--------------- ------------------------------ ------------------
vhost11 U8204.E8A.069D955-V1-C26 0x0000000b

3. Before the creation of vscsi, you need to know which hdisk that represent to VIOS you want to use.
Example, mine will be using hdisk25
#mkvdev -vdev hdisk25 -vadapter vhost11

4. Now check if you have a virtual scsi attaches to your virtual adapter.
#lsmap -vadapter vhost11

SVSA Physloc Client Partition ID
--------------- --------------------------- ------------------
vhost11 U8204.E8A.069D955-V1-C26 0x0000000b

VTD vtscsi24
Status Available
LUN 0x8300000000000000
Backing device hdisk25
Physloc U78A0.001.DNWHM0W-P1-C2-T1-W50060E80104AF4A0-L19000000000000
Mirrored false

No comments:

Post a Comment