« Review: VMWare 2.0 | Main | HOWTO: Where is winmsd in Vista? »
By Jesse | October 18, 2008
ESXi server by VMWare is a very powerful on-the-metal virtual machine environment. However, it is somewhat confusing to many first time users. Unlike most Operating Systems, or even hosts, there is no User Interface on the actual server- Instead everything is done remotely.
The question then becomes, how do you transfer pre-existing vm’s to the datastore? On first glance it appears you can only create new machines or access VM’s that are on a network share.
However, there is an easier way! The best way I’ve found to copy VM’s to to the data store is to copy them via SSH/SCP.
In order to do this, you need to turn on the SSH server that is built into the base OS:
- First, login to console 1 : (press ctrl-alt-f1)
- Type in : unsupported and press enter.
- You should now see a tech support warning and a prompt to login.
- Login as root and enter your password.
- you should now have a root linux hash ( # )
- Edit /etc/inetd.conf using vi editor (vi /etc/inetd.conf)
- and remove the comments in front of the ssh section (remove the # signs. You may have to hit i to enter insert mode. esc will get you out of insert mode. )
- Save the file (Shift-ZZ)
- and reboot (init 6)
You can now use a program like winSCP to copy files to and from your vmware server.
——————————————————-
UPDATE:
A couple additions I will mention… First, before you copy files to your ESXi server you must setup a datastore. Which will be done from the VMWare Infrastructure Client. (if you havent done so already, browse to your vmware server from another client — http://ESXiServerName or IP. then download and install the vmware client.)
Once inside the VMWare Infrastructure Client, Click on the Configuration Tab, then click on “Storage” in the hardware section.
Once the storage menu has been displayed, click “add storage” in the top right corner of the screen. Follow the steps to create the local datastore.
Once the datastore is created, you can access it via ssh using WinSCP which can be found here :
http://winscp.net/eng/download.php
connect via ssh, your new datastore can be found here:
/vmfs/volumes/DATASTOREGUID (it’s a long string of numbers)/
then just drop your vm’s here in a folder. They will show up in the ESXi console.
_______________________________________
PLEASE HELP BY BOOKMARKING OUR SITE...
Topics: How To, Linux, Microsoft Windows, Uncategorized | No Comments »
Comments