I have an environement with each ESX server has 4 VMNIC installed. 2 card built in and 2 card is PCI.While, Installing ESX server 4.0 on exisitng server, VMNIC2 has taken as a VMNIC0 and configure as default installation. This added to the existing cluster but giving error while configuring HA
While checking the network settings, found that VMNIC settings as compare to old server is different and swaped as "VMNIC0 becomes VMNIC2" and "VMNIC2 become VMNIC0".
Remaing servers has this configuration and this server before has ..... see the snap
With the wrong configruation we get the following below one. These need to be change to comply the following network standards.
OBJECTIVE:
We need to resolve this issue by changing a VMNIC name mapping from VMNIC2 to VMNIC0 and vice versa.
RESOLUTION:
We could use a method to renumber the vmnic in order to get the same numbers as you want where to change the vmnic2 to vmnic0 in order to have correct administration for the HA.
All commands are run as the root user on the ESX host with root user's environment. If you login to the ESX Service Console command line using a non-root user account, be sure to use "su -" to reach the root user account and include the environment.
1. Backup the /etc/vmware/esx.conf file
# cd /etc/vmware
# cp esx.conf /root/esx.conf.backup
2. Edit the esx.conf file with a command line editor such as vi You will find lines such as these within the esx.conf file (not together in one area):
/device/004:00.0/vmkname = "vmnic0"
/device/006:00.0/vmkname = "vmnic2"
/net/pnic/child[0000]/name = "vmnic0"
/net/pnic/child[0001]/name = "vmnic2"
/net/vswitch/child[0000]/teamPolicy/uplinks[0000]/pnic = "vmnic0"
/net/vswitch/child[0000]/teamPolicy/uplinks[0001]/pnic = "vmnic2"
/net/vswitch/child[0000]/uplinks/child[0000]/pnic = "vmnic0"
/net/vswitch/child[0000]/uplinks/child[0001]/pnic = "vmnic2"
Switch vmnic0 with vmnic2 and vice versa.
3. Push this change into the initrd file using:
# esxcfg-boot -p
4. Once the file has been updated, reboot the ESX host # shutdown -r now
Result:
After re-booting a server, you will get the following configuration.
After restart a server, configure the proper network settings in configuration Hardwar and do the proper changes as similar to your standards in vSWITCH0 for service console and VMKernel.
Add the server to existing cluster again and enjoy all services for HA and DRS.
Regards,
Kabeer Siddiqui
No comments:
Post a Comment