Category: VMware
-
How to Export and Import a VMware Virtual Machine using PowerCLI
Run Windows PowerShell as Administrator Install PoweCLI: Install-Module -Name VMware.PowerCLI Alternatively, you can download PowerCLI from here: https://code.vmware.com/tool/vmware-powercli Create a folder where you want to export the virtual machine. I’ll use the OVA format in this example. Note the path to the folder. Run PowerCLI as Administrator Load the PowerCLI module: Import-Module VMware.PowerCLI Connect to…
-
How to Add a Virtual Sound Card to a VMware Virtual Machine
Add these entries to the VMX file. Ensure that the PCI slot number is unique. sound.present = “true” sound.allowGuestConnectionControl = “false” sound.virtualDev = “hdaudio” sound.fileName = “-1” sound.autodetect = “true” sound.pciSlotNumber = “34”
-
How to Increase Disk and Volume Size on a VMware Virtual Appliance
Should you find that you’re running low on disk space on one of your volumes, SSH into the appliance and run the following commands: shell.set –enabled true (to enable shell access if not already enabled) df -h (to determine which volume is running low in disk space) Increase the disk size vpxd_servicecfg storage lvm autogrow…
-
“The OVF package is invalid and cannot be deployed” error when deploying OVA or OVF
You may get the following error when trying to import an OVA or OVF file in the vSphere client “The following manifest file entry (line 1) is invalid: SHA256”. This happens because the vSphere client does not support SHA256. To get around this issue the file needs to be converted to use the SHA1 algorithm.…
-
VMware vCenter 5.5 to 6.5 migration stops at 75% Applying ActiveDirectory Configuration
I ran into this problem during the migration from a Windows vCenter 5.5 to a 6.5 VCSA (vCenter Server Appliance). The installer appeared to be stuck at 75%. However, the installer actually went past that step and completed successfully. I learned this by logging in to the vCenter appliance management page on port 5480.
-
VMware P2V Conversion Fails with BlockLevelVolumeCloneMgr: Detected a write error during the cloning of volume …. Error 37409
After many successful P2V conversions I ran into this one 2008 R2 server that caused me a lot of grief. The C: drive would clone, but the remaining three drives would fail with this, or a similar, message “BlockLevelVolumeCloneMgr: Detected a write error during the cloning of volume …. Error 37409”. Given the server was…
-
How to Match Windows Disks to VmWare Disks
Log in to the Windows server and launch the Server Manager. Right-click the disk in question and select Properties. Note the “Target ID” number. Launch VmWare vSphere and right-click the VM in question, then select Edit Settings. As you click on the virtual disks pay attention to VMDK file name. You’ll want to match…
-
How to Resize a Partition on a Linux Virtual Machine using LVM
1. Check the current disk utilization: df -h 2. Increase the virtual disk size in vmWare 3. Mount the gParted ISO to the VM and set to automatically connect on boot 4. Reboot the VM 5. Use gParted to resize the partition. When done, change the CD/DVD drive back to client device and reboot. 6.…