使用额外的进程服务器进行扩展Scale with additional process servers

默认情况下,当使用 Site Recovery 将 VMware VM 或物理服务器复制到 Azure 时,进程服务器将安装在配置服务器计算机上,并且将用于协调 Site Recovery 和本地基础结构之间的数据传输。By default, when you're replicating VMware VMs or physical servers to Azure using Site Recovery, a process server is installed on the configuration server machine, and is used to coordinate data transfer between Site Recovery and your on-premises infrastructure. 若要增加容量并横向扩展复制部署,可以添加额外的独立进程服务器。To increase capacity and scale out your replication deployment, you can add additional standalone process servers. 本文介绍如何设置横向扩展进程服务器。This article describes how to setup a scale-out process server.

开始之前Before you start

容量计划Capacity planning

请确保已执行容量规划以进行 VMware 复制。Make sure you've performed capacity planning for VMware replication. 这可帮助你确定如何以及何时应部署额外的进程服务器。This helps you to identify how and when you should deploy additional process servers.

从 9.24 版本开始,在选择用于新复制的进程服务器时添加了指导。From 9.24 version, guidance is added during selection of process server for new replications. 根据特定条件,进程服务器将标记为“正常”、“警告”和“严重”。Process server will be marked Healthy, Warning and Critical based on certain criteria. 若要了解可能影响进程服务器状态的不同场景,请查看进程服务器警报To understand different scenarios that can influence state of process server, review the process server alerts.


不支持使用克隆的进程服务器组件。Use of a cloned Process Server component is not supported. 按照本文中的步骤横向扩展每个 PS。Follow the steps in this article for each PS scale-out.

调整大小要求Sizing requirements

验证该表中汇总的调整大小要求。Verify the sizing requirements summarized in the table. 通常,如果必须将部署扩大到 200 台以上的源计算机,或者每日总改动率超过 2 TB,则需要额外的进程服务器来处理流量。In general, if you have to scale your deployment to more than 200 source machines, or you have a total daily churn rate of more than 2 TB, you need additional process servers to handle the traffic volume.

额外的进程服务器Additional process server 缓存磁盘大小Cache disk size 数据更改率Data change rate 受保护的计算机Protected machines
4 个 vCPU(2 个插槽 * 2 个核心 @ 2.5 GHz),8 GB 内存4 vCPUs (2 sockets * 2 cores @ 2.5 GHz), 8-GB memory 300 GB300 GB 250 GB 或更少250 GB or less 复制 85 台或更少的计算机。Replicate 85 or less machines.
8 个 vCPU(2 个插槽 * 4 个核心 @ 2.5 GHz),12 GB 内存8 vCPUs (2 sockets * 4 cores @ 2.5 GHz), 12-GB memory 600 GB600 GB 250 GB 到 1 TB250 GB to 1 TB 复制 85-150 台计算机。Replicate between 85-150 machines.
12 个 vCPU(2 个插槽 * 6 个核心 @ 2.5 GHz),24 GB 内存12 vCPUs (2 sockets * 6 cores @ 2.5 GHz) 24-GB memory 1 TB1 TB 1 TB 到 2 TB1 TB to 2 TB 复制 150-225 台计算机。Replicate between 150-225 machines.

其中,每台受保护的源计算机配置有 3 个磁盘,每个磁盘 100 GB。Where each protected source machine is configured with 3 disks of 100 GB each.


下表中汇总了额外进程服务器的先决条件。The prerequisites for the additional process server are summarized in the following table.

配置和进程服务器要求Configuration and process server requirements

硬件要求Hardware requirements

组件Component 要求Requirement
CPU 核心数CPU cores 88
磁盘数目Number of disks 3,包括操作系统磁盘、进程服务器缓存磁盘和用于故障回复保留驱动器3, including the OS disk, process server cache disk, and retention drive for failback
可用磁盘空间(进程服务器缓存)Free disk space (process server cache) 600 GB600 GB
可用磁盘空间(保留磁盘)Free disk space (retention disk) 600 GB600 GB

软件要求Software requirements

组件Component 要求Requirement
操作系统Operating system Windows Server 2012 R2Windows Server 2012 R2
Windows Server 2016Windows Server 2016
操作系统区域设置Operating system locale 英语 (en-*)English (en-*)
Windows Server 角色Windows Server roles 请勿启用以下角色:Don't enable these roles:
- Active Directory 域服务- Active Directory Domain Services
- Internet Information Services- Internet Information Services
- Hyper-V- Hyper-V
组策略Group policies 请勿启用以下组策略:Don't enable these group policies:
- 阻止访问命令提示符。- Prevent access to the command prompt.
- 阻止访问注册表编辑工具。- Prevent access to registry editing tools.
- 信任文件附件的逻辑。- Trust logic for file attachments.
- 打开脚本执行。- Turn on Script Execution.
了解详细信息Learn more
IISIIS - 无预先存在的默认网站- No pre-existing default website
- 端口 443 上没有预先存在的网站/应用程序侦听- No pre-existing website/application listening on port 443
- 启用匿名身份验证- Enable anonymous authentication
- 启用 FastCGI 设置- Enable FastCGI setting
FIPS(联邦信息处理标准)FIPS (Federal Information Processing Standards) 不要启用 FIPS 模式Do not enable FIPS mode

网络要求Network requirements

组件Component 要求Requirement
IP 地址类型IP address type 静态Static
端口Ports 443(控制通道协调)443 (Control channel orchestration)
9443(数据传输)9443 (Data transport)
NIC 类型NIC type VMXNET3(如果配置服务器是 VMware VM)VMXNET3 (if the configuration server is a VMware VM)
Internet 访问(服务器需要访问以下 URL,不管是直接进行访问还是通过代理进行访问):Internet access (the server needs access to the following URLs, directly or via proxy):
*.backup.windowsazure.cn*.backup.windowsazure.cn 用于复制的数据传输和协调Used for replicated data transfer and coordination
*.blob.core.chinacloudapi.cn*.blob.core.chinacloudapi.cn 用于访问可存储已复制数据的存储帐户。Used to access storage account that stores replicated data. 可以提供缓存存储帐户的特定 URL。You can provide the specific URL of your cache storage account.
*.hypervrecoverymanager.windowsazure.cn*.hypervrecoverymanager.windowsazure.cn 用于复制管理操作和协调Used for replication management operations and coordination
https://login.chinacloudapi.cnhttps://login.chinacloudapi.cn 用于复制管理操作和协调Used for replication management operations and coordination
time.nist.govtime.nist.gov 用于检查系统时间与全球时间之间的时间同步Used to check time synchronization between system and global time
time.windows.comtime.windows.com 用于检查系统时间与全球时间之间的时间同步Used to check time synchronization between system and global time
  • https://management.chinacloudapi.cnhttps://management.chinacloudapi.cn
  • https://secure.aadcdn.microsoftonline-p.comhttps://secure.aadcdn.microsoftonline-p.com
  • https://login.live.comhttps://login.live.com
  • https://microsoftgraph.chinacloudapi.cnhttps://microsoftgraph.chinacloudapi.cn
  • https://login.chinacloudapi.cnhttps://login.chinacloudapi.cn
  • *.services.visualstudio.com(可选)*.services.visualstudio.com (Optional)
  • https://www.live.comhttps://www.live.com
  • https://www.microsoft.comhttps://www.microsoft.com
OVF 安装程序需要访问这些附加 URL。OVF setup needs access to these additional URLs. 它们由 Azure Active Directory 用于访问控制和标识管理。They're used for access control and identity management by Azure Active Directory.
https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-community- 完成 MySQL 下载。To complete MySQL download.
在某些区域中,下载可能会被重定向到 CDN URL。In a few regions, the download might be redirected to the CDN URL. 如果需要,请确保 CDN URL 也列入允许列表。Ensure that the CDN URL is also whitelisted, if necessary.

所需软件Required software

组件Component 要求Requirement
VMware vSphere PowerCLIVMware vSphere PowerCLI 如果配置服务器在 VMware VM 上运行,则应安装 PowerCLI 版本 6.0PowerCLI version 6.0 should be installed if the Configuration Server is running on a VMware VM.
MYSQLMYSQL 应安装 MySQL。MySQL should be installed. 可以手动安装,或者让 Site Recovery 进行安装。You can install manually, or Site Recovery can install it. (有关详细信息,请参阅配置设置(Refer to configure settings for more information)

大小和容量要求Sizing and capacity requirements

下表汇总了配置服务器的容器要求。The following table summarizes capacity requirements for the configuration server. 若要复制多个 VMware VM,请查看容量规划注意事项,然后运行 Azure Site Recovery 部署规划器工具If you're replicating multiple VMware VMs, review the capacity planning considerations and run the Azure Site Recovery Deployment Planner tool.

CPUCPU 内存Memory 缓存磁盘Cache disk 数据更改率Data change rate 复制的计算机Replicated machines
8 个 vCPU8 vCPUs

2 个插槽 * 4 个核心 @ 2.5 GHz2 sockets * 4 cores @ 2.5 GHz
16 GB16 GB 300 GB300 GB 500 GB 或更少500 GB or less < 100 台计算机< 100 machines
12 个 vCPU12 vCPUs

2 个插槽 * 6 个核心 @ 2.5 GHz2 socks * 6 cores @ 2.5 GHz
18 GB18 GB 600 GB600 GB 500 GB-1 TB500 GB-1 TB 100 到 150 台计算机100 to 150 machines
16 个 vCPU16 vCPUs

2 个插槽 * 8 个核心 @ 2.5 GHz2 socks * 8 cores @ 2.5 GHz
32 GB32 GB 1 TB1 TB 1-2 TB1-2 TB 150 -200 台计算机150 -200 machines

下载安装文件Download installation file

下载进程服务器的安装文件,如下所示:Download the installation file for the process server as follows:

  1. 登录到 Azure 门户,并浏览到恢复服务保管库。Sign in to the Azure portal, and browse to your Recovery Services Vault.

  2. 打开“Site Recovery 基础结构” > “VMware 和物理计算机” > “配置服务器”(在“针对 VMware 和物理计算机”下面) 。Open Site Recovery Infrastructure > VMware and Physical Machines > Configuration Servers (under For VMware & Physical Machines).

  3. 选择配置服务器以向下钻取到配置服务器详细信息。Select the configuration server to drill down into the server details. 然后单击“+ 进程服务器” 。Then click + Process Server.

  4. 在“添加进程服务器” > “选择要部署进程服务器的位置” 中,选择“在本地部署横向扩展进程服务器” 。In Add Process server > Choose where you want to deploy your process server, select Deploy a Scale-out Process Server on-premises.


  5. 单击“下载 Azure Site Recovery 统一安装程序”。 Click Download the Azure Site Recovery Unified Setup. 这会下载最新版本的安装文件。This downloads the latest version of the installation file.


    进程服务器安装版本应低于所运行的配置服务器版本或与之相同。The process server installation version should be the same as, or earlier than, the configuration server version you have running. 确保版本兼容性的一种简单方法是使用最近用来安装或更新配置服务器的同一安装程序。A simple way to ensure version compatibility is to use the same installer, that you most recently used to install or update your configuration server.

从 UI 安装Install from the UI

如下所示进行安装。Install as follows. 设置服务器后,可以迁移源计算机来使用它。After setting up the server, you migrate source machines to use it.

  1. 启动 Azure Site Recovery UnifiedSetup.exeLaunch the Azure Site Recovery UnifiedSetup.exe

  2. 在“开始之前”中选择“添加额外的进程服务器以扩大部署”。 In Before you begin, select Add additional process servers to scale out deployment.


  3. 在“配置服务器详细信息” 中,指定配置服务器的 IP 地址和通行短语。In Configuration Server Details, specify the IP address of the Configuration Server, and the passphrase.

    添加进程服务器 2

  4. 在“Internet 设置” 中,指定配置服务器上运行的提供程序如何通过 Internet 连接到 Azure Site Recovery。In Internet Settings, specify how the Provider running on the Configuration Server connects to Azure Site Recovery over the Internet.

    添加进程服务器 3

    • 如果想要使用当前已在计算机上设置的代理进行连接,请选择“使用现有代理设置进行连接”。 If you want to connect with the proxy that's currently set up on the machine, select Connect with existing proxy settings.

    • 如果希望提供程序直接进行连接,请选择“不使用代理直接连接”。 If you want the Provider to connect directly, select Connect directly without a proxy.

    • 如果现有代理要求身份验证,或者想要使用自定义代理进行提供程序连接,请选择“使用自定义代理设置进行连接”。 If the existing proxy requires authentication, or if you want to use a custom proxy for the Provider connection, select Connect with custom proxy settings.

      • 如果使用自定义代理,则需指定地址、端口和凭据。If you use a custom proxy, you need to specify the address, port, and credentials.
      • 如果使用代理,应事先允许访问该服务 URL。If you're using a proxy, you should have already allowed access to the service urls.
  5. 在“先决条件检查”设置中运行检查,确保安装可以运行。 In Prerequisites Check, Setup runs a check to make sure that installation can run. 如果看到有关全局时间同步检查的警告,请检查系统时钟的时间(“日期和时间”设置)是否与时区相同。 If a warning appears about the Global time sync check, verify that the time on the system clock (Date and Time settings) is the same as the time zone.

    添加进程服务器 4

  6. 在“环境详细信息”中,选择是否要复制 VMware VM。 In Environment Details, select whether you're going to replicate VMware VMs. 如果要复制,则安装程序会检查 PowerCLI 6.0 是否已安装。If you are, then setup checks that PowerCLI 6.0 is installed.

    添加进程服务器 5

  7. 在“安装位置”中,选择要安装二进制文件和存储缓存的位置。 In Install Location, select where you want to install the binaries and store the cache. 所选驱动器必须至少有 5 GB 的可用磁盘空间,但我们建议选择至少有 600 GB 可用空间的缓存驱动器。The drive you select must have at least 5 GB of disk space available, but we recommend a cache drive with at least 600 GB of free space. 添加进程服务器 5Add process server 5

  8. 在“网络选择” 中,指定侦听器(网络适配器和 SSL 端口),以便配置服务器在其上发送和接收复制数据。In Network Selection, specify the listener (network adapter and SSL port) on which the Configuration Server sends and receives replication data. 端口 9443 是用于发送和接收复制流量的默认端口,但可以根据环境的要求修改此端口号。Port 9443 is the default port used for sending and receiving replication traffic, but you can modify this port number to suit your environment's requirements. 除了端口 9443 以外,还要打开端口 443,Web 服务器将使用该端口协调复制操作。In addition to the port 9443, we also open port 443, which is used by a web server to orchestrate replication operations. 请不要使用端口 443 来发送或接收复制流量。Do not use Port 443 for sending or receiving replication traffic.

    添加进程服务器 6

  9. 在“摘要”中复查信息,并单击“安装”。 In Summary, review the information and click Install. 安装完成后,将生成通行短语。When installation finishes, a passphrase is generated. 启用复制时需要用到它,因此请复制并将它保存在安全的位置。You will need this when you enable replication, so copy it and keep it in a secure location.

    添加进程服务器 7

从命令行安装Install from the command line

运行以下命令进行安装:Install by running the following command:

UnifiedSetup.exe [/ServerMode <CS/PS>] [/InstallDrive <DriveLetter>] [/MySQLCredsFilePath <MySQL credentials file path>] [/VaultCredsFilePath <Vault credentials file path>] [/EnvType <VMware/NonVMware>] [/PSIP <IP address to be used for data transfer] [/CSIP <IP address of CS to be registered with>] [/PassphraseFilePath <Passphrase file path>]

其中,命令行参数如下所示:Where command line parameters are as follows:

参数名称Parameter Name 类型Type 说明Description 可能的值Possible Values
/ServerMode/ServerMode 必需Mandatory 指定是要同时安装配置服务器和进程服务器,还是只安装进程服务器Specifies whether both the configuration and process servers should be installed, or the process server only CSCS
/InstallLocation/InstallLocation 必需Mandatory 用于安装组件的文件夹The folder in which the components are installed 计算机上的任意文件夹Any folder on the computer
/MySQLCredsFilePath/MySQLCredsFilePath 必需Mandatory MySQL 服务器凭据存储到的文件路径The file path in which the MySQL server credentials are stored 文件应采用以下指定格式The file should be the format specified below
/VaultCredsFilePath/VaultCredsFilePath 必需Mandatory 保管库凭据文件的路径The path of the vault credentials file 有效的文件路径Valid file path
/EnvType/EnvType 必需Mandatory 要保护的环境类型Type of environment that you want to protect VMwareVMware
/PSIP/PSIP 必需Mandatory 要用于复制数据传输的 NIC 的 IP 地址IP address of the NIC to be used for replication data transfer 任何有效的 IP 地址Any valid IP Address
/CSIP/CSIP 必需Mandatory 配置服务器侦听时所在的 NIC 的 IP 地址The IP address of the NIC on which the configuration server is listening on 任何有效的 IP 地址Any valid IP Address
/PassphraseFilePath/PassphraseFilePath 必需Mandatory 通行短语文件位置的完整路径The full path to location of the passphrase file 有效的文件路径Valid file path
/BypassProxy/BypassProxy 可选Optional 指定配置服务器不使用代理连接到 AzureSpecifies that the configuration server connects to Azure without a proxy 若要从 Venu 获取此值To do get this value from Venu
/ProxySettingsFilePath/ProxySettingsFilePath 可选Optional 代理设置(默认代理需要身份验证,或自定义代理)Proxy settings (The default proxy requires authentication, or a custom proxy) 文件应采用以下指定格式The file should be in the format specified below
DataTransferSecurePortDataTransferSecurePort 可选Optional PSIP 上用于复制数据的端口号Port number on the PSIP to be used for replication data 有效端口号(默认值为 9433)Valid Port Number (default value is 9433)
/SkipSpaceCheck/SkipSpaceCheck 可选Optional 跳过缓存磁盘的空间检查Skip space check for cache disk
/AcceptThirdpartyEULA/AcceptThirdpartyEULA 必需Mandatory 该标志表示接受第三方 EULAFlag implies acceptance of third-party EULA
/ShowThirdpartyEULA/ShowThirdpartyEULA 可选Optional 显示第三方 EULA。Displays third-party EULA. 如果作为输入提供,将忽略所有其他参数If provided as input all other parameters are ignored

例如:For example:

MicrosoftAzureSiteRecoveryUnifiedSetup.exe /q /x:C:\Temp\Extracted
cd C:\Temp\Extracted
UNIFIEDSETUP.EXE /AcceptThirdpartyEULA /servermode "PS" /InstallLocation "D:\" /EnvType "VMware" /CSIP "" /PassphraseFilePath "C:\Users\Administrator\Desktop\Passphrase.txt" /DataTransferSecurePort 443

创建代理设置文件Create a proxy settings file

如果需要设置代理,请使用 ProxySettingsFilePath 参数指定某个文件作为输入。If you need to set up a proxy, the ProxySettingsFilePath parameter takes a file as input. 可以如下所述创建文件并将其作为输入 ProxySettingsFilePath 参数进行传递。You can create the file as follows, and pass it as input ProxySettingsFilePath parameter.

* [ProxySettings]
* ProxyAuthentication = "Yes/No"
* Proxy IP = "IP Address"
* ProxyPort = "Port"
* ProxyUserName="UserName"
* ProxyPassword="Password"

后续步骤Next steps

了解如何管理进程服务器设置Learn about managing process server settings