Category: VMware
-
Could not connect to vmware console https://vcenter_address:7331/
This usually happens from the vSphere web client while opening a console session with virtual machine. and the log (/var/log/vmware/vsphere-client/logs/vsphere_client_virgo.log) shows something like: [ERROR] Thread-42 System.err INFO:oejsh.ContextHandler:started o.e.j.w.WebApp Context{/console,file:/tmp/jetty-0.0.0.0-7331-console.war-_console-any-/webapp/},/usr/lib/vmware-vsphere-client/server/work/tmp/console-distro/webapps/console.war To fix this set the environment variable VMWARE_JAVA_HOME to proper path: – SSH to vcenter # vi /usr/lib/vmware-vsphere-client/server/wrapper/conf/wrapper.conf – Under Environment variables add: set.default.VMWARE_JAVA_HOME=/usr/java/jre-vmware – Restart…
-
Convert Linux Physical Server to VMware virtual machine
Download and install vCenter Converter on a windows machine. http://www.vmware.com/products/converter Unfortunately this tool does not have a Linux / MAC version. vCenter Converter In case you see an error: “Permission to perform this operation was denied”, right click and run the program as Administrator. Provide the source and destination information, the source is the physical…
-
ESXi host fails with a purple diagnostic screen PSOD
This happened while converting KVM VMs to VMware and power them on (method used: http://arunnsblog.com/2013/06/10/migrate-kvm-virtual-machines-to-vmware-esxi/) . It works for a while but then the ESXi crashes with PSOD. Version : 5.1.0-799733 There were two sort of PSOD messages observed: 1) Crashed while the VM was running VMware NOT_IMPLEMENTED bora/vmkernel/sched/memsched.c:17724 Code start: 0x41802b200000 VMK uptime: 10:19:25:27.335…
-
Migrate KVM virtual machines to VMware ESXi
– Shutdown the KVM guest – convert the QCOW2 or RAW format to VMDK format # qemu-img convert image.img -O vmdk image.vmdk – Upload this image to datastore – Create a new virtual machine with this disk image – There might be issues with network interface mapping, fix the network mapping at /etc/udev/rules.d/70-persistent-net.rules
-
Create NAS/SAN storage with openfiler, work with VMware ESXi as shared storage
– Download the openfiler installation ISO , download link I have downloaded the Installation ISO image (x86/64). Basically we need to create open filer as a virtual machine with say 20 GB thin provisioning, and attach another disk/datastore to the virtual machine to configure it as SAN. – Download and install the Installation ISO image…