My homelab

Introduction I use my homelab as a mix of learning new stuff and also because its my hobby to tinker with servers, software and to program stuff. I use mostly exclusively SuperMicro motherboards and a mix of SuperMicro cases and other brands of cases. My homelab started many years ago in 2001 with a Sun Fire V100 1U server. It ran under my desk making an awful noise and served my website at that time, plus an archive of a mailing list that I was reading.
Read More…

Dell Wyse 5070 bought and so what?

I don’t like to spend money I don’t have to spend, but sometimes I just can’t help it. I have wanted to “upgrade” my home lab for a while. Right now my homelab is running a bunch of machines, and for a very long time I have wanted to set up a proper cluster of some sort, that can run my “machines” that I use for many different purposes. At one point I bought three HP Gen8 Servers with celerons, but I never got around to using them simply because I thought they were too BIG for too little power.
Read More…

Integrating HUGO into TFS Azure DevOps

My blog is being built by HUGO. Up until today - I have made my markup files and then manually run hugo - and then copied the files to my fileserver in the DMZ zone of my network. Being lazy I wanted to look into how I could make this more automatic. So my goals were: Open visual studio Add a new .md file commit & push to my git repository Get a build triggered automatically that built and pushed to my file server So I started by openening visual studio and open my folder where I had the blog located.
Read More…

TFS Azure DevOps 2020 Configuration BUG

I have a TFS Azure DevOps Express server running at home - last night I updated it to latest version, since I wanted to start developing some .NET 6 application and I thought it was best to run the latest version of the build server. When I logged onto my computer today I saw a bunch of mails in my inbox, where the Azure Devops service had sent me information about transaction log backups being successful - one email every 15 minutes.
Read More…

CentOS 7 & 8 migration to Rocky Linux 8.5

I have used CentOS 7 for a while on my local servers at home and when CentOS 8 came out I started installing that as a replacement. When Redhat announced that they would change CentOS into something else not as stable, I started considering going to Debian or Ubuntu. Luckily Rocky Linux came to the rescue, so I have made this little migration guide for myself, so I can remember how to migrate either a CentOS 7 or 8 installation to Rocky Linux 8.
Read More…

Kafka cluster installation

We use kafka at work and I wanted a home cluster so I could try out stuff and learn more about kafka. To make it easier to mess up everything I have made a script that can automate the installation of the cluster for my needs. Prequisites: Create 4 VM’s with 4 CPU 8GB RAM 16GB Disk 100GB Disk Install debian on all of them - and make sure that the 16GB disk shows up as /dev/sda, since the script needs to use the 100GB disk as the root of the kafka installation.
Read More…

Upgrading Powerdns-admin

Suddenly my powerdns admin installation stopped working, probably because of system upgrades - so I decided to fix it by upgrading to latest version of powerdns-admin. This is a guide for myself. First some dependencies needs to be installed sudo apt-get update sudo apt-get install pip sudo apt install python3.8-venv Then we take a backup of the existing installation, so we have it for reference and to retain the old configuration in an easy way.
Read More…

ProcessStartInfo.RedirectStandardOutput WARNING

Building code that executes a program and redirects the standard output and standard error seems like an easy task when you have access to .NET. At first glance it is as simple as: var startInfo = new ProcessStartInfo("C:\\Windows\\System32\\diskperf.exe","/?") { RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false }; using (var process = Process.Start(startInfo)) { if (process.WaitForExit(100)) { Console.WriteLine(process.StandardOutput.ReadToEnd()); } } Which seems like the appropriate way of doing this, execute process, wait for it to finish and then read the output.
Read More…

vSphere 6.7 iSER setup with Mellanox ConnectX-3

I wanted to see if enabling iSER for my ESXi servers would improve the performance of iSCSI, since RDMA should offload a lot of cpu cycles. Unfortunately it is not just a matter of checking a checkbox in ESXi to get it enabled and working, and even if you do all the required steps - it might just not work anyway. For my Melanox ConnectX-3 (non pro) I had to this on my ESXiinstallation(s)
Read More…