在 Azure 中设置进程服务器以便进行故障回复Set up a process server in Azure for failback

使用 Site Recovery 将 VMware VM 或物理服务器故障转移到 Azure 后,可以在其重新启动并运行时将其故障回复到本地站点。After you fail over VMware VMs or physical servers to Azure using Site Recovery, you can fail them back to the on-premises site when it's up and running again. 若要进行故障回复,需要在 Azure 中设置临时进程服务器,以便处理从 Azure 到本地的复制。In order to fail back, you need to set up a temporary process server in Azure, to handle replication from Azure to on-premises. 故障回复完成后,可以删除此 VM。You can delete this VM after failback is complete.

开始之前Before you start

详细了解重新保护故障回复过程。Learn more about the reprotection and failback process.

本文假设This article assumes that

  1. 已在本地网络和 Azure 虚拟网络之间建立站点到站点 VPNExpressRoute 连接。A Site to Site VPN or an Express Route connection between your on-premises network and the Azure Virtual Network has already been established.
  2. 用户帐户有权在 Azure 订阅(虚拟机已故障转移到其中)中创建新的虚拟机。Your user account has permissions to create a new virtual machine in the Azure Subscription that the virtual machines have been failed over into.
  3. 订阅至少有 4 个内核可用于启动新的进程服务器虚拟机。Your subscription has a minimum of 4 Cores available to spin up a new Process Server virtual machine.
  4. 可以提供配置服务器通行短语You have the Configuration Server Passphrase available.

提示

确保可以从 Azure 虚拟网络(虚拟机已故障转移到其中)连接配置服务器(在本地运行)的端口 443。Ensure that you are able to connect port 443 of the Configuration Server (running on-premises) from the Azure Virtual Network that the virtual machines have been failed over into.

在 Azure 中部署进程服务器Deploy a process server in Azure

  1. 在保管库 >“Site Recovery 基础结构” > “管理” > “配置服务器” 中,选择配置服务器。In the vault > Site Recovery Infrastructure> Manage > Configuration Servers, select the configuration server.

  2. 在服务器页中,单击“+ 进程服务器” In the server page, click + Process server

  3. 在“添加进程服务器” 页中,选择在 Azure 中部署进程服务器。In Add process server page, and select to deploy the process server in Azure.

  4. 指定 Azure 设置,包括用于故障转移的订阅、资源组、用于故障转移的 Azure 区域以及 Azure VM 所位于的虚拟网络。Specify the Azure settings, including the subscription used for failover, a resource group, the Azure region used for failover, and the virtual network in which the Azure VMs are located. 如果使用多个 Azure 网络,则需要在每个 Azure 网络中部署进程服务器。If you used multiple Azure networks, you need a process server in each one.

    添加进程服务器库项

  5. 服务器名称用户名密码中指定进程服务器的名称以及将为其分配服务器上的管理员权限的凭据。In Server name, User name, and Password, specify a name for the process server, and credentials that will be assigned Admin permissions on the server.

  6. 指定要用于服务器 VM 磁盘的存储帐户、进程服务器 VM 将位于的子网以及 VM 启动时将分配的服务器 IP 地址。Specify a storage account to be used for the server VM disks, the subnet in which the process server VM will be located, and the server IP address that will be assigned when the VM starts.

  7. 单击“确定” 按钮开始部署进程服务器 VM。Click OK button to start deploying the process server VM.

将进程服务器(在 Azure 中运行)注册到配置服务器(在本地运行)Registering the process server (running in Azure) to a Configuration Server (running on-premises)

在进程服务器 VM 已启动并运行后,需要将其注册到本地配置服务器,如下所示:After the process server VM is up and running, you need to register it with the on-premises configuration server, as follows:

  1. 与运行进程服务器的计算机建立远程桌面连接。Establish a Remote Desktop Connection to the machine running the process server.

  2. 运行 cspsconfigtool.exe 以启动 Azure Site Recovery 进程服务器配置工具。Run cspsconfigtool.exe to start the Azure Site Recovery Process Server configuration tool.

    • 首次登录进程服务器时,该工具会自动启动。The tool is launched automatically the first time you sign into the process server.
    • 如果它未自动打开,请单击它在桌面上的快捷方式。If it doesn't open automatically, click its shortcut on the desktop.
  3. 在“配置服务器 FQDN 或 IP” 中,指定用于注册进程服务器的配置服务器的名称或 IP 地址。In Configuration server FQDN or IP, specify the name or IP address of the configuration server with which to register the process server.

  4. 在“配置服务器端口” 中,确保指定了 443。In Configuration Server Port, ensure that 443 is specified. 这是配置服务器侦听请求的端口。This is the port on which the configuration server listens for requests.

  5. 在“连接密码” 中,指定你在设置配置服务器时指定的密码。In Connection Passphrase, specify the passphrase that you specified when you set up the configuration server. 查找密码的步骤:To find the passphrase:

    • 在配置服务器上,导航到 Site Recovery 安装文件夹 *\home\svssystems\bin*。On the configuration server, navigate to the Site Recovery installation folder *\home\svssystems\bin*.
    • 运行以下命令:genpassphrase.exe.nRun this command: genpassphrase.exe.n. 这将显示密码的位置,然后你可以将其记下。This shows you the location of the passphrase, which you can then note.
  6. 在“数据传输端口” 中,除非指定了自定义端口,否则请保留默认值。In Data Transfer Port, leave the default value unless you've specified a custom port.

  7. 单击“保存” 保存设置,并注册进程服务器。Click Save save the settings, and register the process server.

    注册进程服务器