How to convert/migrate pyisical attached virtual machine to virtual disk or upload to esxi - migration

THis request made me dysphoric, we have one VM with physical disk attached, this vm can write to this physical drive directy, now we must upload this vm to our esxi server to save places(this is pc), but I could not neither upload nor convert to virtual disk, so cannot migrate anymore.
client vm: centos
host: windows server 2012
vmware workstation version: 12.0
enter image description here

There's a couple ways this can be performed.
Since you're on a version of Workstation higher than 8.0, you might be able to connect directly to the ESXi host (or vCenter Server) and upload the VM. Here's the process to accomplish it: http://pubs.vmware.com/workstation-10/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-8C854257-8595-4877-B985-1DC801E98E88.html
If that doesn't work, you should try the vCenter Converter. It's a free "trial" through the following: https://www.vmware.com/products/converter.html
Here's a good walkthrough on how to use the converter: http://thesolving.com/virtualization/how-to-convert-a-vmware-workstation-vm-into-an-esxi-one-with-vcenter-converter/

Related

How to move a file from local win 10 OS to a virtual machine on VMware ESXi?

I'm confused about this problem for a long time.
I have a VMware ESXi which has the management IP 172.31.49.30, there're 4 windows 10 OS virtual machines on it.
I can access the ESXi with IE Explorer from my local win 10 machine. How can I copy and paste a file from my local machine to the virtual machine on ESXi? Any simple method? Thanks.
My current solution is a little complex. I save the file as Disc Image File (.iso) on my local PC, access the ESXi with IE, then upload the file to the ESXi. Enter the Win 10 VM and then select the disc image.
There's nothing wrong with the way you're doing it currently. That ISO is mounted as a standard CD/DVD on the local VM's OS.
Alternatively, you could find out what the local VM's IP address is and connect to the hard drive via SMB from your local physical system. Example: Windows would connect to \\x.x.x.x\c$ or Linux/Mac smb://x.x.x.x/c$
add second Ip in your host windows 10 in the same range of your vms, and you should see it by smb like Kyle Ruddy said

How could I access my VM in my host machine (By different IP)?

I want to access the virtual machine IP in the host (by ping or curl or something), but it is not ok. How could I make it?
The host machine is a win10 PC.
A virtual machine using VMware workstation 15, Ubuntu 16.04 server. It has IP address 192.168.178.138 and 10.0.0.11. I can access the 192.168.178.138, but cannot access 10.0.0.11. (no matter ping or curl...)
All are NAT mode in VMware Workstation.
Now I have a web application running on 10.0.0.11:80. How could I access it in my host machine.
Btw I have another VM with 192.168.178.39 and 10.0.0.31, and this VM can access the 10.0.0.11:80 by curl.
I can show the topo as below.
(A little Chinese but it won't affect reading, just ignore it)
Yes, now I solve this question by myself.
It seems that you cannot use the Host-only mode (Actually I can only use this mode...).
You need to set the virtual interface in your host PC (The IP, gateway, or anything else...);
Then you need to set in the VMWare workstation, set it to use speical lan (VM net 2 for me);
Then you can access it from the host machine and other vm, maybe you need to search something like NAT translation in VMWare workstation to access your web application deployed in the VM from outer network.
That's what I do, now I can access my horizon dashboard in the browser (The Ubuntu server don't have any browser... T-T sad ...)
Settings Picture

Is there any option to create virtual machine in Esxi hypervisor directly using any of the sdks provided by vmware

Currently I'm trying to create a vm in a Esxi server using Perl SDK provided by the vmware. The Vcenter host and name must be specified in create_vm.pl to create the vms in the Esxi server directly.
Is there any other SDK(like java) supports to install the vm directly on the Esxi serve without specifying the Vcenter.
link:https://www.vmware.com/support/developer/viperltoolkit/doc/utilityappsdoc/vmcreate.html
You just use the IP or hostname of the ESX/i host where it asks for vCenter. Keep in mind write operations are only supported on licensed versions of ESX/i so if you are using the free version it wont work.
I havent used PERL SDK for VMware, but I have used PowerCLI and PyVmomi for my tasks and the APIs require Host/vCenter IP as their host input.
When you provide VC as the host input, you get the objects related to vCenter for that VM, and if you provide ESXi host IP, you can create,manipulate VMs based on the limits of an ESXi server

Connect Remotely to Centos installed on Vmware

I have CentOS7 installed on Vmware, and I'm able to access it through SSH from my computer where Vmware is installed. I need to access my virtual machine from another computer. Is this possible? and what are the steps to complete this?
It is possible. You need to bridge your network adapter with the one on the VM, and then it will be accessible the same way your PC is.

How can I open the desktop GUI on my virtual machine in Bluemix?

I am running a virtual machine in Bluemix and want to open the OS's desktop GUI. How do I do this? Thanks for your help.
I've edited your question to what I think you're asking: How can I open the desktop GUI on my virtual machine in Bluemix?
Assuming I understand the question correctly:
To open the desktop GUI on a remote virtual machine, use Virtual Network Computing (VNC). This solution is not specific to Bluemix; it'll work with a VM running on any platform, as long as the VM is running an OS that supports VNC.
To use VNC, you need to have a VNC server running in your VM's OS. You will then run a VNC client (a.k.a. viewer) on your computer to display the VM's desktop. The specific instructions depend on the OS running in the VM and on your computer.
For example, assuming your VM is running Ubuntu v14.04, these resources explain what to do (and a search will find other resources):
"How to Install and Configure VNC on Ubuntu 14.04" -- Installs XFCE4 as the VNC server
"How To Install And Configure VNC On Ubuntu 14.04" -- Also installs XFCE4.
"How to Install VNC Server on Ubuntu 14.04 LTS" -- Installs TightVNC as the VNC server
For a VNC client, I actually connect to remote VMs via a local VM running Ubutu 14.04, so I use Vinagre (a.k.a. the Remote Desktop Viewer app). Options listed by other authors include TightVNC, RealVNC, or UltraVNC.
Good luck and thanks for using Bluemix.
From what I understand, you need some remote desktop tool to get to the UI of the OS of your virtual machine. Some tools available: http://www.techradar.com/us/news/software/applications/7-of-the-best-linux-remote-desktop-clients-716346