As part of the “troubleshooting” process with IBM bladecenter’s and their constant “Link Failures” on all fibre adapters in each blade chassis we are setting the Fibre Adapters to 2GB manually per card. This process is being documented for proper procedures on implementing. As some of the commands fail on some machines, and not others, it has been decided to run this by hand (as opposed to a script). Thus, the steps are below:
- rmdev -l fscsiX – This will put the FA child device into a “defined” state
If the above command errors out with the following error, then follow the procedures below:
Method error (/usr/lib/methods/chggen): 0514-029 Cannot perform the requested function because a child device of the specified device is not in a correct state.
In case above command fails, try the following:
- rmdev -dl fcsX
If that command fails, then run the next two commands:
rmdev -dp fscsiX rmdev -l fscsiX
Next step is to change the parent device’s Link Speed to equal 2GB.
- chdev -a link_speed=2G -l fcsX (parent device for child you just put into a defined state)
- mkdev -l fscsiX (create child device)
- lspath (determine if child FA is in a “defined” or “Available” state) …
If child device is in a ‘defined’ state, then run cfgmgr -v -l fcsX
WAIT 60 SECONDS!! before moving onto modifications of the next adapter. Note that the changes to link speed do not take effect until the system hosting the fibre card is rebooted.
Update: AIX 6.1 sp5 (or 6) introduced a slight change, in relation to system director if I recall. What this means is there is now an additional device added in as a child of the fcsX devices. So if you attempt to delete fscsiX (no problem) and then modify the fcsX device it will fail. The devices added are sfchostX devices. To delete these, one can do a “rmdev -Rdl fscsiX” to delete all children of parent fcsX. Alternately, you cam rmdev it yourself. Such as “rmdev -dl sfchost3 ; rmdev -l fscsi3; chdev -l fcs3 -a link_speed=2G; chdev -l fscsi3 -a dyntrk=yes -a fc_err_recov=fast_fail ; cfgmgr -v -l fscsi3”.