扫一扫,访问微社区

QQ登录

只需一步,快速开始

查看: 3160|回复: 0

[Linux] XenServer复制虚拟机 命令行操作

[复制链接]
发表于 2016-12-7 15:42:54 | 显示全部楼层 |阅读模式

访客您好,登录后可看更多精彩内容!发帖、回复积分还可换实物奖品哦,还在犹豫什么,赶紧注册登录吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 bijiafeng 于 2016-12-7 15:55 编辑

1. Run the commands listed below.
# xe vm-list (note the name of the VMyou wish to copy)
# xe sr-list (note the name of the storage you will to copy the VM to)
# xe vm-copy (needs the following parameters to complete)
• vm=
• sr-uuid=
• new-name-label=
• new-name-description=
# xe vm-copy vm=<name of VM to copy> sr-uuid=<UUID of SR to copy VM to>new-name-label=<New Name of VM> new-name-description="Description of VM"
2. Allow time for the command tocomplete. If the copy succeeds, the command displays the Universal UniqueIdentifier (UUID) of the newly created VM. For example:
image006.gif
# xe vm-copy vm=VM_Name sr-uuid=955bd475-df2d-7c69-4a55-e4abb361262e new-name-label=New_VM_Name new-name-description="This is a copy of a VM from local storage to NFSstorage"
a12e90d5-3894-0366-57a6-9f739daf917d (New_VM_uuid)

毕嘉峰电脑技术论坛-Bijiafeng.com:论技术分享我们更专业更精确!!
关闭

站长推荐 上一条 /1 下一条

9.9全场包邮
客服热线
暂缓开通 周一至周五:09:00 - 18:00
公司地址:北京市海淀区中关科技园
邮箱:root@bijiafeng.com

毕嘉峰电脑技术网始于2008年,由毕嘉峰创办并延续至今,在2012年进行线下转型于2013年正式上线运行。我们坚持初心不忘使命,努力为客户打造准确精准的解决方案,目前处于公益运行,如果你喜欢本站,希望给予赞助让我们做得更好更久,谢谢支持!。

Powered by Discuz!  X3.5 © 2008-2021 毕嘉峰电脑技术网   技术支持: 凡尘

申请友链|手机版|小黑屋|毕嘉峰电脑技术网 ( 京ICP备13033230号-2 )|赞助我们

GMT+8, 2024-5-1 00:51 , Processed in 0.046995 second(s), 30 queries .

快速回复 返回顶部 返回列表