宜信同城网交流论坛

 找回密码
 立即注册
开启左侧

XenServer7的模版导出和导入

[复制链接]
发表于 2023-3-2 19:25:43 | 显示全部楼层 |阅读模式 来自 LAN
[root@xenserver-cukxsegi iso_storage]# xe template-list|grep -B1 'Windows 2012 R2 Node'
uuid ( RO) : 799024cb-9daf-dbd1-9f6b-349f767b611d
name-label ( RW): Windows 2012 R2 Node
[root@xenserver-cukxsegi iso_storage]# xe template-export template-uuid=799024cb-9daf-dbd1-9f6b-349f767b611d filename=./'Windows 2012 R2 Node'.xva
Export succeeded
[root@xenserver-cukxsegi iso_storage]# du -sh 'Windows 2012 R2 Node'.xva
9.6G Windows 2012 R2 Node.xva
[root@xenserver-cukxsegi iso_storage]# file 'Windows 2012 R2 Node'.xva
Windows 2012 R2 Node.xva: tar archive
[root@xenserver-cukxsegi iso_storage]# scp 'Windows 2012 R2 Node'.xva root@172.100.220.53:/iso_storage
The authenticity of host '172.100.220.53 (172.100.220.53)' can't be established.
ECDSA key fingerprint is a8:0a:9a:08:c7:56:98:ef:6c:0c:ad:8a:2c:dd:ba:65.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.100.220.53' (ECDSA) to the list of known hosts.
root@172.100.220.53's password:
Windows 2012 R2 Node.xva               45% 4462MB 110.1MB/s 00:48 ETA

9f8ff9f1a2b33cec7a182fb6588c5cf8.png

[root@DS-Server04 ~]# xe template-list|grep -B1 'Windows 2012 R2 Node'
[root@DS-Server04 ~]# xe sr-list|grep -B1 Local
uuid ( RO)                : 8e812398-6d55-b06a-2907-ac95c4c12533
          name-label ( RW): Local storage
[root@DS-Server04 ~]# xe vm-import filename=/iso_storage/"Windows 2012 R2 Node.xva" sr-uuid=8e812398-6d55-b06a-2907-ac95c4c12533

3143c725c7f29af1fdc0912726a8feb1.png

未经允许不得转载:王超博客 » XenServer7的模版导出和导入

宜信网交流论坛 - 版权声明 1、在发表言论时,请遵守当地法律法规。主题所有言论纯属个人意见,与本站立场无关。
2、本站所有主题由作者发表,作者享有帖子相关版权,其他单位或个人使用、转载或引用本文时必须征得作者同意并注明来源于宜信网
3、如本帖侵犯到任何版权问题,请立即告知本站,本站将及时予与删除并致以最深的歉意。
4、帖子不遵守当地法律法规、广告、人身攻击等情况时,宜信网管理人员有权不事先通知发贴者而删除本文。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|宜信同城网交流论坛 ( 闽ICP备19021048号 )|站点地图

GMT+8, 2026-3-27 08:35 , Processed in 0.209122 second(s), 11 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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