This chapter provides answers to frequently asked questions (FAQs) during AIX ODM for MPIO configuration and management. You can refer to this chapter for troubleshooting if necessary.
What are known bugs that affect this software and corresponding patches?
A REBOOT MAY RESULT IN RANDOM MPIO PATHS IN A MISSING STATE
5300-08 maps to patch IZ66562; 5300-09 maps to patch IZ64005; 5300-10 maps to patch IZ64011; 5300-11 maps to patch IZ65325; 5300-12 maps to patch IZ65775; 6100-01 maps to patch IZ71807; 6100-02 maps to patch IZ64000; 6100-03 maps to patch IZ63159; 6100-04 maps to patch IZ64133; 6100-05 maps to patch IZ65870; 6100-06 maps to patch IZ66023.
How do you modify the dyntrk and fc_err_recov parameters for the fscsi device?
There are three methods to modify the dyntrk and fc_err_recov parameters of the fscsi device. Select a proper method based on actual conditions.
If the host can be restarted, use method 1 to modify the parameters.
Run the chdev -l fscsiX -a dyntrk=yes -P and chdev -l fscsiX -a fc_err_recov=fast_fail -P commands to modify the attributes of all HBAs that connect to switches.
-bash-3.00# chdev -l fscsi0 -a dyntrk=yes -P fscsi0 changed -bash-3.00# chdev -l fscsi0 -a fc_err_recov=fast_fail -P fscsi0 changed
If the fscsi device connected to Huawei storage has no virtual disks or has virtual disks that can be deleted, use method 2. If it has virtual disks that cannot be deleted or may not be deleted, use method 3 instead.
-bash-3.00# rmdev -l fscsi0 -R fscsi0 Defined
-bash-3.00# chdev -l fscsi0 -a dyntrk=yes fscsi0 changed -bash-3.00# chdev -l fscsi0 -a fc_err_recov=fast_fail fscsi0 changed
-bash-3.00# cfgmgr -l fscsi0 -bash-3.00#
If the reported virtual disks of Huawei storage are connected to multiple fscsi devices, use method 3 (no virtual disks need to be deleted). If there is only one fscsi device connected to Huawei storage, use method 1 or 2.
-bash-3.00# lspath Enabled hdisk0 scsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1
-bash-3.00# rmdev -l fscsi0 -R fscsi0 Defined
-bash-3.00# chdev -l fscsi0 -a dyntrk=yes fscsi0 changed -bash-3.00# chdev -l fscsi0 -a fc_err_recov=fast_fail fscsi0 changed
-bash-3.00# cfgmgr -l fscsi0 -bash-3.00#
-bash-3.00# lspath Enabled hdisk0 scsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1
-bash-3.00# rmdev -l fscsi1 -R fscsi1 Defined
-bash-3.00# chdev -l fscsi1 -a dyntrk=yes fscsi1 changed -bash-3.00# chdev -l fscsi1 -a fc_err_recov=fast_fail fscsi1 changed
-bash-3.00# cfgmgr -l fscsi1 -bash-3.00#
-bash-3.00# lspath Enabled hdisk0 scsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi0 Enabled hdisk2 fscsi0 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1 Enabled hdisk1 fscsi1 Enabled hdisk2 fscsi1
How can I set a load balancing mode for a disk?
This mode can only be set in some operating systems that adopt the latest technologies. For details, see the official website of IBM.
-bash-3.00# lsattr -El hdisk1 PCM PCM/friend/MPIOpcm Path Control Module False PR_key_value none Persistant Reserve Key Value True algorithm fail_over Algorithm True clr_q no Device CLEARS its Queue on error True dist_err_pcnt 0 Distributed Error Percentage True dist_tw_width 50 Distributed Error Sample Time True hcheck_cmd test_unit_rdy Health Check Command True hcheck_interval 30 Health Check Interval True hcheck_mode nonactive Health Check Mode True location Location Label True lun_id 0x1000000000000 Logical Unit Number ID False lun_reset_spt yes LUN Level Reset True max_transfer 0x40000 Maximum TRANSFER Size True node_name 0x21000022a1073fdd FC Node Name False pvid 00007e1d562bd42d0000000000000000 Physical volume identifier False q_err yes Use QERR bit True q_type simple Queuing TYPE True queue_depth 32 Queue DEPTH True reassign_to 120 REASSIGN time out value True reserve_policy no_reserve Reserve Policy True rw_timeout 30 READ/WRITE time out value True scsi_id 0x10400 SCSI ID False start_timeout 60 START unit time out value True ww_name 0x20190022a1073fdd FC World Wide Name False
-bash-3.00# lspath -F"name:parent:connection:path_id:status" hdisk0:scsi1:8,0:0:Enabled hdisk1:fscsi0:20080022a10bb2d5,1000000000000:0:Enabled hdisk2:fscsi0:20080022a10bb2d5,2000000000000:0:Enabled hdisk3:fscsi0:20080022a10bb2d5,3000000000000:0:Enabled hdisk4:fscsi0:20080022a10bb2d5,4000000000000:0:Enabled hdisk5:fscsi0:20080022a10bb2d5,5000000000000:0:Enabled hdisk6:fscsi0:20080022a10bb2d5,6000000000000:0:Enabled hdisk7:fscsi0:20080022a10bb2d5,7000000000000:0:Enabled hdisk8:fscsi0:20080022a10bb2d5,8000000000000:0:Enabled hdisk1:fscsi0:20090022a10bb2d5,1000000000000:1:Enabled hdisk2:fscsi0:20090022a10bb2d5,2000000000000:1:Enabled hdisk3:fscsi0:20090022a10bb2d5,3000000000000:1:Enabled hdisk4:fscsi0:20090022a10bb2d5,4000000000000:1:Enabled hdisk5:fscsi0:20090022a10bb2d5,5000000000000:1:Enabled hdisk6:fscsi0:20090022a10bb2d5,6000000000000:1:Enabled hdisk7:fscsi0:20090022a10bb2d5,7000000000000:1:Enabled hdisk8:fscsi0:20090022a10bb2d5,8000000000000:1:Enabled hdisk1:fscsi0:20180022a10bb2d5,1000000000000:2:Enabled hdisk2:fscsi0:20180022a10bb2d5,2000000000000:2:Enabled hdisk3:fscsi0:20180022a10bb2d5,3000000000000:2:Enabled hdisk4:fscsi0:20180022a10bb2d5,4000000000000:2:Enabled hdisk5:fscsi0:20180022a10bb2d5,5000000000000:2:Enabled hdisk6:fscsi0:20180022a10bb2d5,6000000000000:2:Enabled hdisk7:fscsi0:20180022a10bb2d5,7000000000000:2:Enabled hdisk8:fscsi0:20180022a10bb2d5,8000000000000:2:Enabled hdisk1:fscsi0:20190022a10bb2d5,1000000000000:3:Enabled hdisk2:fscsi0:20190022a10bb2d5,2000000000000:3:Enabled hdisk3:fscsi0:20190022a10bb2d5,3000000000000:3:Enabled hdisk4:fscsi0:20190022a10bb2d5,4000000000000:3:Enabled hdisk5:fscsi0:20190022a10bb2d5,5000000000000:3:Enabled hdisk6:fscsi0:20190022a10bb2d5,6000000000000:3:Enabled hdisk7:fscsi0:20190022a10bb2d5,7000000000000:3:Enabled hdisk8:fscsi0:20190022a10bb2d5,8000000000000:3:Enabled
-bash-3.00# lspath -l hdisk1 -a priority -F value -p fscsi0 -w 20080022a10bb2d5,1000000000000 1
-bash-3.00# chpath -l hdisk1 -a priority=255 -p fscsi0 -w 20080022a10bb2d5,1000000000000 path Changed -bash-3.00# lspath -l hdisk1 -a priority -F value -p fscsi0 -w 20080022a10bb2d5,1000000000000 255
How can I configuring the ReserveCheck and ReserveBreak functions?
The odmget -q name = xxxx CuDv and smit hacmp commands are used to configure the ReserveCheck and ReserveBreak functions. The name indicates device name. If one node fails, another node automatically invokes ReserveCheck and ReserveBreak to take over the resources on the failed node.
Before configuring these functions, ensure that the HACMP software has been installed.
Perform the following steps to configure the ReserveCheck and ReserveBreak functions:
[Entry Fields] * New Disk Type [] * Method to identify ghost disks [SCSI3] + * Method to determine if a reserve is held [/usr/sbin/ ReserveCheck] + * Method to break a reserve [/usr/sbin/ ReserveBreak] + Break reserves in parallel false + * Method to make the disk available [MKDEV]
For example, configure the ReserveCheck and ReserveBreak functions for hdisk2 (the disk type is disk/fcp/HWS5300).
# odmget -q 'name = hdisk2' CuDv CuDv: name = "hdisk2" status = 1 chgstatus = 0 ddins = "scsidisk" location = "1D-08-02" parent = "fscsi1" connwhere = "W_0" PdDvLn = "disk/fcp/HWS5300" # smit hacmp [Entry Fields] * New Disk Type [disk/fcp/HWS5300] * Method to identify ghost disks [SCSI3]+ * Method to determine if a reserve is held [/usr/sbin/ReserveCheck] + * Method to break a reserve [/usr/sbin/ReserveBreak] + Break reserves in parallel false + * Method to make the disk available [MKDEV]
How do I use UltraPath for AIX to replace AIX ODM for MPIO in SAN boot scenarios?
bash-3.00# lslv -m hd5 hd5:N/A LP PP1 PV1 PP2 PV2 PP3 PV3 0001 0001 hdisk9 bash-3.00# bootlist -m normal -o hdisk9 hdisk9 blv=hd5 bash-3.00# bash-3.00# shutdown -Fr SHUTDOWN PROGRAM Tue Apr 11 11:48:02 CDT 2017
bash-3.00# lsdev -Cc disk lsdev: 0514-521 Cannot find information in the predefined device configuration database for the customized device hdisk8. hdisk0 Available Virtual SCSI Disk Drive hdisk1 Available C4-T1-01 Other FC SCSI Disk Drive hdisk2 Available C4-T1-01 Other FC SCSI Disk Drive hdisk3 Available C4-T1-01 Other FC SCSI Disk Drive hdisk4 Available C4-T1-01 Other FC SCSI Disk Drive hdisk5 Available C4-T1-01 Other FC SCSI Disk Drive hdisk6 Available C4-T1-01 Other FC SCSI Disk Drive hdisk7 Available C4-T1-01 Other FC SCSI Disk Drive hdisk8 Defined C4-T1-01 N/A hdisk9 Available C4-T1-01 Other FC SCSI Disk Drive
hdisk8 is the residual disk information.
odmdelete -o CuDv -q name=hdiskX odmdelete -o CuAt -q name=hdiskX odmdelete -o CuPath -q name=hdiskX odmdelete -o CuPathAt -q name=hdiskX odmdelete -o CuVPD -q name=hdiskX odmdelete -o CuDvDr -q value3=hdiskX
Run bosboot -a to update the boot image. For example:
bash-3.00# odmdelete -o CuDv -q name=hdisk8 0518-307 odmdelete: 1 objects deleted. bash-3.00# odmdelete -o CuAt -q name=hdisk8 0518-307 odmdelete: 6 objects deleted. bash-3.00# odmdelete -o CuPath -q name=hdisk8 0518-307 odmdelete: 2 objects deleted. bash-3.00# odmdelete -o CuPathAt -q name=hdisk8 0518-307 odmdelete: 4 objects deleted. bash-3.00# odmdelete -o CuVPD -q name=hdisk8 0518-307 odmdelete: 1 objects deleted. bash-3.00# odmdelete -o CuDvDr -q value3=hdisk8 0518-307 odmdelete: 1 objects deleted. bash-3.00# bosboot -a bosboot: Boot image is 53276 512 byte blocks.
For details about how to go to the single user mode, refer to http://www-01.ibm.com/support/docview.wss?uid=isg3T1011796.
http://support.huawei.com/enterprise/en/doc/EDOC1000087221?currentPartNo=j00a&togo=content
Article Number: 461
Posted: Mon, Dec 31, 2018 10:00 AM
Last Updated: Mon, Dec 31, 2018 10:06 AM
Online URL: http://kb.ictbanking.net/article.php?id=461