You may not power on a virtual machine in a virtual machine esxi 4.1 in esxi 4.1

I thought i solved this some time ago but…
When powering on VM inside virtualized esxi 4.1 on esxi4.1 host i got an error
You may not power on a virtual machine in a virtual machine
I thought 2-3 weeks ago i had to deal with this issue but i forgot to test it 😉 and assumed that it will work… don’t ask.
What i did is that i put option
monitor_control.restrict_backdoor = “TRUE” in vmx.
Well , it’s not enough , now i had also to add
guestOS = “vmkernel”
monitor_control.vt32 = “TRUE”
monitor_control.restrict_backdoor = “TRUE”
When updating the vmx, you will have the guestOS option already set up, so delete it first, because esxi vm will not start and will say that it already has a variable guestos defined.
After rebooting esxi vm, it’s albe to start other vms inside.

HA agent has an error : cmd addnode failed for secondary node: Error creating ramdisk for HA agent configuration. : Unknown HA error

If you want to create ha cluster on virtualized Esxi 4 inside Esxi4 you might encounter above error. Check if you have MORE than 2048 MB ram.
Well described here:
http://communities.vmware.com/message/1723281