diff options
author | Jasper Ras <jras@hostnet.nl> | 2024-11-23 17:34:50 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2024-11-23 17:34:50 +0100 |
commit | 80153a133d0888b7c0a7b72a9f80ccc6f005c555 (patch) | |
tree | 261af65acfe995e7254152136af119af489c7354 /4 archive | |
parent | dbe655fca3cf4fc5bc882015006f006764eace52 (diff) |
sorted out inbox
Diffstat (limited to '4 archive')
-rw-r--r-- | 4 archive/Blkio errors.md | 14 | ||||
-rw-r--r-- | 4 archive/Issues met TC oplossen.md | 25 | ||||
-rw-r--r-- | 4 archive/antagonist_migratie.md | 27 |
3 files changed, 66 insertions, 0 deletions
diff --git a/4 archive/Blkio errors.md b/4 archive/Blkio errors.md new file mode 100644 index 0000000..2b666a3 --- /dev/null +++ b/4 archive/Blkio errors.md @@ -0,0 +1,14 @@ +Dmesg is spewing blkio errors + +Find out which device: e.g dm-4, then: +``` +sudo virsh list --all --name | while read dom; do sudo virsh dumpxml $dom | grep dm-4 && echo $dom; done +``` +To find which domain +After which: +``` +sudo virsh dumpxml $domain +``` +to find the hostname + +reboot it hard.
\ No newline at end of file diff --git a/4 archive/Issues met TC oplossen.md b/4 archive/Issues met TC oplossen.md new file mode 100644 index 0000000..4ad3bf8 --- /dev/null +++ b/4 archive/Issues met TC oplossen.md @@ -0,0 +1,25 @@ +Probleem: referenties in ovs naar devices die niet meer bestaan. Hij probeert vervolgens een nieuw device aan te maken met een qdisc op zo'n niet bestaande device. + +``` +sudo grep -r 'could not open network device' /var/log/openvswitch/ | grep -oi 'tap[a-z0-9\-]*' | uniq > ports_no_device +``` +``` +sudo ip l l | grep ports_no_device | grep -oi 'tap[a-z0-9\-]*' > ports_with_device +``` +``` +for P in $(cat ports_no_device | grep -v -f ports_with_device); do sudo ovs-vsctl del-port $P; done +``` +``` +sudo systemctl restart ovn-controller +``` + + +Rutger versie: +``` +sudo grep 'could not open network device' /var/log/openvswitch/ovs-vswitchd.log | grep -oi 'tap[a-z0-9\-]*' | sort | uniq | while read dev; do ip l l $dev || sudo ovs-vsctl del-port $dev; done; sudo systemctl restart ovn-controller +``` + + +Dus: ovs-vsctl del-port is nice. + +Niet vergeten ovn-controller te herstarten. diff --git a/4 archive/antagonist_migratie.md b/4 archive/antagonist_migratie.md new file mode 100644 index 0000000..c04a00b --- /dev/null +++ b/4 archive/antagonist_migratie.md @@ -0,0 +1,27 @@ +Migrate VMs + +Not managed by customers, only Antagonist managed +Most of it is backoffice, only few are front facing + +Ovirt (KVM) + + +Possible to change IPs? + +Difficulty: private networking between hosts + databases only ones in the private network + + Should be possible to switch IPs + + +Outsourced routers to DC provider, more difficult to integrate networks + +Most of the things can be redeployed, Rutger notes that maybe all they need is access + +We can use their left-over IP space + +Features +- requires internal network, so want to create networks/routers +- HA/automatic failover? -> Not yet +- Anti-affinity rules? Dont want all the LBs on the same (failing) node + |