Unable to shut down, migrate or doing pretty much any operation to a VM with error message including «operation is not allowed in the current state»?
Solution might be enabling ssh on the esxi host, login and try:
Run the esxtop utility using this command:esxtop
Press c to switch to the CPU resource utilization screen.
Press Shift+v to limit the view to virtual machines. This may make it easier to find the Leader World ID in step 6.
Press f to display the list of fields.
Press C (uppercase) to add the column for the Leader World ID.
Identify the target virtual machine by its Name and Leader World ID (LWID).
t the World to kill prompt, type in the Leader World ID from step 6 and press Enter.
Wait 30 seconds and validate that the process is not longer listed.
In vSphere client, check if the machine detects it is shut down, if it doesn’t happen right click and choose shut down, hopefully this will work now.
1. Install OpenSSL version 0.9.8 for windows, you can get it from below link:
2. Install it on a windows machine. By default, OpenSSL will be installed to C:OpenSSL
3. Copy the pfx certificates into folder C:OpenSSLbin
4. Run command line as administrator, and go to folder C:OpenSSLBin
5. Use below command to covert the certificate:
a. Generate crypt key file for the certificate via below command:
openssl pkcs12 -in server.pfx -nocerts -out server_tmp.key
During this step, it will ask for pfx certificate password and the pass phrase for the key. Use any word you like as the pass phrase, do not use blank pass phrase.
Then use below command to decrypt the key. In this step it will ask you the pass phase you used before.
openssl rsa -in server_tmp.key -out server.key
b. Generate crt file for the certificate via below command:
openssl pkcs12 -in server.infau.wbcau.westpac.com.au.pfx -clcerts -nokeys -out server.crt
6. Done. Now you can install the certificate for ESXi host
This page documents the process to update ESXi from version 3.5 to 4.0 if you have a standalone host or do not use vCenter Update Manager. After you have completed the firmware upgrade, you should also upgrade the virtual hardware version of your VMs as shown at the bottom of the page and also upgrade VMware Tools. Upgrading the virtual hardware version will allow you to take advantage of new VM features like 10 virtual NICs per VM, IDE virtual hard drives and VMDirectPath.
This procedure to upgrade an ESXi host from version 3.5 to 4.0 requires version 4.0 of the VMware vSphere client. Typically the vSphere client is installed after your ESXi host is installed. if you don’t have an existing install of the vSphere client v 4.0 you can extract it from the ESXi 4.0 upgrade ZIP package (VMware-viclient.vibdata.tar.gzdata.tar.4.0.0clientVMware-viclient.exe) as shown in the below image.
By default, ESX will use the LSI Logic driver when deploying a new Windows XP virtual machine. The LSI Logic driver is not found on the CD-ROM media, so Windows XP will not continue with the installation if this driver is not found.
- The steps:
Create a new Windows XP Virtual Machine
Upload a Windows XP .iso file to your datastore/ISOstore (preferably a VLK version) and link it via the CD-ROM options in your Virtual Machine. Make sure it is connected / at power on
Go to http://www.lsilogic.com/cm/DownloadSearch.do and search for a driver for the LSI20320-R controller.
Extract all files in the symmpi_wXP_1201800.ZIP
Use a program such as WinImage to create an LSILogic.flp file and include the extracted files in the .flp image.
Upload the newly created LSILogic.flp to your datastore/ISO store
Link the .flp file via the Floppy options => use existing floppy image in datastore in your Virtual Machine. Do NOT connect it yet.
Power On your Windows XP machine. The installation of Windows XP should begin.
During setup, press F6 to select additional SCSI drivers
Now is the time to connect your floppy and use S during Windows Setup when prompted to connect to the floppy drive.
The LSILogic drive should appear. Press ENTER to continue
Setup will continue as normal
Install VMware tools
NOTE: when using the BusLogic driver instead, you can download & use a preconfigured .flp file from the VMware site: http://download3.vmware.com/software/vmscsi-184.108.40.206.flp. Follow the same procedure as described above. The driver should be name VMware SCSI Controller in Windows XP.