Virsh Migration: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 3: | Zeile 3: | ||
*[[Virsh NFS Pool]] | *[[Virsh NFS Pool]] | ||
=Virt Install von vorhandenem Image= | =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 -w bridge=lan,model=virtio --vnc --noautoconsole --import | *virt-install -n alice -r 2048 --os-type=linux --disk /mnt/virtimages/alice.qcow2,device=disk,bus=virtio -w bridge=lan,model=virtio --vnc --noautoconsole --import | ||
| + | ==Kopieren auf mabel== | ||
| + | *scp /var/libvirt/qemu/alice.xml root@mabel:/var/libvirt/qemu/ | ||
=Migration zu einem neuen Host= | =Migration zu einem neuen Host= | ||
Version vom 4. April 2017, 19:05 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 -w bridge=lan,model=virtio --vnc --noautoconsole --import
Kopieren auf mabel
- scp /var/libvirt/qemu/alice.xml root@mabel:/var/libvirt/qemu/
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