Home > Storage > PowerMax and VMAX > Storage Admin > Dell PowerMax: Data Mobility Best Practices and Operational Guide > Appendix B: AIX, GPFS, and PowerPath with NDM
Properly configuring multiple paths to the host with AIX 6.x, GPFS, and PowerPath requires an additional step when performing an NDM migration.
After the NDM create operation is completed, the target devices (appearing to the host as additional paths to the source devices) will be masked and available. After running cfgmgr to create the host native devices, the attached script, named emc_pp_configure.sh, must be run immediately following the completion of the cfgmgr command. The script will configure the new native devices on the target side into PowerPath by copying the attributes of the PowerPath hdiskpower pseudo devices into the new native devices and reconfigure the native devices.
Note: This script must be used in order to perform a migration non-disruptively in this environment. Failing to run the script following the configuration of the new native target devices can lead to data unavailability.
#! /bin/ksh
devlist=`powermt config 2>&1 | grep -p 0514-034 | grep hdiskpower | awk '{print $5}'`
for pseudo in $devlist
do
pseudo_policy=`lsattr -El $pseudo -a reserve_policy | awk '{print $2}'`
pseudo_prkey=`lsattr -El $pseudo -a PR_key_value | awk '{print $2}'`
nativelist=`powermt display dev=$pseudo | grep -i hdisk| grep -v power | awk '{print $3}'`
echo $nativelist
for native in $nativelist
do
native_policy=`lsattr -El $native -a reserve_policy | awk '{print $2}'`
native_prkey=`lsattr -El $native -a PR_key_value | awk '{print $2}'`
#change reserve_policy and PR_key_value of native(s), whose policy or PR_key_value
#vary from that of pseudo.
if [[ $native_policy != $pseudo_policy || $native_prkey != pseudo_prkey ]]
then
powermt remove dev=$native
echo changing reserve_policy,PR_key_value of $native to $pseudo_policy and $pseudo_prkey
chdev -l $native -a reserve_policy=$pseudo_policy -a PR_key_value=$pseudo_prkey
fi
done
done
powermt config
The script can be downloaded on the following dell support site and searching for the script: emc_pp_configure.sh
For Solutions Enabler version 8.3, remove the passive initiator (for LPM use) from IG when they do NDM. After NDM, they need to add the passive initiator back to IG, then they can do LPM.
For Solutions Enabler version 8.4 and later, perform the LPM operation at least once. Let the passive initiator log in to the array and show up in Login History table (LHT), and after this LPM operation, perform NDM.
It is not recommended to do LPM operations during the NDM session.