Skip to content

Problem Analysis bye Live Partition Mobility

–    Problem with  LPM:
— Error Message:

HSCL400A There was a problem running the VIOS command. HSCLA29A The RMC command issued to partition VIO2102 failed.
The partition command is:
migmgr -f get_adapter  -t vscsi -s U9117.MMC.6583EEB-V2-C38 -w
13857705817653313572 -W 13857705817653313573 -d 2 The RMC return code is:
0
The OS command return code is:
82
The OS standard out is:
Running method ‘/usr/lib/methods/mig_vscsi’
82

— show log File on VIO:

alog -t cfg -o | less

C0 7405736 20:06:37 mig_vscsi.c 555 leaving mig_vscsi fn= get_adapter, rc=
83
CS 11993122 10223736 /usr/sbin/migmgr -f get_adapter -t vscsi -s
U9117.MMC.65D615E-V1-C63 -w 13857705817655803990 -W 13857705817655803991 -d
2
C4 11993122 Running method ‘/usr/lib/methods/mig_vscsi’
CS 11993122 10223736 20:06:37 mig_vscsi.c 485 /usr/sbin/migmgr -f get_adapter -t vscsi -s U9117.MMC.65D615E-V1-C63 -w 13857705817655803990 -W
13857705817655803991 -d 2
C0 11993122 20:06:38 vsmig_util.c 1750 original pipe_ctrl from RMC =0x1
M0 11993122 20:06:38 vsmig_util.c 1886 testing string adapter/vdevice/IBM,vfc-server
C0 11993122 20:06:38 npiv_wwpn.c 190 GPN_FT failed for wwpn
c0507605173d0056
C0 11993122 20:06:38 npiv_wwpn.c 196 GPN_FT failure:
cmd_rsp_code:    0x8001
reason_code:     0x9
reason_code_exp: 0x7
C0 11993122 20:06:38 mig_vscsi.c 555 leaving mig_vscsi fn= get_adapter, rc=
83

–    Problem analysis

— Clear up cfglog for all VIO Servers

rm /var/adm/ras/cfglog
echo “log cleared” | alog -t cfg
echo “Create cfg log1” | alog -t cfg

# create file /etc/drlog.cmd containing below line:

echo “CFGLOG=timestamp,detail,verbosity:9” > /etc/drlog.cmd

— run Validate again:

Recreate the failure using the following migrlpar syntax and save to filename, migrlpar_lshwres.log.

To list manage system names
# lssyscfg -r sys -F name

To recreate failure during validation:
# migrlpar -o v -m <source_managed_system> -t <target_managed_system> -p <mobile_partition_name> -i “source_msp_id=<source_VIO_lpar_ID>,source_msp_ipaddr=<source_VIO_IPaddr>,dest_msp_id=<target_VIO_lpar_ID>,dest_msp_ipaddr=<target_VIO_IPaddr>” -d 5 -v

To recreate failure during the actual migration, change ‘-o v’ to ‘-o m’.

—  check alog again

alog -t cfg -o > /tmp/alog_cfg_`date +%Y%m%d_%H%M%S`.log