IBM Support

HSCLA27C Partition Mobility Error

Troubleshooting


Problem

Live Partition Mobility fails with HSCLA27C error.

Symptom

HSCLA27C The operation to get the physical device location for adapter <adapter ID> on the virtual I/O server partition <VIOS LPAR> has failed.  The partition command is: migmgr -f get_adapter -t vscsi -s <adapter ID> -w 13857705810988171408 -W 13857705810988171409 -d 0 The partition standard error is: child process returned error
HSCLA27C The operation to get the physical device location for adapter  
<adapter ID> on the virtual I/O server partition <VIOS LPAR> has failed.
The partition command is: migmgr -f get_adapter -t vscsi -s <adapter ID> -w 13857705810988171414 -W 13857705810988171415 -d 0 The partition standard error is: child process returned error

Cause

This technote discusses the most common causes for the above error running VIOS 2.2.x

Environment

HMC managed LPM environment typically using virtual Fibre Channel adapters.

Diagnosing The Problem

The HSCLA27C errors in and of itself can be rather genetic. If the migration/validation is being done via HMC GUI when it fails, click on the "Detailed Information" section in order to better understand the cause of failure

1. If the HMC level is older than v3.5.0, all virtual Adapters on source VIO server(s) profile properties tab must be created in a "desired" state (no). If set in a "required" state (yes), LPM will fail with HSCLA27C.

2. For active (live partition) mobility, ALL adapters assigned to the mobile LPAR MUST be logged in or LPM will fail with HSCLA27C. All vfchost adapters must be mapped and logged in or removed.

3. LPM requires that all fcs ports that are mapped to the mobile LPAR MUST have a SAN storage device presented to the fcs port. LPM requires that all virtual fcs adapters on the mobile LPAR MUST have at least one SAN disk zoned to the fcs port's primary AND secondary WWPN. If the mobile partition has any virtual fcs devices with no storage zoned, either zone one LUN or remove the virtual FC Client Adapter (on the client) and the respective virtual FC Server adapter (vfchost) from the VIOS.

4.  Partition mobility does not support current configuration. Select an option based on your mobile partition storage type:
a. LPM validation errors: HSCLA27C HSCL400A HSCLA29A with OS RC 80 for AIX NPIV client
b. LPM validation errors: HSCLA27C HSCL400A HSCLA29A with OS RC 80 for AIX vSCSI client


5. Check the VIO server and mobile LPAR for any full file systems:

On VIOS:
$ df -g

On AIX:
# df -g


6. Check vendor specific disks for NPIV enablement. Example;

For Hitachi HDLM Tunables the HDLM ODM setting required is:

# /usr/D*/bin/dlmodmset -o
Lun Reset                   : on
Online(E) IO Block          : off
NPIV Option                 : off
KAPL10800-I The dlmodmset utility completed normally.

# /usr/D*/bin/dlmodmset -v on
KAPL10805-I The setup of the HDLM execution environment ODM will be changed. NPIV Option = on. Is this OK? [y/n]:y
KAPL10800-I The dlmodmset utility completed normally.
#
# /usr/D*/bin/dlmodmset -o
Lun Reset                   : on
Online(E) IO Block          : off
NPIV Option                 : on
KAPL10800-I The dlmodmset utility completed normally.

This should be set before the devices are configured.


7. Updating VIOS via updateios without the -install flag or via alt_root_vg command with -bundle update_all option will only update filesets that are already installed. New filesets that are not forced in via prerequisites will not be installed. This can lead to LPM operation to fail with error similar to the one below:

 

HSCLA27C The operation to get the physical device location for adapter <adapter ID> on the virtual I/O server partition <VIOS LPAR name> has failed.
The partition command is: migmgr -f get_adapter -t vscsi -s

<adapter ID> -d 0 The partition standard error is: child process returned error

At higher debug levels or if you run the failing command at the VIOS command line you will see an error trying to load libvlog.a

Running method '/usr/lib/methods/mig_vscsi'
exec(): 0509-036 Cannot load program migmgr because of the following errors:
0509-150 Dependent module libvlog.a(shr.o) could not be loaded.
0509-022 Cannot load module libvlog.a(shr.o).
0509-026 System error: A file or directory in the path name does not exist.


Next is a list of filesets known to not be installed when tested locally. The list may very depending on ioslevel the VIOS was updated to:

ios.database.rte 6.1.7.0 # VIOS DB
ios.svm.rte 6.1.7.0 # Secure Virtual Machine
ios.vlog.rte 6.1.7.0 # Virtual Log Device Software
ios.vnet 6.1.7.0 # Virtual Network Management
pool.basic.rte 6.1.7.0 # Virtual Server Storage Subsy...
pool.msg.en_US.basic.rte 6.1.7.0 # Virtual Server Storage Subsy...
printers.hplj-4250.rte 6.1.7.0 # Hewlett-Packard LaserJet 4250
printers.hplj-8060.rte 6.1.7.0 # Hewlett-Packard Color LaserJ..


Recommendation
Review /home/padmin/install.log and '# lppchk -v' output for these missing filesets. If your VIOS is missing any of the above, redo the update with proper options.
$ updateios -commit
$ updateios  -dev <fileset source> -install -accept

A reboot may be necessary to get everything started correctly


8. If all above fail, this is a zoning issue in which the second WWPN was not manually zoned correctly or failed to login. Both of the WWPNs from the virtual fiber channel adapter in the client LPAR's profile properties MUST be zoned through the same VSAN / NODE / FABRIC for LPM. Engage your SAN admin to verify the storage is zoned to the second WWPN for each virtual FC adapter configured on the mobile LPAR.
HMC command, chnportlogin, can be used to to help SAN admin troubleshoot WWPN logins of the secondary WWPNs.
 

Resolving The Problem

Make any recommended changes for any of the possible problems in the list above.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"}],"Version":"VIOS 2.2","Edition":"Enterprise","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
03 June 2021

UID

isg3T1018971