Score:-2

How to change IP address of azure NIC, as soon as azure load-balancer's health probe detect instance unhealthy?

ro flag

I have two machines in backendpool of azure LB, I would like to update network interface usign rest api as soon as health probe detects vm is unhealthy. is there any way to to recoginse that event happened and then modify network interface? is there any way we can achive this with, alert detection and executing powershell script?

djdomi avatar
za flag
double post https://serverfault.com/questions/1101376/how-can-we-move-secondary-ip-address-of-from-one-nic-to-other-in-azure
Score:0
ng flag

That's not how load balancing works. When you setup an Azure load balancer it will send traffic to any of your backends configured in the load balancer, unless they are unhealthy. So, if you configure this correctly then you do not need to do anything in event of of an unhealthy backend, it will be done for you.

You just need to make sure that the health probes you configured on the load balancer give an accurate view of the health of the service.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.