www.vmwareadmins.com

how many VMs can you put in a box?

  • Increase font size
  • Default font size
  • Decrease font size
Welcome to VMwareAdmins.com!

VM NIC disconnected after HA failover when connected to a dVswitch

E-mail Print PDF

After encountering a bug: http://kb.vmware.com/kb/1017861

we needed to go through and reconnect the interfaces on some VM's:

get-vm | get-networkadapter | set-networkadapter -connected:$true -confirm:$false

This happened on vSphere 4.0U1 in which this bug was supposed to be fixed, per: http://www.vmware.com/support/vsphere4/doc/vsp_vc40_u1_rel_notes.html

going to try to duplicate using a template that was created post update 1.

Time for a VMware support call!

Last Updated on Thursday, 13 May 2010 14:37
 

vSphere ISO containing Intel 82575 and 82576 Gigabit Ethernet Adapter drivers

E-mail Print PDF

So, after spending three days on this, I was finally able to get the  Intel 82575 and 82576 Gigabit Ethernet Adapter driver slipstreamed onto the installation media.

I first followed this: http://patrickvanbeek.wordpress.com/2010/01/30/slipstreaming-drivers-in-the-esx4i-install-iso/ to get the post install drivers working. 

But I still had the problem of not being able to see the NIC's during the install.

to do that, I had to explode the ESX 4.0u1 ISO and grab the initrd.img file from the isolinux folder.

To do the modifications of the img file I needed a linux guest... so I fired up a Ubuntu image on Lab Manager and SCP'd the img file there.

To extract the IMG file do:

 mkdir ~/tmp
 cd ~/tmp
 cp /boot/initrd.img ./initrd.gz
 gunzip initrd.gz
 mkdir tmp2
 cd tmp2
 cpio -id < ../initrd.img

now you should have a lot of files in ~/tmp/tmp2 directories, including a lot of subdirectories like sbin,lib

Now you need to extract the igb.xml and igb.o from the VMware RPM (http://www.vmware.com/support/vsphere4/doc/drivercd/esx40-net-igb_400.1.3.19.12-1.0.4.html.)

I then moved these files to their respective locations within the exploded initrd.

the igb.xml went into

/usr/share/hwdata/pciids/

the igb.o went into

/usr/lib/vmware/vmkmod/

then pack the files back into the archive using the following command

  cd ~/tmp/tmp2
 find . | cpio --create --format='newc' > ~/tmp/newinitrd
 cd ~/tmp
 gzip newinitrd
 


now you would have a newinitrd.gz
rename this now -
mv newinitrd.gz as newinitrd.img
this is the new boot image now !!

I then re-created the ISO. Oddly enough, it worked on the first try :)

and the link to the ISO... http://www.vmwarescripting.com/vmware_admins_esx4u1.rar

 

Eric Sarakaitis - This e-mail address is being protected from spambots. You need JavaScript enabled to view it

www.twitter.com/esarakaitis

 

Last Updated on Thursday, 06 May 2010 14:11
 


Page 9 of 22

Follow Me On...

Facebook linkedin twitter youtube

Polls

What Version of vSphere are you purchasing?