Virsh Migration: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 4: | Zeile 4: | ||
=Virt Install von vorhandenem Image= | =Virt Install von vorhandenem Image= | ||
==Installation auf ryzen== | ==Installation auf ryzen== | ||
| − | *virt-install -n alice -r 2048 --os-type=linux --disk /mnt/virtimages/alice.qcow2,device=disk,bus=virtio -w bridge=lan,model=virtio | + | *virt-install -n alice -r 2048 --os-type=linux --disk /mnt/virtimages/alice.qcow2,device=disk,bus=virtio,cache=none -w bridge=lan,model=virtio --noautoconsole --import |
| + | |||
==Kopieren auf mabel== | ==Kopieren auf mabel== | ||
*root@ryzen:~# scp /var/libvirt/qemu/alice.xml root@mabel:/var/libvirt/qemu/ | *root@ryzen:~# scp /var/libvirt/qemu/alice.xml root@mabel:/var/libvirt/qemu/ | ||
Version vom 4. April 2017, 19:18 Uhr
Voraussetzung
Beide Hosts müssen auf den gleichen Storage-Pool zu greifen. Entweder NFS oder ISCSI.
Virt Install von vorhandenem Image
Installation auf ryzen
- virt-install -n alice -r 2048 --os-type=linux --disk /mnt/virtimages/alice.qcow2,device=disk,bus=virtio,cache=none -w bridge=lan,model=virtio --noautoconsole --import
Kopieren auf mabel
- root@ryzen:~# scp /var/libvirt/qemu/alice.xml root@mabel:/var/libvirt/qemu/
Definieren auf mabel
- root@mabel:~# virsh define /etc/libvirt/qemu/alice.xml
Migration zu einem neuen Host
Auf ryzen
- virsh migrate --live alice qemu+ssh://mabel/system
Auf mabel
- virsh migrate --live alice qemu+ssh://ryzen/system