azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

Issue with Enable Replication for Azure Site Recovery

Open shubhamgupta514 opened this issue 9 years ago • 8 comments

Hi,

I am developed the attached script for enabling replication from Vmware(on-premise) to Azure. But I am not getting any response after invoking the rest api and when I check the replication items in azue portal, the protected item is there and trying to enable the replication but somehow it is getting failed with a error on Mobility service installation and preparing target step even the Mobility service is already installed on the source server and registered with configuration server.

Note: - There is not issue with the environment setup as I have already tested the replication with the help azure portal.

Please refer the screenshot for error.

[Enable-ReplicationVMwareToAzure.zip](https://github.com/Azure/azure- image powershell/files/1420874/Enable-ReplicationVMwareToAzure.zip)

shubhamgupta514 avatar Oct 27 '17 05:10 shubhamgupta514

Hi Shahabhjeet,

Did you take a look into the script?

Thanks, Shubham Gupta

shubhamgupta514 avatar Oct 27 '17 06:10 shubhamgupta514

@shubhamgupta514 I don't believe this fucntionality is due to be released until 11/7. Assigning to the SiteRecovery team to verify.

markcowl avatar Oct 30 '17 21:10 markcowl

@viverm can you take a look?

markcowl avatar Oct 30 '17 21:10 markcowl

@markcowl I am facing the same error for unplanned failover api on shutting down the source VM step. Please verify that also.

shubhamgupta514 avatar Oct 31 '17 04:10 shubhamgupta514

@shubhamgupta514
Method ASR-EnableReplicationAPI used in script is not present in zip .

Try adding agent-authentication in header

viverm avatar Oct 31 '17 12:10 viverm

Enable-ReplicationVMwareToAzure.txt

Please find the attached script.

@viverm authentication header is already added in the script.

Enable-ReplicationVMwareToAzure.zip

shubhamgupta514 avatar Oct 31 '17 13:10 shubhamgupta514

@viverm Authentication header is already added

shubhamgupta514 avatar Oct 31 '17 13:10 shubhamgupta514

please find the attached script Enable-ReplicationVMwareToAzure.txt

shubhamgupta514 avatar Oct 31 '17 13:10 shubhamgupta514