How to recover deleted or corrupt VMX file

In case you find yourself in the position where you have a vmware virtual machine, that for some reason lost it’s configuration file (.vmx), but you still have the vmdk files which go with the vm. Then you’re in luck , there is an easy way to recover the vm!!

Just start the “new vm” wizard and during the wizard, click edit hardware.Now delete the pre-added disk from your new vm, and click add disk.
Then choose existing disk. And browse your datastore for the vmdk from the broken vm.
Do this for all the disks that were a part of the vm.
Now just boot your newly created vm, and you will have your machine back!!!!

HP DL 165 G7 and P800 RAID Controller

I had a client where they had an MSA 60(HP Storage works) in combination with the P800 Array Controller, All worked fine in an old ML350.

But now I had to try and make it work with the new HP DL 165 G7 Server they bought for running ESX.

I’ve encountered various problems, but I’ll spare the most of them. Also I didn’t note all the steps taken in detail, so just bear with me.

Problem 1:

The server comes with a p410 controller built-in, to be able to use the P800 (which is huge¬† compared to the small 1u server) you need to lose that controller. The P800′s PCI connection is much smaller then the one on the mobo, but don’t mind that and shove it in the riser.
But then you cannot use the internal disks the server has. The workaround is to order a special SAS cable from amazon or something, to connect the disks to the P800′s internal SAS Connector

Problem 2:

The BIOS does NOT give any note of the controller during the POST so there is no way to configure it. You need to download the “Offline Array Configuration Utility” from HP. You need to use the HP Usb creator, or burn it to a bootable CD.
Now you are able to use the ACU to configure the disks/volumes.

Actually, those were the 2 major problems…
After that , I was able to install ESX on the MSA and boot from it as well…
One thing to note: You can install the ACU and HP Management agents on the server, IF you install ESX , if you install ESXi there is no way to do this!!!