Client Virtual Disk Allocation by Using MPIO Technology

On the VIO Server, the rootvg, virtual client rootvg and virtual client datavg are sliced from the internal SAS disk which passing the I/O through the same SAS card. Due to this, the SAS card gets more loads which is degrading the performance of client servers. We Limitation to have number SAS card in one physical frame (4 CEC maximum 4 cards, if RAID adapter is present in I/O expansion it would be there otherwise we can use SAS spliter cards to split SAS raid controller in-order to increase RAID controller ).
We would be adding one Fiber Cards in each of the VIOSERVERS (currently we are adding only one FC card to each vioservers, depends upon the load and data volume, another FC card will be added). Primary SAN switch Fiber Card should be connect in to the primary VIOSERVER and Secondary SAN switch Fiber Card should be connect to Secondary VIOSERVR. We would require the SDDPCM device drivers to be installed on the VIOSERVER for better communication between SAN and VIO servers. Refer the below diagram for MPIO Understanding.
1
Prerequisite to configure the MPIO
Everyone expects 100% redundancy and uninterrupted services and continues availability of infrastructure. To make that sure keep some consideration while planning/configuring.

1) Always keep two Fiber Channel Adapters on each VIOSERVERS to ensure redundancy part from host perspective.
2) If possible allocate Fiber Channel Adapters from different CEC or I/O Drawers.
3) Discuss with storage team and make sure that each VIOSERVER connected with different SAN switches.
4) Setup Fiber Channel adapter tunable.

1. Avail the LUN IDs for the assigned disks from the Storage Team;
Note:- Need to give the estimated size of the LUN.

2. Generate the PVID for the newly assigned LUNs

#chdev -l hdisk# -a pv=yes
(-a is for attribute)
(pv=yes —> turns on physical volume id for the particular disk)

Example :-
2
3. If we assign LUNS to any of the servers it will take the control as per SDD ( Storage Device Driver ) configuration. However, we have to allocate LUNs to client partition when client partition access disk I/O routed through VIOSERVER Fiber Channel. Also, we need to configure client LPAR to be able to switch access from one VIOSERVER to another VIOSERVER as incase of any issues or not able access disk from any VIOSERVER as we configured. The key parameter is disk locking , we must turn off locking for each disk. So that we need to turn locking off for each disk. That is reserve policy; by default reserve policy would be single path we have to change as no_reserve.

Check the disk attribute through lsattr command
Ex:- lsattr –El hdisk#
Or
lsdev -dev hdisk# -attr reserve_policy

Leave a Comment