Configuring the Virtual I/O Server to work with InfiniBox
Here is how to configure the Virtual I/O Server to work with InfiniBox:
First connect to the server using the command:
ssh padmin@<server-ip>
Run the following command to get root privilege:
$ oem_setup_env
Install the Infinidat ODM Package
- Download the package located here:
https://repo.infinidat.com/packages/main-stable/index/packages/infinidat-odm/releases/2.2.3.2/distributions/aix-5.3/architectures/powerpc/extensions/rpm/infinidat-odm-2.2.3.2-aix-5.3-powerpc.rpm Install the rpm package using the command:
# rpm -Uvh /home/padmin/infinidat-odm-2.2.3.2-aix-5.3-powerpc.rpm infinidat-odm ################################################## Cleaning up old infinidat odm definitions... Adding infinidat.odm... Applying the new attributes for the boot processes with bosboot... Installing message catalog...
To verify that the odm has been registered run the following command:
# odmget PdAt | grep -p NFINIDAT | wc -l 583
Error Recovery Policy Check
Run:
# lsparent -C -k fcp -F name fscsi0 fscsi1 fscsi2 fscsi3 fscsi4 fscsi5
Repeat for each FC Adapter. We can check the fc_err_recov policy with the command:
# lsattr -El fscsi0 attach switch How this adapter is CONNECTED False dyntrk yes Dynamic Tracking of FC Devices True+ fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+ scsi_id 0x1f5000 Adapter SCSI ID False sw_fc_class 3 FC Class for Fabric True
If the policy is not fast_fail you can change it using the command:
chdev -l fscsi0 -a fc_err_recov=fast_fail
Verification
Check that the error recovery policy is fast_fail.
First we need to find which HBA's are being used, this is queried by the command:After mapping devices to the VIOS server you can view disk properties using the following commands:
# lsdev -Cc disk hdisk0 Available 00-00-00 SAS Disk Drive hdisk1 Available 00-00-00 SAS Disk Drive hdisk2 Available 03-00-02 INFINIDAT Fibre Channel Disk (InfiniBox) hdisk3 Available 03-00-02 INFINIDAT Fibre Channel Disk (InfiniBox) hdisk4 Available 03-00-02 INFINIDAT Fibre Channel Disk (InfiniBox) hdisk5 Available 03-00-02 INFINIDAT Fibre Channel Disk (InfiniBox) hdisk6 Available 03-00-02 INFINIDAT Fibre Channel Disk (InfiniBox)
For a specific disk you can run:
# lscfg -vl hdisk6 hdisk6 U78AA.001.WZSHLLA-P1-C5-T1-W5742B0F000047E11-L5000000000000 INFINIDAT Fibre Channel Disk (InfiniBox) Manufacturer................NFINIDAT Machine Type and Model......InfiniBox ROS Level and ID............30682020 Serial Number............... Device Specific.(Z0)........0000053245181002 Device Specific.(Z1)........
To check the number of paths for each disk, run the command:
# lspath -l hdisk6 Enabled hdisk6 fscsi0 Enabled hdisk6 fscsi0 Enabled hdisk6 fscsi1 Enabled hdisk6 fscsi2 Enabled hdisk6 fscsi2 Enabled hdisk6 fscsi3 Enabled hdisk6 fscsi3
Last edited: 2022-08-06 08:30:01 UTC
Comments