将 View Composer 迁移到另一台物理或虚拟机时,如果您想保留当前的链接克隆虚拟机,则新的 VMware Horizon View Composer 服务必须继续使用现有的 View Composer 数据库。

按以下任何方式迁移 View Composer 时,请遵循此过程中的步骤:

  • vCenter Server 计算机到独立计算机
  • 从独立计算机到 vCenter Server 计算机
  • 从一台独立计算机到另一台独立计算机
  • 从一台 vCenter Server 计算机到另一台 vCenter Server 计算机

迁移 VMware Horizon View Composer 服务时,也可将 View Composer 数据库迁移到新位置。例如,如果当前的数据库位于您正要迁移的 vCenter Server 计算机上,则您可能也需要迁移 View Composer 数据库。

在新计算机上安装 VMware Horizon View Composer 服务时,您必须将服务配置为连接到 View Composer 数据库。

前提条件

  • 熟悉 View Composer 迁移要求。请参阅View Composer 迁移指南
  • 熟悉将 RSA 密钥容器迁移到新的 VMware Horizon View Composer 服务的步骤。请参阅准备 Microsoft .NET Framework 以迁移 RSA 密钥将 RSA 密钥容器迁移至新的 View Composer 服务
  • 熟悉《Horizon 7 安装指南》文档中有关安装 VMware Horizon View Composer 服务的内容。
  • 熟悉《Horizon 7 安装指南》文档中有关为 View Composer 配置 TLS 证书的内容。
  • 熟悉如何在 Horizon Administrator 中配置 View Composer。请参阅配置 View Composer 设置配置 View Composer 域
  • 最佳做法是,确认您用于迁移 View Composer 的源计算机和目标计算机完全相同,并且共享相同的管理员凭据。在将 View Composer 从一个独立的计算机迁移到已装有 View Composer 的 vCenter Server 计算机时,如果两台计算机上所使用的凭据不一样,则配置 View Composer 可能会失败。

过程

  1. 禁用与 VMware Horizon View Composer 服务相关联的 vCenter Server 实例中的虚拟机置备。
    1. Horizon Administrator 中,选择 View 配置 > 服务器
    2. vCenter Servers 选项卡上,选择 vCenter Server 实例并单击禁用置备
  2. (可选) 将 View Composer 数据库迁移到新位置。
    如果需要采取此步骤,请向您的数据库管理员咨询迁移说明。
  3. 从当前的计算机中卸载 VMware Horizon View Composer 服务。
  4. 将 RSA 密钥容器迁移到新的计算机上。
  5. 在新计算机上安装 VMware Horizon View Composer 服务。
    在安装过程中,请指定原始 VMware Horizon View Composer 服务所使用的数据库的 DSN。还要指定为此数据库的 ODBC 数据源所提供的域管理员用户名和密码。

    如果您已迁移了数据库,则 DSN 和数据源信息必须指向数据库的新位置。无论数据库是否已被迁移,新的 VMware Horizon View Composer 服务都必须能访问有关链接克隆的原始数据库信息。

  6. 在新计算机上为 View Composer 配置 SSL 服务器证书。
    您可以复制在原始计算机上为 View Composer 安装的证书,或安装新的证书。
  7. Horizon Administrator 中,配置新的 View Composer 设置。
    1. Horizon Administrator 中,选择 View 配置 > 服务器
    2. vCenter Server 选项卡上,选择与此 View Composer 服务关联的 vCenter Server 实例,然后单击编辑
    3. 在“View Composer Server 设置”窗格中,单击编辑并提供新的 View Composer 设置。
      如果您在新的计算机上同时安装 View Composer 与 vCenter Server,请选择 View Composer 与 vCenter Server 一同安装

      如果您在独立的计算机上安装 View Composer,请选择独立的 View Composer Server,并提供 View Composer 计算机的 FQDN 和 View Composer 用户的用户名与密码。

    4. 在“域”窗格中,单击验证服务器信息并根据需要添加或编辑 View Composer 域。
    5. 单击确定