Differences between revisions 69 and 87 (spanning 18 versions)
Revision 69 as of 2021-02-21 02:03:46
Size: 3419
Comment:
Revision 87 as of 2024-05-14 20:31:59
Size: 6528
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
 * https://bugzilla.redhat.com/show_bug.cgi?id=1058526
Line 54: Line 55:
 * https://unix.stackexchange.com/questions/148794/how-to-create-kvm-guest-with-spice-graphics-but-tls-disabled-using-virt-install
 * Debian does raid resync on sundays, https://serverfault.com/questions/255544/reason-for-automatic-raid-resync
 * https://www.techspot.com/guides/287-default-router-ip-addresses/
 * https://www.youtube.com/watch?v=_yIq3GM4gjA
 * https://serverfault.com/questions/9708/what-is-a-pem-file-and-how-does-it-differ-from-other-openssl-generated-key-file

alternative bridge settings might be required
{{{
# bridging eth0 as br0
auto br0
iface br0 inet dhcp
        # bridge specific settings
        #bridge_stp on
        #bridge_maxwait 0
        #bridge_fd 0
        #bridge_ports eth0
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off
        # network settings
}}}

 * https://fedoraproject.org/wiki/Xfce
 * https://community.volumio.org/t/raspberry-pi-zero-w-and-buildin-bluetooth-chip-not-detected/7312/8
 * https://www.youtube.com/watch?v=Ow5rhYTbT34
 * spice client for windows systems: https://virt-manager.org/download/
 * https://wiki.libvirt.org/page/VNCTLSSetup
 * https://libvirt.org/formatdomain.html
 * https://unix.stackexchange.com/questions/344756/is-there-anything-similar-to-rsync-to-syncing-block-devices

{{{
run that readlink on remote host first

rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace "$(readlink -f "/dev/vg_storage/kvm_saphira_vda")" kvm01:"$(readlink -f "/dev/vg_storage/kvm_saphira_vda")"
}}}

usage example that works
{{{
#!/bin/sh

DISK="/dev/vg_storage/kvm_saphira_vda"

SOURCE=$(readlink -f ${DISK})
DESTINATION=$(ssh kvm01 "readlink -f ${DISK}")

echo rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
}}}


host migration
virsh migrate --live --copy-storage-all dhcp02 qemu+ssh://kvm01/system
and back
virsh migrate --verbose --live --copy-storage-all dhcp02 qemu+ssh://kvm02/system
Migration: [100 %]
works with the following cpu settings
{{{
  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>Nehalem</model>
    <vendor>Intel</vendor>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='vmx'/>
    <feature policy='require' name='pdcm'/>
    <feature policy='require' name='x2apic'/>
    <feature policy='require' name='tsc-deadline'/>
    <feature policy='require' name='hypervisor'/>
    <feature policy='require' name='arat'/>
    <feature policy='require' name='tsc_adjust'/>
    <feature policy='require' name='umip'/>
    <feature policy='require' name='arch-capabilities'/>
    <feature policy='require' name='rdtscp'/>
    <feature policy='require' name='skip-l1dfl-vmentry'/>
    <feature policy='require' name='pschange-mc-no'/>
  </cpu>

}}}

TODO

Various Articles

misc

alternative bridge settings might be required

# bridging eth0 as br0
auto br0
iface br0 inet dhcp
        # bridge specific settings
        #bridge_stp on
        #bridge_maxwait 0
        #bridge_fd 0
        #bridge_ports eth0
        bridge_ports eth0
        bridge_fd 9
        bridge_hello 2
        bridge_maxage 12
        bridge_stp off
        # network settings

run that readlink on remote host first

rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace "$(readlink -f "/dev/vg_storage/kvm_saphira_vda")" kvm01:"$(readlink -f "/dev/vg_storage/kvm_saphira_vda")"

usage example that works

DISK="/dev/vg_storage/kvm_saphira_vda"

SOURCE=$(readlink -f ${DISK})
DESTINATION=$(ssh kvm01 "readlink -f ${DISK}")

echo rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}
rsync --progress --verbose -I --copy-devices --write-devices --no-whole-file --inplace ${SOURCE} kvm01:${DESTINATION}

host migration virsh migrate --live --copy-storage-all dhcp02 qemu+ssh://kvm01/system and back virsh migrate --verbose --live --copy-storage-all dhcp02 qemu+ssh://kvm02/system Migration: [100 %] works with the following cpu settings

  <cpu mode='custom' match='exact' check='full'>
    <model fallback='forbid'>Nehalem</model>
    <vendor>Intel</vendor>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='vmx'/>
    <feature policy='require' name='pdcm'/>
    <feature policy='require' name='x2apic'/>
    <feature policy='require' name='tsc-deadline'/>
    <feature policy='require' name='hypervisor'/>
    <feature policy='require' name='arat'/>
    <feature policy='require' name='tsc_adjust'/>
    <feature policy='require' name='umip'/>
    <feature policy='require' name='arch-capabilities'/>
    <feature policy='require' name='rdtscp'/>
    <feature policy='require' name='skip-l1dfl-vmentry'/>
    <feature policy='require' name='pschange-mc-no'/>
  </cpu>

None: TODO (last edited 2024-05-14 20:31:59 by Kristian Kallenberg)