In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.