Managing Virtual Server Images

Create and manage images of created virtual servers.

Creating an Image

Create virtual server images of virtual servers that you have created.

Note:

First, you must shut down the virtual server of which you will create an image.

Also, do not start the target virtual server until creation of an image has been completed. If you start the target virtual server while the image is being created, the content of the volume may be updated.

Note: For additional storage, relocate a storage volume by detaching and reattaching it, or use a function such as the snapshot function to duplicate the storage volume.
Warning: If there is a chance that the disk configuration has been changed between when a snapshot was created and when restoration is being performed, delete all volume information from the disk settings on the OS (for Linux, the /etc/fstab file, etc.), and then create a new snapshot. When there is unnecessary volume information remaining, starting of the OS may fail after restoration is performed.
Warning:

Perform the following steps before creating an image of a virtual server whose OS is CentOS 6.x, Ubuntu, or Red Hat Enterprise Linux 6.x (x is a number). If the following settings remain in the image, network communication with the virtual server created from that image will not be possible.

  1. Disable write_net_rules

    /lib/udev/rules.d/75-persistent-net-generator.rules

    Comment out (add a # to the beginning of the line) the following line in the above file.

    DRIVERS=="?*", IMPORT{program}="write_net_rules"
  2. Delete /etc/udev/rules.d/70-persistent-net.rules

    rm -f /etc/udev/rules.d/70-persistent-net.rules
Warning: Perform the Procedure to Run Sysprep on Windows OS before you create an image of a virtual server whose OS is Windows.
Table 1. Creating an Image (List of Items That Can Be Set)
Item Description Required
Image Name Specify a name that identifies the image  
Disk Format Specify "raw"  
Container Format Specify "bare"  
Force Option Specify "true"  

Acquiring/Updating Image Metadata

You can check and edit metadata that is assigned to virtual server images that have been created.

Table 2. Modifying Image Metadata (List of Items That Can Be Set)
Item Description Required
Image Name Specify a name that identifies the image  
Metadata Specify the metadata for the image in Key-Value format  

Deleting an Image

Delete images that have been registered.