Performing live migration between LDOMs in the SmartIO environment

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

To perform live migration in the SmartIO environment

  1. To prepare the LDOM for the live migration, perform the following steps:
    • Offline the cache area that is created inside the LDOM.

      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 LDOM.
    Ldom1:/root# vxdisk rm ssd_device_name
  3. Verify that the SSD device is removed from VxVM. The SSD device is not visible in the output of the following command:
    Ldom1:/root# vxdisk list
  4. Unexport the device from the LDOM.
    Cdom1:/root> ldm remove-vdisk vdisk_name ldom1 
  5. After unexporting the local SSD device, perform the live migration of the LDOM. During the live migration, make sure that the application and mountpoints that use the SFHA objects are intact and running properly.
  6. After the live migration completes, export the PCIe SSD devices that are available on the other control domain.
    Cdom1:/root> ldm add-vdsdev vxvm_device_path vds_device_name>@vds
    Cdom1:/root> ldm add-vdisk vdisk_name vds_device_name@vds ldom1
  7. After exporting the local PCIe SSD devices, include the devices in the VxVM configuration that is inside the LDOM.
    Ldom1:/root> vxdisk scandisks
  8. Verify that the SSD device is visible in the output of the following command:
    Ldom1:/root# vxdisk list
  9. After the local PCIe device is available to the VxVM configuration, you can create the required SmartIO cache area.
  10. To live migrate back the LDOM from target control domain to source control domain, follow step 1 to step 9.