• Image Management Service

ims
  1. Help Center
  2. Image Management Service
  3. User Guide
  4. Managing Private Images
  5. Optimizing a Linux Private Image
  6. Optimization Process

Optimization Process

A Linux ECS can be switched from Xen to KVM if xen-pv and VirtIO drivers run on the ECS. Before changing a Xen-based ECS to a KVM-based ECS, ensure that the required drivers have been installed and the UUID has been configured on the ECS.

  1. Create an ECS using the image to be optimized, start the ECS, and log in to it.
  2. Uninstall the PV driver from the ECS.

    For details, see Uninstalling the PV Driver from a Linux ECS.

  3. Change the disk identifier to UUID in the GRUB configuration file.

    For details, see Changing the Disk Identifier of the GRUB Configuration File to UUID.

  4. Change the disk identifier to UUID in the fstab configuration file.

    For details, see Changing the Disk Identifier of the fstab File to UUID.

  5. Install native Xen and KVM drivers.

    For details, see Installing Native Xen and KVM Drivers.

  6. Clear system logs and historical records, and stop the ECS.
  7. Create an image using the ECS.