Table of Contents
More “Virtualisation” posts
- ESX : ESX command line interface (cli)
- How-to : Build a “mirror / test server”
- How-to : Install / update Oracle VM VirtualBox
1) Moving a virtual machine
This is done using the VSphere client under a Windows OS.
1.1 Select the source datastore
Navigate through the “Configuration” menu then select “Storage“, in this window you can see all your datastore, select the one which contains the Virtual machine you wish to move :
1.2 Select the Virtual Machine to be moved
Once you have selected the right datastore, a right-clic gives you the context menu in which you must select “Browse datastore“, this will open a “Windows like” browser :
At the top left of this browser you can see a toolbar, please refer to the below list for the meanings of each icons (described from left to right):
- Save Virtual Machine
- Go to folder
- Create new folder
- Download to current datastore
- Download from current datastore to your local compute
- Move a Virtual Machine from one datastore to another
- Remove a file or folder
1.3 Eventually move the selected Virtual Machine
Follow this process to actually move your Virtual Mavhine.
- Clic the “Move Virtual Machine” icon
- Read and accept the warning, if you do understand it and agree
- Choose the destination datastore and clic “Move” to validate your choice
- A new popup window gives you the estimated time required to complete the Virtual Machine moving…
1.4 Add the newly moved VM to inventory (and remove the old one)
You now need to add the moved Virtual Machine to your inventory, but before that you need to remove the old reference from the inventory. Remove the old machine by selecting it from the left panel and right-clic to “Remove from inventory” this operation should not be long.
Then navigate to the new location of your moved Virtual Machine (See Fig.1) and select the Virtual Machine folder in the left panel : This allow you to choose the corresponding vmx file (the actual Virtual Machine file, which contains VM metadata) from the right section of the current window and via a right-clic choose “Add to inventory“, answer to the following 3 “questions” and you should now see the moved Virtual Computer back to your inventory on the left panel.
The next time you will start the moved machine you will have to answer a question that ask you if you moved or copied the Virtual Machine, just follow the ESX advice by answering “I copied it“. Et voilà ! Hope this quick post will speed up the process for this simple task.
- How-to : Basic PXE infrastructure #2 – DHCP server installation and setup on CentOS
- How-to : Basic PXE infrastructure #3 – TFTP server installation and setup on CentOS