Software deployment (office scenario)

About software deployment

Software deployment allows you to bulk install and upgrade software on VDI desktops without deleting desktop data.

To create the software to deploy, perform the following tasks:

  1. Collect the differential data released during software installation on the desktop used for creating a software repository. For example, differential data for files and registry parameters.

  1. Upload the differential data to the storage volume for the software repository to create a software sample for deployment to desktops.

Configuration workflow

  1. Create a software repository template: Create a software repository template from a desktop that meets following requirements:

You can create a qualified desktop before creating the software repository template.

  1. Build and deploy a software repository

  1. Build a software repository based on the software repository template and install the desired software and software updates in the repository.

  1. Deploy the software and software updates in the repository to designated desktops.

  1. Manage software repository templates: Edit, delete, and view software repository templates.

  1. Manage software : Edit, delete, deploy software repositories, and set the scheduled software deployment time.

Restrictions and guidelines

Create a software repository template

A software repository template is the basis for creating a software repository.

A software repository template is created on a desktop that is equipped with Agent, CAStools, and minimal other required software. The desktop and the shared storage specified for the software repository together provide the software installation environment for the software repository. The software installation files and registry information are kept in the shared storage of a software repository. After a software repository is built, the software repository template is restored to its initial state so it can be used to create new software repositories or update existing ones.

 

  • You cannot use a desktop to create a software repository template if the system does not have operating system subversion information about the desktop.

  • If a desktop is used to create a software repository template for the first time, you must first install CAStools on the desktop and power on it. This ensures the system can obtain the operating system subversion information about the desktop.

 

Prerequisites

Make sure you have a VM that is not installed with any software except the following software:

If no VMs are available for software repository template creation, use one of the following methods to create one:

Procedure

  1. From the navigation pane, select Applications > Software Distribution > Software Repository Templates.

  1. Click Create.

  1. Configure the following parameters:

  1. Click OK.

Build and deploy a software repository

Use this function to build a software repository based on an existing software repository template. Then, you can deploy software and software updates in the software repository to desktops in static desktop pools.

Configuration workflow

  1. Configure basic information for the software repository—Specify the software repository template and shared storage for the software repository.

  1. Build the software repository—Use the software repository building tool to install software and software updates in the repository for future deployment to desktops.

  1. Test the software repository—Deploy the software and software updates in the repository to designated test VMs and verify that the software can be installed on the VMs correctly. Only VMs that do not belong to any desktop pools can be selected for testing.

  1. Deploy the software and software updates in the repository to selected desktops in a static desktop pool.

Procedure

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click Create.

  1. On the Basic Info page, configure the following parameters:

  1. Click Next. The Build Software Repository page opens, displaying the software repository information with a state of Not Built.

  1. Open the page for building the software repository through VNC or TightVNC.

The software repository building tool is displayed.

 

For common desktops, open the page for building the software repository through VNC. For vGPU desktops, open the page for building the software repository through TightVNC.

 

  1. Get the software installation package from the shared directory and copy the package to the desktop on the local host.

  1. In the software repository building tool, click Start Building. In the dialog box that opens, verify that the software installation package is prepared and click OK to start installing the software.

  1. After software installation is complete, click Finish Creation. In the dialog box that opens, verify that the software is correctly installed and click OK. The system will automatically close the desktop. On the Build Software Repository page that opens, the software repository state is Building.

  1. Click Refresh. The Test Software Repository page opens.

 

You can click Cancel to abort an ongoing building process and then resume the process at any time by clicking Continue in the State column for the software repository on the software repository list.

 

  1. Click Add.

  1. In the dialog box that opens, select the desktops (not in the desktop pool) for the software deployment test and click OK.

The system starts to deploy the software in the software repository to the selected desktops.

  1. Click Refresh.

  1. After software deployment to a desktop is complete, click Console in the Actions column for the desktop to verify that the software is correctly installed on the desktop.

  1. Click Software List to view the list of the software in the software repository.

  1. After the software repository passes the test, click Finish Test. The Deploy Software page opens.

  1. Click Deploy Software.

  1. In the dialog box that opens, select a static desktop pool and then select desktops in the pool for software deployment. Select Mandatory Deployment or Auto Run Desktops as needed, and then click OK.

  1. After software deployment to a desktop is complete, click Console in the Actions column for the desktop to verify that the software is correctly installed.

  1. Click Finish.

Manage software repository templates

A software repository template that is in In Use state cannot be edited or deleted.

 

Edit a software repository template

  1. From the navigation pane, select Applications > Software Distribution > Software Repository Templates.

  1. Click Edit in the Actions column for the target software repository template.

  1. Edit the software repository template parameters as needed. For more information about the software repository template parameters, see "Create a software repository template."

  1. Click OK.

Delete software repository templates

  1. From the navigation pane, select Applications > Software Distribution > Software Repository Templates.

  1. Perform either of the following tasks:

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

View software repository template information

  1. From the navigation pane, select Applications > Software Distribution > Software Repository Templates.

The software repository template list displays all software repository templates in the system.

  1. View the software repository template information. A software repository template can be in any of the following state:

Manage software repositories

Edit a software repository

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click Edit in the Actions column for the target software repository.

  1. Edit the name and description of the software repository as needed.

  1. Click OK.

Delete a software repository

You can delete a software repository only when the number of desktops in the software repository is 0.

 

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click Delete in the Actions column for the target software repository.

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

Set the scheduled software deployment time

Use this function to set the scheduled software deployment time for non-mandatory software deployment tasks. A non-mandatory software deployment task is a task configured in the Deploy Software window of a software repository with the Mandatory Deployment option unselected.

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click Configure.

  1. Set the scheduled software deployment time and click OK.

View software repository details

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click the name of the target software repository.

The software repository details page opens.

  1. View basic software repository information:

  1. Click the Desktops tab to view the list of the desktops to which the software repository has deployed software. You can deploy software, cancel deployment, redeploy, and enter desktop console as needed.

  1. Click the Version Info tab to view the available versions of the software repository. You can update the software repository version as needed.

Deploy software

Use this function to deploy the software in the available software repository to designated desktops.

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click Deploy Software in the Actions column for the target software repository.

  1. In the dialog box that opens, select a static desktop pool and then select desktops in the pool for software deployment. Select Mandatory Deployment or Auto Run Desktops as needed, and then click OK.

  1. Click the software repository name to enter the software repository details page. The Desktops tab displays the deployment progress for each of the selected desktop.

  1. After software deployment to a desktop is complete, click Console in the Actions column for the desktop to verify that the software is correctly installed.

  1. Perform the following tasks as needed:

 

The system processes a desktop on which software deployment is cancelled based on the deployment state of the desktop:

·          A desktop in Deployment Succeeded or About To Deploy state will be removed from the desktop list directly.

·          A desktop in Deployment Failed state will be restored to its original state before the deployment and then removed from the desktop list.

 

Manage software repository versions

A software repository cannot be rolled back to a previous version.

  1. From the navigation pane, select Applications > Software Distribution > Software Repositories.

  1. Click the name of a software repository.

  1. On the software repository details page, click the Version Info tab.

  1. To view the software list of a version, click View Software List in the Software List column for the version.

  1. To enable a version, click Enable in the Actions column for the version. In the dialog box that opens, click OK.

  1. To delete a version, click Delete in the Actions column for the version. In the dialog box that opens, click OK.

  1. To create a new version based on an existing version:

  1. Click Update in the Actions column for the target version. The Update Software Repository dialog box opens.

  1. Select a software repository template, and then click Start Building. The system starts to copy the software installation information of the current software repository version.

  1. Click Refresh a while later. After the value of the State field changes to Updating, open the page for building the software repository through VNC or TightVNC. For more information about software installation and test procedures, see "Build and deploy a software repository."

  1. After the software repository passes the test, click Finish Test.

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

View deployment history records

The History Records page displays the history software deployment task records for desktops.

From the page, you can view information such as the deployment result and the list of software deployed to a desktop in a software deployment task.

  1. From the navigation pane, select Applications > Software Distribution > History Records.

  1. View the software deployment task records displayed on the page.

  1. To view the list of software deployed to a desktop, click View Software List in the Software List column for the desktop.