• Workspace

workspace
  1. Help Center
  2. Workspace
  3. Private Image Management Guide
  4. Updating Private Images
  5. Updating Private Images

Updating Private Images

Scenario

If you want to install new application software, drivers, and system patches, update private images.

Prerequisites

  • You have obtained the username and password for logging in to Console Home.
  • You have obtained Windows image tool FusionAccess_Windows_Installer_latest.iso.

Procedure

Creating an ECS

  1. Use a user account to log in to Console Home.
  2. In Image Mgmt Service, click Private Image and find the private image used by the current service version, for example, Workspace_Image_01.
  3. In Operation, click Create ECS and configure required parameters. For details, see Table 1.

    Table 1 Parameter settings

    Tab

    Parameter

    Configuration Description

    Basic information

    ECS Name

    Enter the name based on site requirements.

    ECS Type

    • Common desktop: General-purpose
    • GPU desktop: GPU-optimized

    vCPU

    4 vCPUs

    Memory

    8 GB. Memory varies with ECS types. Therefore, select your desired memory based on site requirements.

    Image Type

    Private image

    Image

    Private image, for example, Workspace_Image_01.

    Disk

    • Common desktop: System disk 80 GB
    • GPU desktop: System disk 80 GB

    Network

    NIC

    Retain the default settings.

    NOTE:
    • If there are no available NICs, choose Basic Information > AZ to select another AZ.
    • Enable port 3389 for the security group.

    EIP

    Select Automatically Assign.

    Login and File Injection

    Key pair

    If this is your first login, create a key pair.

    NOTE:

    Upon your first login, create a certificate as follows:

    1. Choose Cloud Server Console > Key Pair, and click Create SSH Key Pair on the right.
    2. In the Information dialog box that is displayed, click OK.
    NOTE:

    Retain the default values for other parameters involved in the page.

  4. Click Create Now.
  5. On the Resource Details page, confirm the specifications of the ECS to be created.
  6. Click Submit.

    After the application is complete, choose Cloud Server Console > Elastic Cloud Server. The created ECS is displayed. Take note of the ECS' Elastic IP Address (EIP).

  7. Choose More > Get Password.
  8. In the window that is displayed, click Select File, and select the created SSH Key.
  9. Click Get Password to obtain the password and keep it secure.

Copying files

  1. Run mstsc.
  2. Enter the EIP and click Connect.
  3. Enter the username and password for logging in to the ECS and click OK.
  4. Copy non-ISO files to be updated, such as OS patches, peripheral drivers, and application installation programs to the C:\ directory of the ECS.

    NOTE:

    If decompression software is not installed on the ECS, decompress ISO files and copy the files to the ECS.

Installing OS patches

  1. Install OS patches based on site requirements.

Installing Microsoft .NET Framework component

NOTE:

When the Windows 7 or Windows Server 2008 OS is used, you need to install the Microsoft .NET Framework component of version 4.5 or later.

  1. Install Microsoft .NET Framework component based on site requirements.

Installing application software

  1. Install application software based on site requirements.

    • Some security software (such as the antivirus software, safeguard, and firewall) may conflict with the Microsoft encapsulation tool, causing BSOD or blank screen errors on created desktops or resulting in a desktop creation failure. Therefore, install security software only after the desktops are provisioned successfully.
    • If the antivirus software contains firewalls, disable the firewalls or enable the ports required by HDP in the firewalls before you install the application software. Otherwise, ECS connections will be affected. For details about the ports required by HDP, see the Communication Matrix.

(Optional) Installing peripheral drivers

  1. Install peripheral drivers based on site requirements.

Encapsulating an image

  1. In the C:\ directory of the ECS, locate FusionAccess_Windows_Installer_XXX, the decompressed template tool folder.
  2. In the blank area of the opened window, hold down Shift, right-click, and select Open command windows here.
  3. In Command Prompt, run the following command to encapsulate the image:

    run_silent.bat --passive

  4. After image encapsulation is complete, the ECS is automatically shut down.

Converting the ECS into an image

  1. Log in to Cloud Server Console.
  2. In the list on the left, click Elastic Cloud Server.
  3. On the row that contains the ECS to be converted to an image, choose More > Make Image from the drop-down list.

    The Create Private Image page is displayed.

  1. Set Source to ECS.
  2. Select the ECS.
  3. Enter the image name, for example, Workspace_Image_01_New.
  4. Click Create Now to create the image.

Updating the image

  1. Log in to Cloud Server Console.
  2. In the list on the left, click Image > Private Image.
  3. Find the old private image, for example, Workspace_Image_01 and click Modify.
  4. In the dialog box that is displayed, change the name of the old image, for example, Workspace_Image_01_Old.
  5. Find the new private image and click Modify.
  6. In the dialog box that is displayed, change the name of the new image to the old image name, for example, Workspace_Image_01.