Upgrade 编辑

Citrix Provisioning supports upgrading to the latest product version from versions starting with 7.6 LTSR.

Important:

When upgrading from Citrix Provisioning 1808, you must uninstall Citrix Provisioning server 1808 before installing the new Citrix Provisioning server.

If you are upgrading from Provisioning Services 7.17 to this version of Citrix Provisioning, you must manually uninstall CDF on the provisioning server, console, and target devices.

Before attempting to upgrade a Citrix Provisioning farm:

  • Select a maintenance window that has the least amount of traffic
  • Back up the Citrix Provisioning database
  • Back up all virtual disks

Tip:

Mirror if you are in a high-availability scenario; for more information, see Database mirroring. No special action is required during the upgrade once mirroring is set up.

When upgrading Citrix Provisioning, consider the following:

  • Upgrade to the latest licensing server. Note the following when upgrading the license server:
    • License servers are backward compatible and provide the latest security fixes.
    • If necessary, upgrade individual licenses. New features require that the Citrix license has a minimum subscription advantage (SA) date.
  • Back up the Citrix Provisioning database. While Citrix always tests to ensure a successful database upgrade, unforeseen circumstances might arise. Citrix strongly recommends backing up the database before upgrading.
  • Back up the Citrix Provisioning virtual disk. Citrix recommends backing up the virtual disk before upgrading. This process is only necessary if you plan to use reverse imaging with private images.
  • When running the installer to update either the server or console components, if an older version of Citrix Provisioning is detected both components are automatically updated.
  • If you are upgrading from version 7.17 to this Citrix Provisioning 1903, you must manually uninstall CDF on the provisioning server, console, and target devices.
  • Files located in C:\Program Files\Citrix\PowerShell SDK might be missing after upgrading. This issue occurs because the CDF version used by Citrix Provisioning does not match the version used by other components associated with Citrix Virtual Apps and Desktops. As a result, newer CDF files have a lower version number than previous ones. This issue does not affect the functionality of importing CPV device collections into CVAD machine catalogs. To resolve this issue:
  1. Close Citrix Studio.
  2. Mount the new Citrix Virtual Apps and Desktops ISO.
  3. In the mounted ISO, navigate to \x64\DesktopStudio.
  4. Right click PVS PowerShell SDK x64 to expose a contextual menu.
  5. Select Repair.
  6. Run the Repair option. The installation adds the two CDF files as needed.

Upgrade the environment

To upgrade from a previous Citrix Provisioning farm, complete the following procedures:

  1. Upgrade consoles. The console is a separate executable that can be installed on upgraded servers (PVS_Console.exe or PVS_Console_64.exe). Citrix recommends upgrading the console, followed by the server software for each provisioning server in the farm. Remote consoles can be upgraded at any time.
  2. Upgrade the first provisioning server in the farm, which upgrades the Citrix Provisioning database.
  3. Upgrade the remaining provisioning servers within the farm.
  4. Upgrade vDisks.

Important:

When upgrading a virtual disk within a Citrix Virtual Apps and Desktops deployment, upgrade the master target device software before upgrading the VDA software.

Upgrade utilities

The Upgrade Wizard includes the following utilities:

  • The UpgradeAgent.exe runs on the target device to upgrade previously installed product software.
  • The UpgradeManager.exe runs on the provisioning server to control the upgrade process on the target device.

Upgrading at a glance

The information in this section provides step-by-step guidance for upgrading Citrix Provisioning components. For server upgrade information, see the server article. For information about upgrading vDisks, see vDisks.

Important:

When upgrading from Citrix Provisioning 1808, you must uninstall Citrix Provisioning server 1808 before installing the new Citrix Provisioning server.

Upgrade the console and server

Follow these steps to upgrade the console and server:

  1. Run the console and server executables to initiate the upgrade process automatically. Citrix recommends that you upgrade the console first, followed by the server.

    Tip:

    To keep the Citrix Provisioning farm and target devices running during the upgrade process, use the rolling server upgrade procedure. This process upgrades one Provisioning Server at a time.

  2. The rolling server upgrade performs an upgrade on one server at a time.

    Note:

    While upgrading the Provisioning Server, it cannot service any target device. Ensure that the remaining servers in the farm support the target devices (clients) during the failover process while the upgrading the server.

    To perform the rolling upgrade, update the first Provisioning Server in the farm:

    a. Open the services MSC file (services.msc) and halt the Citrix PVS Stream Service. This process causes all provisioning targets connected to this server to fail over to other servers in the farm. Once finished, upgrade the Provisioning Server and console components.

    b. Upgrade the Citrix Provisioning database. This process is only done once:

    • Use dbScript.exe to generate the SQL script. Choose the option to upgrade database and enter the name of the dB. Use that script in SQL Management or SQL command line to upgrade the provisioning database.
    • Use configuration wizard to upgrade the provisioning database; when using this method, consider:
    • The Citrix Provisioning Configuration Wizard automatically starts when the Finish button is selected after successfully upgrading the Provisioning Server.
    • Use the default settings so that the Citrix Provisioning Configuration Wizard uses the previously configured settings. On the Farm Configuration page, select the option Farm is already configured. After all configuration information is entered, review the information on the Finish page; click Finish to begin configuring the provisioning server. At this point, the provisioning database is not configured. A message appears indicating that the database was upgraded. Click OK to confirm the message and upgrade the database.
    • Verify that Citrix Provisioning processes have started using services.msc. Boot a target device to confirm that it can connect to the provisioning server.

Considerations for provisioning database migration using a different SQL server

The Provisioning Console could fail to display the virtual disk attached to a site when migrating a database to a different SQL server. This condition exists when you use the configuration wizard to point to a different SQL server. Despite the console view, the database dbo.disk displays the updated virtual disk entries.

To migrate a database:

  1. Back up the database.
  2. Restore the database on the new SQL server.
  3. Run the configuration wizard and retain the default settings on all pages except the database configuration pages.
  4. On the Farm Configuration page, select Join existing farm.
  5. On the Database Server page, select the new database server and instance names. On the Farm Configuration page, the default option is the database imported into the new SQL server.
  6. In the configuration wizard, choose the defaults for all other options presented by the wizard.

Important:

During the migration to a different SQL server, do not create a site/store. In the preceding sequence, steps 4 and 5 point to the new SQL server, instance, and database.

Upgrade remaining Provisioning servers

After upgrading the first provisioning server, upgrade the remaining servers in the farm:

  1. Open the services MSC file (services.msc) and halt the Citrix Provisioning Stream Service. This process causes all provisioning targets connected to this provisioning server to fail over to other provisioning servers in the farm. Once finished, upgrade the provisioning server and console components.

    Tip:

    Once the server is successfully upgraded, the Citrix Provisioning Configuration Wizard starts automatically after clicking Finish. The provisioning database is only updated after upgrading the first provisioning server.

  2. Use the default settings. The Citrix Provisioning Configuration Wizard uses the previously configured settings. On the Farm Configuration page, make sure that the option Farm is already configured is selected. After all configuration information is entered, review the information on the Finish page; click Finish to being configuring the provisioning server.

  3. Repeat these steps to finish upgrading all remaining provisioning servers in the farm.

Rebalance Citrix Provisioning clients

After upgrading and configuring all Citrix Provisioning servers, Citrix recommends that you rebalance all provisioning clients (target devices) within the farm. To rebalance provisioning clients:

  1. Start the Citrix Provisioning console and log into the farm.
  2. Navigate to the Servers tab.
  3. Highlight all the provisioning servers that were recently upgraded, right-click to expose a contextual menu.
  4. Select Rebalance clients.

Upgrade the Citrix Provisioning target device

Citrix Provisioning supports three methods for upgrading target devices:

  • In-place upgrade
  • Direct VHD\VHDX boot
  • Manual upgrade using reverse imaging

Important:

Citrix strongly recommends backing up the virtual disk if versioning is not used in the upgrade process.

When using Citrix Provisioning target installers:

  • If the system is running Provisioning Services version 7.6.2 (7.6 CU1) or a newer target device, run the new target installer. It must be the same version installed on the target device. This process effectively allows the installer to take care of the upgrade.
  • If the system is running Provisioning Services version 7.6.0 or earlier target devices, uninstall the old target device software. Reboot, then install the new Citrix Provisioning target device version.

In-place upgrades

For in-place upgrades, a maintenance version of the virtual disk is interchangeable with the private image. However, Citrix recommends that you take advantage of Citrix Provisioning versioning to perform an in-place upgrade.

To perform an in-place upgrade:

  1. Create a maintenance version of the virtual disk.
  2. Using the provisioning console, navigate to the device’s properties and set the device type to Maintenance.
  3. In the Boot menu, select option 1 to boot a client into virtual disk mode using the maintenance version.
  4. Log into Windows and run the new target device installer. Install the software and perform a full installation. The target device installer performs the upgrade; do not run the imaging wizard. Reboot the target device when prompted.
  5. Once Windows has loaded, log into the system and verify that the target device software is the expected version by viewing the status tray. If the status tray is hidden by Windows, locate it by clicking the up arrow on the status tray icon.
  6. Shut down the target device.
  7. If versioning is invoked, use the provisioning console to promote the maintenance version to test version functionality. Verify the new version and promote it to the production version when it is deemed production quality. Roll this version out to users by rebooting all the target devices using this virtual disk.

Upgrading using VHD\VHDX boot

When using method to upgrade a target device, consider:

  • Citrix Hypervisor only supports .vhd
  • Hyper-V 2012 and 2008 R2 only support .vhd
  • Hyper-V 2012 R2 and 2016 supports both .vhd and .vhdx
  1. Obtain the .vhdx file. Consider:

    • If the virtual disk does not have a version, copy the .vhdx file to the Hyper-V server or import the file to XenServer using XenCenter (Files > Import).
    • If the virtual disk has a version, perform a base merge and create a .vhdx file in maintenance mode.
  2. Perform a direct VHD boot using XenServer:

    a. Copy the .vhd file to a system running XenCenter and import the file to XenServer using Files > Import.

    b. Create a VM using the imported .vhd file. Refer to the Importing and Exporting VMs section of the Citrix Virtual Apps and Desktops documentation for more information.

    c. Boot the VM.

    d. Upgrade the target device software. See the information at the beginning of this section for using the Citrix Provisioning target device installers.

  3. Perform a direct VHD\VHDX boot using Hyper-V:

    1. Copy the .vhdx file to the Hyper-V server, or

    2. Create a Hyper-V VM using the “Use an existing virtual hard disk” and point to the .vhdx file. For Hyper-V 2012 R2 and 2016, ensure that the generated VM matches those VMs of the virtual disk:

      • Generation 1 = traditional BIOS VMs and systems
      • Generation 2 = UEFI VMs and systems

For more information, see Create a virtual machine in Hyper-V.

1.  Boot the VM.

1.  Upgrade the target device software. Upgrade the target device software. See the information at the beginning of this section for using the Citrix Provisioning target device installers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:29 次

字数:17108

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文