Updated on 2024-07-19 GMT+08:00

Managing Desktop Pools

Scenario

The administrator can start, stop, restart, and delete desktops, and change desktop names of a desktop pool. The administrator can also create a group of desktop resources for customers to use them in different time periods to improve work efficiency.

Procedure

  1. Log in to the Workspace console.
  2. In the navigation pane, choose Desktops > Desktop Pools.

    The Desktop Pools page is displayed.

  3. Perform the operations in Table 1 as required.

    Table 1 Operations

    Operation

    Procedure

    Checking desktop pool information

    1. Above of the desktop list, enter a keyword and click .
    2. Check information such as the desktop pool name, pool type, specifications/images, desktop usage, and billing mode.

    Changing a desktop pool name

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the right of the name.
    3. Enter the new name and click .
      NOTE:

      The desktop pool name must be unique and contain 1 to 15 characters in letters, digits, and hyphens (-).

    Deleting a desktop pool

    For pay-per-use desktops:

    1. Choose More > Delete in the Operation column of the desktop pool to be deleted.
      NOTE:

      Before deleting a desktop pool, disable the automatic creation function and delete the desktop.

    For yearly/monthly-billed desktop pools:

    1. Click the name of the desktop pool to go to the basic information page. Select a desktop and choose More > Unsubscribe above the list or in the Operation column.
    2. On the desktop unsubscription page, confirm the desktop information and click Yes.
    3. On the resource unsubscription page, confirm the resource to be unsubscribed from and write the unsubscription reason, select the resource and data statement for desktop unsubscription, and click Unsubscribe.

      For details about resource unsubscription, see Unsubscriptions.

    Shutting down a desktop pool

    1. Locate the row that contains the desktop pool to be stopped, and click Stop in the Operation column.
    2. On the page displayed, confirm the shutdown.
      NOTE:

      You can determine whether to select Forcible execution as required.

    Starting a desktop pool

    1. Locate the row that contains the desktop pool to be started, and click Start in the Operation column.
    2. On the page displayed, confirm the startup.

    Hibernating a desktop pool

    1. Locate the row that contains the desktop pool to be hibernated, and choose More > Hibernate in the Operation column.
    2. On the page displayed, confirm the hibernation.
      NOTE:
      • Currently, hibernation is only applicable to the Windows OS.
      • You can determine whether to select Forcible execution as required.

    Restarting a desktop pool

    1. Locate the row that contains the desktop pool to be restarted, and choose More > Restart in the Operation column.
    2. On the page displayed, confirm the restart.
    3. Click Yes.
    4. Creating a snapshot for one desktop pool: Select the desktop pool for which you want to create a snapshot, and click More > Create Snapshot in the Operation column. The page of snapshot creation is displayed.
      NOTE:

      You can determine whether to select Forcible execution as required.

    Creating a snapshot

    • Creating a snapshot for one desktop:
      1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
      2. Select the desired desktop and choose More > Create Snapshot above the desktop list, or More > Create Snapshot in the Operation column.
      3. On the page displayed, specify Applied To. Then enter System Disk Snapshot Name or Data Disk Snapshot Name, or both, as well as System Disk Snapshot Description or Data Disk Snapshot Description, or both.
      4. Click OK.
    • Batch creating snapshots for desktops:
      1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
      2. Select the desired desktops and choose More > Create Snapshot above the list.
      3. On the page displayed, specify Applied To. Then enter System Disk Snapshot Name or Data Disk Snapshot Name, or both, as well as System Disk Snapshot Description or Data Disk Snapshot Description, or both.
      4. On the page displayed, click OK.
    NOTE:
    • Snapshots can be created only for desktops in a static desktop pool.
    • A maximum of 10 snapshot creation records can be retained for each desktop, including snapshot creation records on the console and by end users.

    Restoring a snapshot

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the left of the desired desktop, and click the Snapshots tab.
    3. Restore a snapshot.
      • Restoring one snapshot:

        Click Restore in the Operation column.

        On the page displayed, select I understand the impact of this operation. Shut down the VM and restore the snapshot. and click OK.

      • Batch restoring snapshots:

        Batch select the desired snapshots and click Restore above the snapshot list.

        On the page displayed, select I understand the impact of this operation. Shut down the VM and restore the snapshot. and click OK.

    NOTE:
    • Only the snapshots of one data disk and one system disk can be restored for a desktop at a time.
    • The desktop will be forcibly shut down during snapshot restoration.
    • A time point will be specified for snapshot restoration. After the restoration, data generated after this time point cannot be retrieved.

    Deleting a snapshot

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the left of the desired desktop, and click the Snapshots tab.
    3. Delete a snapshot.
      • Deleting one snapshot:

        Click Delete in the Operation column.

        On the page displayed, select I understand the impact of the operation and confirm to delete the snapshot. and click OK.

      • Batch deleting snapshots:

        Batch select the desired snapshots and click Delete above the list.

        On the page displayed, select I understand the impact of the operation and confirm to delete the snapshot. and click OK.

    NOTE:

    Recomposing the system disk, deleting a desktop, or deleting a disk will automatically delete the snapshot of the desktop.

    Managing desktop pool scripts

    1. Select a desktop pool and choose More > Script > Execute Script in the Operation column. For details, see Script Management.
    2. Select a desktop pool and choose More > Script > Execute Command in the Operation column, and click Enter Command. On the displayed page, select Execution Environment, specify Command Timeout, and enter a command. Then click Execute.
    3. Select a desktop pool and choose More > Script > Script Record in the Operation column to check script execution records on the Scripts page. For details, see Command Records.

    Remotely logging in to a desktop in the desktop pool

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Locate the row that contains the target desktop and choose More > Remote Login in the Operation column.
    3. The remote login page is displayed. Enter the account and password to remotely log in to the desktop.
      NOTE:

      Desktops that are not assigned to users do not support remote login.

    Sending a notification

    1. Choose More > Send notification in the Operation column of the desktop pool. The Send notifications page is displayed.
    2. Enter the content of the message to be sent and click Send.
      NOTE:

      Notifications can be sent only for desktop pools that are running.

    Changing the duration of desktop pool unbinding upon disconnection

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the right of Disconnection and Unbinding.
    3. Change Retention period and click OK.
      NOTE:

      The value must range from 10 to 43,200.

    Changing the number of desktops automatically created in a desktop pool

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the right of Auto Create. The Auto Create page is displayed.
    3. Change the value of x as required.

    Changing the desktop naming rule of a desktop pool

    1. Click the desktop pool name. The basic information page of the desktop pool is displayed.
    2. Click on the right of the desktop naming rule. The Desktop Naming Rules window is displayed.
    3. Select a naming rule from the drop-down list box and click OK.
      NOTE:

      A desktop pool supports only naming rules that do not contain usernames.

    Enabling the maintenance mode

    1. Select the desired desktop pool and choose More > Enable Maintenance Mode in the Operation column.
    2. Select Confirm and click OK.
      NOTE:
      • In the maintenance mode, all operations, such as user access, self-service maintenance, startup, shutdown, and restart, are not allowed.
      • Desktops that are being connected to and have been connected to will not be affected.

    Disabling the maintenance mode

    1. Select the desired desktop pool and choose More > Disable Maintenance Mode in the Operation column.
    2. Select Confirm and click OK.