XenServer7的模版导出和导入

[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

[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

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

赞 (0)
分享到:更多 ()