Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Setup Guide
ServerView

C.3.8 Collecting and Deleting Cloning Images

This section explains how to collect and delete cloning images.

Collecting Cloning Images

Use the following procedure to collect cloning images:
After installing an OS, stop the target L-Server.

  1. Right-click the target L-Server in the orchestration tree, and select [Cloning]-[Collect] from the popup menu.

  2. Click <OK>.

A given cloning image (identified by its name attribute) can be managed by image version.

If a cloning image is created using VM management software, it can be used as is.

Note

  • If an L-Server is created with a specified Windows image, when deploying the image use Sysprep, provided by Microsoft, to reconfigure the properties unique to the server. By executing Sysprep, the user information and OS setting information are reset.
    For details on Sysprep, refer to the information provided by Microsoft.

  • If stopping or restarting of the manager is performed during execution of Sysprep, the operation being executed will be performed after the manager is started.
    Until the process being executed is completed, do not operate the target resource.

  • When using MAK license authentication for activation for the following OSs, Sysprep can be executed a maximum of three times.

    • Microsoft(R) Windows Server(R) 2008 R2

    • Microsoft(R) Windows Server(R) 2008

    • Microsoft(R) Windows(R) 7

    • Microsoft(R) Windows Vista(R)

    Since Sysprep is executed when creating L-Server with images specified or when collecting cloning images, collection of cloning images and creation of L-Servers with images specified cannot be performed more than four times. Therefore, it is recommended not to collect cloning images from L-Servers that have had cloning images deployed, but to collect them from a dedicated master server. The number is also included in the count when Sysprep is performed when a template is created using SCVMM.

  • Creation of L-Servers by specifying cloning images on which Windows 2000 Server and Windows 2000 Advanced Server are installed is not supported.

  • When using System Center 2012 Virtual Machine Manager as VM management software, only cloning images with high-availability attributes can be used in Resource Orchestrator.

Point

Images are stored in the SCVMM library.

Specify a library that has sufficient disk space available to store the collected images.

When [Automatic selection] is specified in the [Collect a Cloning Image] dialog, selection is made from libraries registered with SCVMM, but collection of images may fail, as the available disk space of libraries is not managed by SCVMM.

Resource Orchestrator uses SCVMM templates for collection of images.

When collecting images from L-Servers, a template is created using a name with the version number added to the image name. When retrieving the template created by the user as an image, the template is treated as an image.

In order to collect images of L-Servers, a work area equal to the size of the disk (the system volume, all data disks, snapshot, and configuration definition file) of the target of L-Server creation is necessary. This work area is released, when collection of images is complete.

When collecting images, collecting only system volumes, or images including data disks can be selected.

In Resource Orchestrator, the virtual hard disk of the primary channel (0) of the IDE device is managed as the system volume.

DVD drives other than the secondary channel (0) of the IDE device are deleted. A DVD drive is added to the secondary IDE channel (0) even if there is no DVD drive in the image. If DVD drives other than this drive exist, they are deleted.

Collection of images cannot be collected, when there are snapshots. Collect images after deleting snapshots. When creating checkpoints from the SCVMM management console or creating snapshots from Hyper-V manager, collection of images will fail.

When retrieving SCVMM templates created by users using SCVMM, manage them as follows:

Access Control Configuration File of Image Storage Location

By specifying unavailable library shared path names in the access control configuration file of the image storage destination in advance, cloning image storage destinations can be controlled based on user groups.

Storage Location of the Configuration File

[Windows Manager]
Installation_folder\SVROR\Manager\etc\customize_data

Configuration File Name

The configuration files can be divided into definitions that are available for each user group and definitions that are common to the system. When there are both types of files, the limitations of both are valid.

  • For User Groups

    library_share_user group name_deny.conf

  • Common on System

    library_share_deny.conf

Configuration File Format

In the configuration file, library shared path names are entered on each line.

Library_shared_path_name

Example

An example configuration file is indicated below:

\\rcxvmm1.rcxvmmshv.local\MSSCVMMLibrary
\\rcxvmm2.rcxvmmshv.local\lib


Deleting Cloning Images

Use the following procedure to delete cloning images:

  1. Select the target image pool on the orchestration tree.

    The [Resource List] tab is displayed.

  2. Right-click the cloning image to be deleted, and select [Delete] from the popup menu.

  3. Click <OK>.

    The cloning image is deleted.

When SCVMM template creation requirements are not met, or configuration changes are performed outside Resource Orchestrator, collection of images may fail.

When deleting cloning images, the corresponding templates in the SCVMM library are deleted.

When deleting these templates, related files (such as .vhd and .vfd) will remain in the SCVMM library as only template definition files are deleted.

When these related files are unnecessary, delete them individually from SCVMM.

Information

By creating the following setting file beforehand, when deleting cloning images, the related files that have no dependencies with other templates can be deleted at the same time.

Storage Location of the Configuration File

[Windows Manager]
Installation_folder\SVROR\Manager\etc\vm

Configuration File Name

delete_image_all_files_scvmm

Configuration File Format

It is not necessary to describe content in the configuration file.

As in the case of deletion of related files from the SCVMM management console, only the related files are deleted from the SCVMM library. The folder where the related files are stored will remain.