Importing a VM from VM Workstation to ESX / ESXi
来源:互联网 发布:java io流文件放在哪里 编辑:程序博客网 时间:2024/05/21 19:38
Importing and exporting virtual machine from a VMWare ESX Server host requires converting that virtual machine’s .vmdk file(s) from one format to another.
Although the underlying technologies work the same, the formatting of the VMDKs differ.
You have 2 options:
1) If you have a running copy of workstation, simply use VMware Converter as you would for any normal conversion, treating the VM as you normally would a physical host in a P2V
2) If you have no working Workstation, you can clone / convert the vmdk at the command line - as I have a fully ESXi lab to play in, I don't have Workstation running on any machines in my office - as such, when IBM recently supplied a VM for a demo . . that had been created on VM workstation, I had to import it. I used the following process.
Firstly, get hold of an SSH tool ( I use putty)
Next, open a connection to any host that has the storage containing the vmdk presented
In ESX / ESXi, this will be in /vmfs/volumes/<datastorename>
Note: the destination path /dest/folder/vmserver1.vmdk should not contain any existing files with the name ‘vmserver1.vmdk’. If it does the file will be overwritten.
Importing Virtual Disks from GSX Server and Workstation to ESX Server
Before an ESX Server can run a virtual machine created on a different version of VMWare, the virtual disks must first be converted to a format that can be read by the VMFS file system. This is done by running the following vmkfstools command:
vmkfstools -i <folder>/<filename>.vmdk <vmhba number>:<filename>.dsk
<folder> is the name of the folder from which you are importing from
<filename> is the name of the virtual machine file(s) to be imported
<vmhba number> is the name of the VMFS partition you are importing to
An example of a complete command would be:
vmkfstools -i /vmfs/volumes/CLRLAB001T1/vmserver1.vmdk /vmfs/volumes/CLRLAB001T1/vmserver1_new.vmdk
Additional information regarding the vmkfstools command can be found in the ESX Server documentation.
- Importing a VM from VM Workstation to ESX / ESXi
- Steps to migrate VM Workstation
- Migrate a Windows 2008 VM from VMware to OpenStack
- Cloning a VM on ESX Server 3.0.1
- VM Esx 5 虚拟机安装
- VM workstation 快捷键
- VM workstation 优化大全
- VM workstation 与 VM vSphere的区别
- API控制VM虚拟机(VM Workstation or VM Server)
- API控制VM虚拟机(VM Workstation or VM Server)
- VM workstation 中linux 命令
- vmware esx guest vm 选择启动顺序
- XenServer 6.5实战系列之九:Creating a VM Template from a VM Snapshot
- vm
- VM
- VM
- VM
- VM
- 监控ttserver端口状态的脚本
- 图的最小生成树算法
- mysql创建过程
- 把JSP转成EXCEL文件(不推荐)
- 查找
- Importing a VM from VM Workstation to ESX / ESXi
- java QQ项目详细设计设计系列 之 ——安全模块
- ssh不输入密码
- DataGridView中CellClick,CellMouseClick,CellContentClick的区别
- 工具类:加密(java)
- hibernate的各种保存方式的区别
- 查找(2)
- 让fiddler2监听本地http连接
- flex bug