Deploying NLB through services is to perform NLB on multiple VMS under a certain layer (the number of VM instances can be customized under a certain layer), rather than NLB on multiple layers. Make the following preparations:
1. VMS must use static IP addresses and static MAC addresses. Therefore, you must first create a static IP address pool in the Logical Network for NLB balancing.
Vmm automatically allocates VIP addresses in the reserved VIP address pool.
2. To use Microsoft's NLB Load balancer, you must add a VIP template as follows:
If the manufacturer and model are not selected, a prompt is displayed when the server Load balancer instance is added to the designer, indicating that the associated Server Load balancer instance cannot be found for the VIP template.
3. VM needs to enable MAC address spoofing. NLB must be installed and added to the domain.
4. the VM must be configured with two NICs, one for NLB and the other for communication with the vmm host. If only one Nic is configured, during service deployment, the error "the VM related to the virtual IP address (VIP) address (ulnng.testp.com) in Microsoft Network Load Balancing does not respond" is displayed ".
Each network adapter is connected to a different Logical Network. Different IP addresses are allocated through different static IP address pools. After the VM is created, the allocated IP addresses are displayed as static IP addresses in the VM.
IP address allocated through the static IP address pool:
After preparation, you can create and design a service template:
The IPv6 address type of the NIC is set to dynamic. If it is not set to dynamic, you must have configured an IPv6 address pool. Otherwise, an error will be reported during deployment.
After the service is successfully deployed, you also need to check the automatically assigned VIP address and create the corresponding a record in DNS.
Deployment completed:
After expansion: