![]() ![]() After starting the virtual instance, the system boots up. The raw or qcow2 file must be assigned as harddrive. Qemu-img convert -f raw -O qcow2 ucs.raw ucs.qcow2Īfterwards, a new virtual instance must be created, using the profile which describes the installation best, e.g. If KVM is used for virtualization and advanced features should be used, then the image must be converted to a qcow2 file: cd /var/lib/libvirt/images/ ![]() For this, the raw image is copied to /var/lib/libvirt/images on the UVMM host. The image is saved as raw file and can now be used as a virtual harddrive with UVMM. ![]() When the process is finished for all drives you want to copy, the system can be shut down. Consult the following article, if you need help: Transfer image compressed via SSH This omits the need of external storage, but might be more time consuming due to possible CPU and network limits. You can also transfer the harddrive by combining the dd command with a scp command. It is recommended to use an external harddrive or a USB flash drive to transfer the system: dd if=/dev/sda of=/mnt/usb/ucs.rawĭepending on the size of the device sda this will take some time. The installed harddrives can be identified by using the following command: fdisk -l To create the image file, the system must be booted with the Live-CD. Hint: If the native installation used more than one harddrive the following procedure must be repeated for every harddrive! To transfer a native UCS installation into a UVMM instance, the harddrive has to be saved as an image file, which is then used by UVMM. You can now continue by either copying the whole harddrive (including empty space) or by only copying the actual files on your hard drive to a new UVMM instance. In addition to the UCS system that will be migrated, and a working installation of UVMM, a Linux Live-CD with LVM (i.e. If desired, Univention offers advice for such a scenario. If this is not possible and more servers in addition to the DC Master need to be migrated, the DC Master must be saved and reinstated as first system. The promotion is done with the following command on the DC Backup: univention-backup2master If the DC Master does not hold any data or provides services that need to be migrated, the installation of a DC Backup and promotion to a DC Master is preferred to migrating the DC Master. This, however, would go beyond the scope of this article. If the server has to be accessed during the migration process, special care has to be taken of application and user data. The values and device names must be adapted to each individual setup. The following article describes how to migrate a standard installation of UCS into a UVMM instance. For questions about your support coverage contact your contact person at Univention before you want to implement one of the shown steps. Not all of the shown steps in the article are covered by Univention Support. Note: Cool Solutions are articles documenting additional functionality based on Univention products. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |