Copy the Centos Virtual Machine to solve mac conflicts. The grub of the Master virtual machine, such as Slaves, is damaged because it cannot be repaired by using a Dvd and can only be deleted once. However, the Server Load balancer node configuration was good before, and it was copied and used directly, and then changed to Master. Method: Find the virtual machine image file, copy it, and rename it to the Master (if you open the image with vm, you will be asked whether it was copied or moved, and we will choose to copy it ). After the host name is enabled, modify the Host Name of the mac address: vi/etc/hosts (the main place, and then check whether there is any residue in vi/etc/sysconfig/network) to modify the mac address: find the configuration file (*. vmx), find the corresponding MAC address settings, such as ESX1: ethernet0.generatedAddress = "00: 0c: 29: 8f: 4b: f4" ethernet1.generatedAddress = "00: 0c: 29: 8f: 4b: fe "Modify the network mac by modifying the ifconfig-eth0, put *. the ethernet0 option in vmx is changed to the value corresponding to MACADDR. Modify MACADDR. To convert a Server Load balancer instance to a Master instance, You need to modify some of the Server Load balancer files in hadoop-conf and the myid files in zookeeper. This is not detailed here. After the configuration is complete, the restart takes effect.