Update Windows Azure Endpoint with Load Balancing Probe Settings

I am trying to update the probe settings for a load balanced endpoint in azure windows, but referring to

"Update-AzureVM: Failed: The server encountered an internal error. Retry the request.

Since the probe settings for the endpoints are not accessible through the web interface, I use PowerShell cmdlets to do this. I followed the guide here http://www.windowsazure.com/en-us/manage/windows/common-tasks/how-to-load-balance-virtual-machines/#lbprobes

I also tried adding a new endpoint with the Add-AzureEndpoint and updating the existing endpoint using Set-AzureEndpoint . The executed commands:

Get-AzureVM -Name "web-server-01" -ServiceName "web servers" | Add-AzureEndpoint -LBSetName "Web_80" -Name "Web" -Protocol "tcp" -LocalPort 80 -PublicPort 80 -ProbePort 80 -ProbePath "/ ping" -ProbeProtocol http | Update-AzureVM

Are there anyone familiar with the problem and have managed to update the probe settings or knows how to get more from the generated error message?

+4
source share
1 answer

I had a similar problem when I try to get endpoints for a virtual machine using:

 Get-AzureVM โ€“ServiceName "XXX" โ€“Name "XXX" | Get-AzureEndpoint 

Setting the default subscription record to get VM solved it:

 Set-AzureSubscription -DefaultSubscription XXX 

Maybe this will help too.

0
source

All Articles