Set-AzureRmRecoveryServicesAsrReplicationProtectedItem - 如何设置故障转移的参数 [英] Set-AzureRmRecoveryServicesAsrReplicationProtectedItem - How to set the parameters for failover
问题描述
有人可以帮助设置如何为Set-AzureRmRecoveryServicesAsrReplicationProtectedItem设置参数吗?
我尝试使用此命令设置受保护虚拟机的故障转移参数。
它要求的参数之一是'Source Nic'。 我不确定用于设置的语法是什么,因为VM实际上不在Azure上,而是在总体上。 在这种情况下,我正在使用VMware进行Azure。
Set-AzureRmRecoveryServicesAsrReplicationProtectedItem详细信息在
https://docs.microsoft.com/en-us/powershell/module/azurerm.recoveryservices.siterecovery/set-azurermrecoveryservicesasrreplicationprotecteditem?view=azurermps -6.13.0 并将Azure
中的目标网络和虚拟机大小等恢复属性设置为Azure。
你能否分享用你得到的错误执行的命令。
示例查询
rpi 是复制项目
Set-AzureRmRecoveryServicesAsrReplicationProtectedItem   ; - InputObject
rpi - Name " TestVM" - PrimaryNic
Can someone help with how to set the parameters for Set-AzureRmRecoveryServicesAsrReplicationProtectedItem?
I tried to set the failover parameters for a protected virtual machine with this command.
One of the parameters it is asking for is 'Source Nic'. I am not sure what the syntax is for setting that since the VM is not actually on Azure but on prem. I am doing VMware to Azure in this case.
Please refer to https://docs.microsoft.com/en-us/azure/site-recovery/vmware-azure-disaster-recovery-powershell#configure-failover-settings for VMware to Azure failover configurations.
Set-AzureRmRecoveryServicesAsrReplicationProtectedItem details are captured at https://docs.microsoft.com/en-us/powershell/module/azurerm.recoveryservices.siterecovery/set-azurermrecoveryservicesasrreplicationprotecteditem?view=azurermps-6.13.0 and is to set recovery properties such as target network and virtual machine size in Azure to Azure.
Can you share the command executed with the error you are getting .
Sample Query
rpi is replicated itemSet-AzureRmRecoveryServicesAsrReplicationProtectedItem -InputObject
rpi -Name "TestVM" -PrimaryNic
这篇关于Set-AzureRmRecoveryServicesAsrReplicationProtectedItem - 如何设置故障转移的参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!