在asr里 我无法为虚机启用复制

刘寅 20 信誉分
2025-11-12T00:47:09.41+00:00

在azure上的asr里,我无法为注册的虚机启用保护,报错信息为“The mobility agent on the machine 'web-app01' is not yet registered with Proxy server.” 但我在源主机上已经用命令“.\UnifiedAgentConfigurator.exe /SourceConfigFilePath ".\b808a635-a4b1-48a5-a8a6-f33003fc5dff_config.json" /CSType CSPrime”注册过了 请问如何处理? 我的源主机是azure上的虚机,但我选择复制的架构是物理主机

Windows 商业版 | Windows Server | Windows 云 | 其他
0 个注释 无注释

问题作者接受的答案
VPHAN 45,825 信誉分 独立顾问
2025-11-12T02:41:56.2366667+00:00

是的,由于 VM 最初是在错误的复制方案(物理主机而不是 Azure VM)下注册的,因此需要使用正确的 Azure 到 Azure 工作流在恢复服务保管库中重新启用复制。无需“删除”保管库本身,但应禁用这些 VM 的不正确复制设置,然后正确重新注册它们。

我希望你觉得这条建议在某种程度上有用。感谢您 接受答案 ,将其作为与社区分享宝贵经验的一种方式。谢谢:)

维 维 安

此答案是否有帮助?

0 个注释 无注释

1 个其他答案

排序依据: 最新
  1. VPHAN 45,825 信誉分 独立顾问
    2025-11-12T01:55:12.92+00:00

    Your error occurs because the VM is being treated as a physical server in Azure Site Recovery (ASR), but the source host is actually an Azure VM. The mobility agent registration command you ran is valid for physical/VMware scenarios, not for Azure‑to‑Azure replication. To fix this, you need to configure replication using the Azure‑to‑Azure method instead of the physical host workflow. To be specific:

    1. Confirm your scenario
      • If your source VM is in Azure and you want to replicate it to another Azure region, you must use Azure‑to‑Azure replication.
      • If your source VM is truly on‑premises, then the physical/VMware workflow is correct.
    2. For Azure‑to‑Azure replication
      • Go to the Recovery Services Vault in the Azure portal.
      • Select Replicate → Source: Azure VM.
      • Choose the VM (web-app01) from your subscription.
      • ASR will automatically install and register the mobility agent on the VM. No manual UnifiedAgentConfigurator.exe step is needed.
    3. If you intended physical/VMware replication
      • Ensure the configuration server is deployed and reachable.
      • Verify that the mobility agent service is running on the source machine.
      • Check outbound connectivity to ASR endpoints (proxy/firewall may block registration).
      • Re‑run the configurator with correct parameters and confirm the agent shows as “Healthy” in the ASR portal.

    I hope you find this piece of advice useful to some extent. It's appreciated of you to accept the answer as a way to share your valuable experience with the community. Thank you :)

    Vivian

    此答案是否有帮助?


你的答案

提问者可以将答案标记为“已接受”,审查方可以将答案标记为“已推荐”,这有助于用户了解答案是否解决了提问者的问题。