Top
ServerView Resource Orchestrator Cloud Edition V3.1.0 User's Guide for Infrastructure Administrators (Resource Management)

12.2 Collecting a Cloning Image

When installing servers using the cloning function, first collect a cloning image from a source server. Collected cloning images can later be used for the deployment of other servers.

A cloning image can be collected only from a managed server on which an agent has been registered.
For details on registering agents, refer to "Chapter 11 Installing Software and Registering Agents on VM Hosts" in the "Setup Guide CE".

Cloning images cannot be collected from VM hosts or VM guests.


Preparations

[Windows]

Collecting Cloning Images

Use the following procedure to collect cloning images:

  1. Place the target server into maintenance mode.

    1. In the ROR console server resource tree, right-click the desired server (or its physical OS), and select [Maintenance Mode]-[Set] from the popup menu.

      The [Set Maintenance Mode] dialog is displayed.

    2. Click <OK>.

      The target server is placed into maintenance mode.

  2. Stop all operations running on the source server.

    When a cloning image is collected, the source server is automatically restarted. Therefore, all operations running on the source server should be stopped before collecting the image.

    Cancel the settings in the following cases:

    • NIC redundancy has been configured for admin LANs and public LANs (*1)

    • Tagged VLANs have been configured on NICs

    *1: However, there is no need to cancel public LAN redundancy settings made via the network parameter auto-configuration function.


    The following settings are disabled during cloning image collection, which may result in services failing to start on server startup. To avoid this, automatic startup should be disabled for any service that depends on the following settings.

    • Hostname

    • IP address and subnet mask for the admin LAN

    • Default gateway for the admin LAN

    Note

    When using SUSE Linux Enterprise Server, it is necessary to configure the managed server so that only the NIC used for the admin LAN is active when the server is started. For details on how to modify the configuration, refer to the operating system manual. If this procedure is not performed, startup of network interfaces will take time, and errors may occur during the process.

  3. Collect a cloning image.

    1. In the ROR console server resource tree, right-click the physical OS of the source server and select [Cloning]-[Collect] from the popup menu.
      The [Collect a Cloning Image] dialog is displayed.

    2. To use this feature, the following settings must first be defined:

      Cloning Image Name

      Enter a name to identify the collected cloning image.

      New
      When creating a new cloning image, select [New] and enter a new cloning image name.
      For a cloning image name, enter a character string beginning with an alphabetic character and containing up to 32 alphanumeric characters and underscores ("_").

      Update
      When updating an existing cloning image, select [Update] and select a cloning image from the list.
      Cloning images with the same name can be saved up until the maximum number of image versions.
      If the selected cloning image has already reached this limit, it is necessary to delete one of its existing versions in order to create a new cloning image. This can be done directly in this dialog by selecting the version to be deleted from the displayed list.
      The selected version will be automatically deleted when collection of the new cloning image completes.
      The maximum number of image versions is three by default.
      This setting can be changed by following the instructions given in "6.4 Changing the Maximum Number of Cloning Image Versions (Physical Servers)".

      Comment (Optional)

      Enter a comment that identifies the cloning image.
      Up to 128 characters other than percent signs ("%"), back slashes ("\"), double quotes ("), and line feed characters can be specified.
      If [Update] was selected for the [Cloning Image Name] option, the comment of the most recent image version is displayed.
      If no comment is specified, a hyphen ("-") will be displayed in the ROR console.

      It is recommended to enter comments with information such as hardware configuration (server model, disk size, and number of network interfaces), software configuration (names of installed software and applied patches), and the status of network parameter auto-configuration function.

      [Release Maintenance Mode after collection] checkbox

      Enable this option to automatically release the source server from maintenance mode after image collection and maintenance work.
      If this option disabled, maintenance mode should be released manually after collecting the cloning image.

    3. Click <OK>.

      The process of collecting the cloning image starts.
      The process status can be checked in the Recent Operations area of the ROR console.
      Clicking <Cancel> in the Recent Operations area displays a confirmation dialog and stops the process.

  4. Restart applications on the source server.

    Restore the settings of any service whose startup settings were changed in 2. and start these services.

    Restore the settings for the following cases:

    • NIC redundancy for admin LANs and public LANs has been released

    • The settings of tagged VLANs for NICs have been released

    Check that applications are running properly on the source server.

  5. Release the source server from maintenance mode.

    This step is not required if the [Release Maintenance Mode after collection] checkbox was enabled in the [Collect a Cloning Image] dialog.

    1. In the ROR console server resource tree, right-click the source server (or its physical OS) and select [Maintenance Mode]-[Release] from the popup menu.

      The [Release Maintenance Mode] dialog is displayed.

    2. Click <OK>.

      The target server is released from maintenance mode.