File distribution (office scenario)

File distribution allows you to bulk distribute files to cloud desktops. If the user is online on a cloud host that is operating correctly, the cloud host receives files after a file distribution task is created. If the user is offline on a cloud host that is operating correctly or a cloud host is shut down, the cloud host receives the files after the user comes online and the operating system is loaded. The recipient cloud desktops automatically create directories to save the received files.

Application scenarios

Use this function to send designated files to multiple online desktops in bulk.

Configuration workflow

  1. Upload a file: Upload the files and folders to be distributed to users to Space Console. The files and folders include the local files and folders that already exist and those obtained through collection.

  2. Configure file distribution parameters: Configure the file distribution parameters, including the maximum number of concurrent distribution tasks and per-cloud host file download rate limit.

  3. Distribute files to desktop pools or desktops: Distribute files to online desktops. The recipient desktops automatically create directories to save the received files.

  4. Manage files and file distribution task: Delete files and folders; view distribution task information, clear and query distribution task records.

Restrictions and guidelines

Collect files

  • You can collect only configuration files of Windows desktops can be collected.

  • You can collect only one file that is not larger than 1 MB at a time, and cannot collect an empty file or file folder.

  • The collection of a file requires the permission of the operating system or app.

  1. From the left navigation pane, select Applications > File Distribution > File Management.

  2. Click Collect Files.

  3. Enter the path and the complete name of the file to be collected, for example, C:\Temp\test.txt, select a desk pool and a desktop, and then click Collect.

    The collected file will be saved to the default download path, and you can edit the collected file and distribute it.

Upload a file

Procedure

  1. From the left navigation pane, select Applications > File Distribution > File Management.

  2. Click Upload. The dialog box for uploading files opens.

  3. To upload a single file, click File. Click Upload. In the dialog box that opens, select the target file and click Open, and then click OK. To upload a folder, click Folder. Click Upload. In the dialog box that opens, select the target folder and click Open, and then click OK.

    The file list displays all uploaded files and folders.

Parameters

Configure file distribution parameters

  1. From the left navigation pane, select Application > File Distribution > File Management.

  2. Click Configure.

  3. Configure the following parameters as needed:

    • Concurrent Tasks: Specify the maximum number of concurrent file distribution tasks. Value 0 means no limit.

    • Download Rate Limit: Specify the maximum file download rate per cloud host.

  4. Click OK

Distribute files to desktop pools or desktops

Perform this task to distributed files to designated desktop pools or desktops.

Restrictions and guidelines

File distribution can distribute files only to a desktop that is in normal state and has an online user.

Procedure

  1. From the left navigation pane, select Applications > File Distribution > File Management.

  2. Select the files and folders to distribute and click File Distribution.

  3. In the dialog box that opens, select Desktop Pools or Desktops for Distribution Mode.

  4. Select the desktop pools or desktops to which you want to distribute the selected files and folders, set the task timeout period, select the distribution path.

    By default, the distribution path is the user desktop.

    Within the task timeout period, cloud desktops that are operating correctly receive the task if their users are online. After the task expires, Space Console will not distribute files to the cloud desktops that have not received the task within the timeout period.

  5. Click OK.

Manage files and file distribution tasks

You can perform the following tasks:

Delete files and folders

  1. From the left navigation pane, select Applications > File Distribution > File Management.

  2. Perform either of the following tasks:

    • To delete multiple files and folders, select the target files and folders, and then click Delete above the file list.

    • To delete a single file or folder, click Delete in the Actions column for the file or folder.

  3. In the dialog box that opens, click OK.

View distribution tasks

  1. From the left navigation pane, select Applications > File Distribution > Distribution Tasks.

  2. View information for individual distribution tasks, including:

    • VM Name: Name of the recipient VM.

    • Files: Names of the distributed files.

    • Task Started At: Time when the distribution task started.

    • Task Ended At: Time when the distribution task ended.

    • Task State: State of the task.

  3. For a task in distribution, you can cancel it by clicking Cancel Task in the Actions column for the task.

  4. For a task that failed to be distributed, click Retry in the Actions column for the task to distribute files again.

Clear distribution records

Perform this task to delete records of distribution tasks ended on and before the specified date.

  1. From the left navigation pane, select Applications > File Distribution > Distribution Records.

  2. Click Clear.

  3. In the dialog box that opens, specify a date to delete records for tasks ended on and before that date.

  4. Click OK.

Configure scheduled distribution record cleanup settings

Perform this task to configure scheduled distribution record cleanup settings, including the maximum retention period per record and the action (delete or export) to take on expired records. Depending on the action specified, the system will delete or export expired distribution records at 04:30 am every day.

  1. From the left navigation pane, select Applications > File Distribution > Distribution Records.

  2. Click Clear on Schedule.

  3. In the dialog box that opens, configure the following parameters:

    • Actions: Select Not Process not to process expired distribution records, select Delete to delete expired distribution records, or select Export to File to export expired distribution records to a file. The exported records will be saved to a file in the /usrexport directory on the management node and then removed from the distribution record list.

    • Retention Period: Maximum number of days a distribution record can be kept before being deleted or exported. The minimum retention period is 1 day.

  4. Click OK.

Query distribution records

  1. From the left navigation pane, select Applications > File Distribution > Distribution Records.

  2. Click Advanced Query.

  3. Configure the following query parameters as needed:

    • Files: Enter the names of the distributed files.

    • Task Started At: Specify the time when the distribution task started.

    • Task Ended At: Specify the time when the distribution task ended.

    • State: Select a task state. Options are Distribution Succeeded, Distributed Failed, and Unknown.

  4. Click OK.

    The distribution record list displays all records matching the specified query criteria.