From ed0753ad224f0c65133bd7a63180257eecd9f5e3 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Wed, 8 Jan 2025 10:48:09 +0100 Subject: vault backup: 2025-01-08 10:48:09 --- 4 archive/Blkio errors.md | 14 -------------- 4 archive/Issues met TC oplossen.md | 25 ------------------------- 4 archive/antagonist_migratie.md | 27 --------------------------- 4 archive/blkio-errors.md | 14 ++++++++++++++ 4 archive/fix-tc-issues.md | 25 +++++++++++++++++++++++++ 4 archive/infotube.md | 1 + 4 archive/no-tildes.md | 3 +++ 4 archive/spinoza.md | 15 +++++++++++++++ 8 files changed, 58 insertions(+), 66 deletions(-) delete mode 100644 4 archive/Blkio errors.md delete mode 100644 4 archive/Issues met TC oplossen.md delete mode 100644 4 archive/antagonist_migratie.md create mode 100644 4 archive/blkio-errors.md create mode 100644 4 archive/fix-tc-issues.md create mode 100644 4 archive/infotube.md create mode 100644 4 archive/no-tildes.md create mode 100644 4 archive/spinoza.md (limited to '4 archive') diff --git a/4 archive/Blkio errors.md b/4 archive/Blkio errors.md deleted file mode 100644 index 2b666a3..0000000 --- a/4 archive/Blkio errors.md +++ /dev/null @@ -1,14 +0,0 @@ -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 deleted file mode 100644 index 4ad3bf8..0000000 --- a/4 archive/Issues met TC oplossen.md +++ /dev/null @@ -1,25 +0,0 @@ -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 deleted file mode 100644 index c04a00b..0000000 --- a/4 archive/antagonist_migratie.md +++ /dev/null @@ -1,27 +0,0 @@ -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 - 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/fix-tc-issues.md b/4 archive/fix-tc-issues.md new file mode 100644 index 0000000..4ad3bf8 --- /dev/null +++ b/4 archive/fix-tc-issues.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/infotube.md b/4 archive/infotube.md new file mode 100644 index 0000000..d876c9b --- /dev/null +++ b/4 archive/infotube.md @@ -0,0 +1 @@ +Watching informational YouTube videos where people teach you skills by just giving you distilled information doesn’t really teach you these skills. They can be a great head start but I believe that we must still do all the hard work that they did as well, which well be easier to do thanks to them but should nonetheless be done to achieve true understanding. \ No newline at end of file diff --git a/4 archive/no-tildes.md b/4 archive/no-tildes.md new file mode 100644 index 0000000..a04434e --- /dev/null +++ b/4 archive/no-tildes.md @@ -0,0 +1,3 @@ +Falcone does not show tildes for regex matchers.. to find out if they are truly regexes just hop onto an alertmngr and query using `amtool`. + +#Falcone diff --git a/4 archive/spinoza.md b/4 archive/spinoza.md new file mode 100644 index 0000000..6af7f70 --- /dev/null +++ b/4 archive/spinoza.md @@ -0,0 +1,15 @@ +Filosoof +Vrijheid +Joods +Amsterdam + +Decartes: je kan pas geloven dat iets waar is als je het redelijkerwijs kan aantonen + +Vervloeking door Joodse commune? Bah +Kern idee godsdienst, zonder bovenstaande zaken + +Als je de wereld begrijpt kun je het goede doen voor jezelf en de wereld + +De ethica -> Magnum opus (onleesbaar) + +Ian burema: wat kunnen we nog leren van spinoza \ No newline at end of file -- cgit v1.2.3