Performing LPM in the SmartIO environment

If an array-based SSD is used, Live Partition Mobility (LPM) is supported with SmartIO caching. With direct attached devices (PCIe or SAS), LPM is not supported if SmartIO caching is enabled. If you need to perform LPM, you can use manual steps.

To perform LPM in the SmartIO environment

  1. To prepare the LPAR for the lLPM, perform the following steps:
    • Offline the cache area that is created inside the LPAR.

      Ldom1:/root# sfcache offline cachearea_name
    • Delete the cache area.

      Ldom1:/root# sfcache delete cachearea_name
  2. Remove the SSD device from the VxVM configuration so that the device can be unexported from the LPAR.
    Ldom1:/root# vxdisk rm ssd_device_name
  3. Remove the SSD device from the operating system.
    Ldom1:/root# rmdev -dl os_ssd_device_name -R
    Ldom1:/root#  rmdev -dl flash_adapter_name
  4. Using the IBM HMC, remove the Flash adapter from the partition (leaving only storage accessed by virtualized NPIV adapters). Use the below command from HMC:
    hmc:~> chhwres  -r io -m lpar_name -o r -p client1 -l  21010121
  5. Move the partition using Live Partition Mobility.
  6. On the new server, attach a Flash adapter to the partition:
    Lpar1:/root# cfgmgr
  7. Discover the Flash adapter in VxVM:
    Lpar1:/root# vxdisk scandisks
  8. After the local PCIe device is available to the VxVM configuration, you can create the required SmartIO cache area.
  9. To live migrate back the LPAR from target frame to source frame, follow step 1 to step 8.