Friday, March 13, 2009
Update/Remove Network card for vSwitch
To do that run following command which will add vmnic0 into vSwitch0
esxcfg-vswitch -U vmnic0 vSwitch0
This will remove vmnic0 from vSwitch0
esxcfg-vswitch -L vmnic0 vSwitch0
Thursday, March 12, 2009
P2Ving IIS windows server in DMZ
Please read this before you attempt .
We had been attempting to virtualize one of the dying old hardware hosting business critical application in DMZ. This was my first experience virtualizing web server in DMZ. So I learn too many things to from this P2V effort.
- When you virtulize any web server in DMZ please involve Firewall/Network Admin.
- Ports need to be open between ESX host which will be hosting that physical machine + Physical machine + VC client box which is performing this effort.
Before virtualizing take backup of IIS application using IIS console. Once backup completed shut down all the IIS service and any other services like Anitvirus. Also run ipconfig /all > ip.txt to note down all the IP addresses.
Use convertor and virtualize the physical box and choose not to start and install vm tools.
- Once this box is virtualize remove all the unwanted hardware using following link.
- Make sure you have removed the vm NIC card and then power on the system. The reason we do this to have a neat and clean system before adding NIC. This also safeguards from any IP or application conflict.
- Once the machine is powered ON check if any NIC teaming was done. I had a great difficulties because I used this link and deleted the hidden driver before removing it from NIC.
- Remove the NIC team because IP address are assign to the team in case of Teamed server not to the individual NIC adapter.
- Once the team is removed from the NIC then uninstall the NIC team software and rest all software (Hardware related) which is not required. Please follow the reboot sequence as machine request you. I thought I will reboot it once for all and landed up in trouble. I think we should have sometime listening attitude towards Mr. Gates creativity.
- Now follow the link to remove hidden NIC adapter imported as a part of P2V.
- Once all unwanted adapter is removed then proceed with installing VM tools.
After this add VM nic and then power on machine and assign IP address.
Friday, February 27, 2009
P2V Enterprise Convertor V1.0
When P2V happen it create a disk based on how many physical disks are present in our physical machine. I was under impression that Enterprise convertor does improved from legacy vmware converter but I am wrong. Hopefully next release will have this feature.
Thursday, February 26, 2009
Snapshot and disk expansion
I learned my snapshoot lesson in very hard way. So I would recommend when there
are many VMware admin with little knowledge please be careful with expansion or stuff like that.Today one of the VM’s had snapshoot and I did not realize it (Yes I am stupid Idiot). It has only C: drive which needs to be expanded. So I ask one my colleague to use GUI and perform the expansion. He tried and the value got reverted. What I meant was when I changed size from 5GB to 6GB it will not accept that changes
Change UUID for VMDK -Virtual Disk
When you deploy machine from template, template as well as deployed virtual machine
will have same UUID for vmdk files (New discovery). It will throw warning message
“/usr/sbin/vmkfstools-J setuuid $path_to_vm/vmname.vmdk ”
