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

Exception calling Get-AzureSiteRecoveryProtectionEntity

Open davebrannan opened this issue 11 years ago • 14 comments

Running "Get-AzureSiteRecoveryProtectionEntity -ProtectionContainer $ProtectionContainer" produces an exception if the ReplicationProvider in the profile of the ProtectionContainer is not HyperVReplicaAzure.

Exception: Get-AzureSiteRecoveryProtectionEntity : Operation failed. ClientRequestId: 14063df6-dea8-433e-9e9f-545e3e13a661-2015-09-09 09:12:41Z-P InvalidParameter: ada318bd-4bb5-4d35-9ebb-714940405ba2 InvalidParameter An invalid parameter ReplicationProvider was passed. Parameter value is not correct for this action. Correct the parameter value and retry the last action. If the issue persists, contact Support.

davebrannan avatar Sep 09 '15 09:09 davebrannan

@sriramvu please take a look

stankovski avatar Sep 09 '15 16:09 stankovski

@davebrannan: Hi, our service handles either HyperVReplicaAzure or HyperVReplica as ReplicationProvider in the profile of the ProtectionContainer (RDFE / Azure module based cmdlets). Can you please share the value of ReplicationProvider in the profile you are referring.

Thank you.

sriramvu avatar Sep 10 '15 05:09 sriramvu

Hi @sriramvu . The ReplicationProvider of the ProtectionContainer is currently "Other". This is from a VMWare environment but I've also hit this error in a VMM deployment

davebrannan avatar Sep 10 '15 08:09 davebrannan

As of today. Azure Site Recovery service supports HyperVReplica & HyperVReplicaAzure via RDFE PowerShell. We should not see the same error with VMM deployment, can you please share the ClientRequestId to debug further.

sriramvu avatar Sep 10 '15 08:09 sriramvu

The last ClientRequestId I received is ClientRequestId: 33672c01-1efe-4624-b0e4-048dd3d46e4e-2015-09-10 09:27:53Z-P

davebrannan avatar Sep 10 '15 09:09 davebrannan

I got the same error with Get-AzureSiteRecoveryProtectionEntity execution. Is there a plan to support VMWare and physical server deployment?

darrenchuang avatar Sep 10 '15 09:09 darrenchuang

@davebrannan: from logs (with ClientRequestId: 33672c01-1efe-4624-b0e4-048dd3d46e4e-2015-09-10 09:27:53Z-P), it seems that you are using "VMWare to Azure" technology. Currently we support following via RDFE /ASM based cmdlets:

  • VMM to VMM
  • VMM to Azure
  • Hyper-V to Azure

sriramvu avatar Sep 10 '15 10:09 sriramvu

@darrenchuang: support to VMWare and physical server deployments are in our current backlog. We will be supporting them, will share the dates once they are finalized.

Thank you.

sriramvu avatar Sep 10 '15 10:09 sriramvu

@sriramvu Correct, this is from VMWare. If RDFE only supports VMM and HyperV currently does this mean that there is no alternative method for getting this data? Or is there a REST API we can call to get this data until you support it via the cmdlets?

davebrannan avatar Sep 10 '15 12:09 davebrannan

As for current public REST APIs / PowerShell, we have not added support for VMWare to Azure technology. We have plan to support VMWare and physical server deployments. Thanks for showing interest.

sriramvu avatar Sep 10 '15 17:09 sriramvu

Can we close this issue? or let us know if anything else is needed.

sriramvu avatar Sep 28 '15 04:09 sriramvu

Well we can't achieve the automation we need without the VMWare/Physical server support, but as it's known and on your roadmap it can be closed. Be nice to know when this might be available though?

davebrannan avatar Sep 28 '15 20:09 davebrannan

most probably by Q1 CY16.

sriramvu avatar Oct 01 '15 05:10 sriramvu

This issue may have been closed, but it is still an issue. Microsoft supports VMware replication so the Azure powershell automation must support it.

ubjones avatar Mar 22 '16 03:03 ubjones