In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Using the network load balancing function of Windows operating system between virtual machine and virtual machine, virtual machine and real machine, if you choose unicast cluster mode, the network will not be able to communicate, and NLB will not succeed.
Scenario # 1
Choosing the multicast mode between the virtual machine and the virtual machine, NLB can work normally, while the multicast mode cannot be selected between the virtual machine and the real machine, and must be supported by the switch.
Solution # 1
# Hyper-V solution for Windows 2008
1. To solve the problem of NLB unicast in Hyper-V of Windows 2008 is mainly based on the mode of network card. There are two kinds of network card in Hyper-V. Network Adapter and Legacy Network Adapter, usually default to Network Adapter, can display 10G network connections in virtual machines, while the latter network adapter in the operating system is Intel 21140-Based Fast Ethernet Adapter, with a connection of only 100m.
two。 Legacy Network Adapter must be used to solve the problem of virtual machine NLB unicast. After the virtual machine is created, the Network Adapter network device will be installed by default. Select the virtual machine to be configured in the Hyper-V manager, close the virtual machine, click Settings, open the settings window, and first delete the Network Adapter network device.
3. Select Add Hardware, click Legacy Network Adapter, and click add.
4. After the addition is completed, the network appears to be unconnected. Select a network card and click apply.
5. The MAC address is dynamic at this point. It is grayed out in the static address entry and there are no numbers.
6. Close the settings window and start the virtual machine to turn off without entering the operating system. Then open the settings window. At this point the MAC address static option already has a number.
7. Select the static MAC option, apply, and determine. Never change the numbers in it.
8. Then start the virtual machine, and after the virtual machine starts, if the operating system of Windwos 2003 x64 needs to install the network card driver (the driver is VMNIC For VMWindows 2003_X64.iso in the other microsoft program/ directory of the company FTP). Installation method: open the settings of the dummy machine, select DVD Drive, select the driver of ISO in the IMG file bar with browsing, and finish attaching the CD-ROM drive file. Then go to the virtual machine to install the driver, the installation is completed, displayed as an Intel network card, speed 100Mbps.
9. The installation of the network card is completed, and the network information and load balancing information are configured as usual. In the same way, complete the configuration of the second virtual machine, check the NLB, and finish.
10. Virtual machine and real machine configuration, virtual machine configuration according to the above method, real machine according to the normal configuration method.
# Hyper-V solution for Windows 2008 R2
The solution to 1.Windwos 2008 R2 is relatively simple, and the R2 version adds the ability to enable spoofing MAC addresses, regardless of the type of network card. Simply select the Enable Spoofing MAC Addresses option when configuring the virtual network card.
two。 The rest will be carried out in normal configuration.
# conversion between ISA2006 Multicast and Unicast in Virtual Machine
1. Multicast and unicast conversion are mainly virtual machines generated by Hyper-V of Windows Server 2008. This problem should not exist in the version of R2, which has not been tested yet.
two。 Before making the conversion, ISA2006 needs to install the SP1 patch and download Microsoft's KB938550 patch pack locally to the virtual machine. The conversion can be done through KB938550. The command is as follows:
Convert to Multicast:
Cscript KB938550.wsf / array: / nlb:multicast / net1:
Convert to unicast
Cscript KB938550.wsf / array: / nlb:unicast / net1:
3. Conversion steps (take multicast to unicast as an example):
a. In Multicast mode-- stop load balancing in ISA2006-- App-- Select array name and check restart-- synchronize dual computers, and shut down after completion
b. In the Hyper-V settings console, modify the virtual machine Nic type to Legacy Network Adapter, see the first part of the method, and remember to check the static MAC.
c. Start ISA2006 machine with configuration server-- run unicast command on the command line-- synchronize ISA2006 and configuration server in ISA2006 console-- start another ISA2006 machine after completion-- after synchronization (for example, another machine cannot synchronize or cannot connect to the array (configuration server), you can manually uninstall the network card NLB of this machine first, leaving only the basic network configuration, and you can connect to the configuration server and array for synchronization.
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.