Brian's Blog
  • Home
  • Author
Subscribe

2018

Brian

Jan 5, 2018 • 1 min read

So it's the new year. Probably going to play with HA mysql stuff

http://www.fromdual.com/making-haproxy-high-available-for-mysql-galera-cluster

https://severalnines.com/resources/tutorials/mysql-load-balancing-haproxy-tutorial

https://lalitvc.wordpress.com/2017/04/30/mysql-high-availability-with-keepalived-and-haproxy/

Sign up for more like this.

Enter your email
Subscribe

Motorola MB8611 Stats

Not the best code but it works. To get all the header info, login while developer tools is open in chrome and then copy the request parameters. Output is consumed by telegraf #!/usr/bin/perl -w use strict; use LWP::Simple; use JSON qw( decode_json encode_json); my $url

Brian Dec 4, 2021 • 2 min read

Kubernetes Goat

Decided to play with this learning exercise using kind (kubernetes in docker) Prereq (docker, helm2, kubectl, kind): Install docker for your distro: https://docs.docker.com/engine/install/ubuntu/ wget https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz curl -LO "https://dl.k8s.io/release/$(curl -L -s https:

Brian Jun 6, 2021 • 1 min read

IPFS Stats

This doesn't serve any real purpose. I just like seeing trends of the tcp/udp connections to the IPFS network. Yes I get lazy at the end with a system call. #!/usr/bin/perl use warnings; use strict; my %peers; my $DEST = "INFLXUDBIP"; my $HOSTNAME = "host-foo"; open(FH, "/usr/local/

Brian Nov 18, 2020 • 1 min read
Brian's Blog © 2023
Powered by Ghost