You can use a special Acronis utility to import a .vhd file to Citrix XenServer
To import a .vhd file to Citrix XenServer you can use an interactive command line utility called vhd2xen. The utility is developed by Acronis.
The vhd2xen utility imports a .vhd file into Citrix XenServer repository of virtual disks. The utility supports importing both to local or remote XenServer repository.
The supported systems are:
For information on how to convert a .tib file to .vhd disk please see:
Installation
Usage
Issue the following command:
/usr/lib/Acronis/VHD2XEN/vhd2xen.sh [VHD file]
In Citrix XenServer local command shell you will need to specify:
(!) To import the .vhd file to a local repository, you should have write permissions to the directory, where the .vhd file is. Otherwise, vhd2xen will fail to import.
Example
Create a directory on Citrix XenServer to mount the Windows share where the .vhd file is:
mkdir /mnt/shared
Mount the share to the created directory:
mount.cifs //windows_host/share /mnt/shared -o username=test
(!) In this example the user test should have write permissions to //windows_host/share
Issue the import command:
/usr/lib/Acronis/VHD2XEN/vhd2xen.sh /mnt/shared/disk1.vhd
Go to Citrix XenCenter and connect to your Citrix XenServer;
You will find the imported disk in the repository you have selected.
Uninstallation
To uninstall the vhd2xen utility execute the following command:
./vhd2xen.i686 --uninstall
See also Acronis Backup & Recovery 10: Limitations on Converting TIB to Citrix XenServer VHD.
歡迎光臨 百利工頭 (http://bb.pc104.tw/) | Powered by Discuz! 6.0.0 |