In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
So from now on, let's configure the Internal Load balancer of the two WEB servers:
Open Powershell and check the endpoint configuration of the current two virtual machines:
Get-AzureVM-ServiceName webstevennodes-Name webstevennode2 | Get-AzureEndpoint
two。 Create an ILB and specify its service address as the private network address 10.0.0.88:
Add-AzureInternalLoadBalancer-InternalLoadBalancerName myilb-ServiceName webstevennodes-SubnetName Subnet-1-StaticVNetIPAddress 10.0.0.88
3. Add endpoint information to the two test VM webstevennode1 and webstevennode2, and note that the local port and external port are both 80:
PS C:\ > Get-AzureVM-ServiceName webstevennodes-Name webstevennode1 | Add-AzureEndpoint-Name httpinternal-Protocol tcp-LocalPort 80-PublicPort 80-DefaultProbe-InternalLoadBalancerName myilb-LBSetName myILBSet | Update-AzureVM
PS C:\ > Get-AzureVM-ServiceName webstevennodes-Name webstevennode2 | Add-AzureEndpoint-Name httpinternal-Protocol tcp-LocalPort 80-PublicPort 80-DefaultProbe-InternalLoadBalancerName myilb-LBSetName myILBSet | Update-AzureVM
4. After the addition is complete, verify the endpoint configuration information:
PS C:\ > Get-AzureVM-ServiceName webstevennodes-Name webstevennode2 | Get-AzureEndpoint
Get-AzureVM-ServiceName webstevennodes-Name webstevennode2 | Get-AzureEndpoint
You can see that the ILB configuration of the two VM computers is complete, and the service IP address is 10.0.0.88.
5. Let's test the actual effect. You need to log in to the tested windows 2012 virtual machine, open an IE browser, enter the service address of ILB 10.0.0.88, and test it:
Refresh it again later, and you can see that the request can be distributed to VM1 and VM2:
6. When we check the endpoint configuration on the portal of Azure, we can see that because we are configuring the port of ILB, we cannot see it on portal at this time:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.