Top
ServerView Resource Coordinator VE V2.2.2 Setup Guide

8.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 "6.2.4 Software Installation and Agent Registration".

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


Preparations

Install the desired operating system and necessary applications on the managed server from which a cloning image will be collected.
Additionally, apply any required patches and other necessary settings.
Make sure that the source server operates properly after those steps.

[Windows]

Collecting a Cloning Image

Use the following procedure to collect a cloning image from a source server:

  1. Put the source server into maintenance mode.

    1. In the RC 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 selected source 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, start up of network interfaces will take time, and errors may occur during the process.

  3. Collect a cloning image.

    1. In the RC 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. In the [Collect a Cloning Image] dialog, set the following parameters:

      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.
      The cloning image name can be up to 32 characters long, and can contain alphanumeric characters and underscores ("_").

      Update
      When updating an existing cloning image, select "Update" and select a cloning image from the list.
      The number of cloning image versions that can be kept for a given cloning image (identified by its name attribute) is limited.
      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.
      By default, the maximum number of stored image versions is set to 3.
      This setting can be changed by following the instructions given in "6.3.1.4 Changing the Maximum Number of Cloning Image Versions".

      Comments (Optional)

      Enter a comment that identifies the cloning image.
      A comment can be of no more than 128 characters. Percents ("%"), backslashes ("\"), double quotes ("), and linefeed characters are not allowed.
      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 RC 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>.

      A cloning image is collected from the selected source server.

  4. Restart applications on the source server.

    Restore the settings of any service whose startup settings were changed in step 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 RC console 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 source server is released from maintenance mode.