Managing a virtual infrastructure by code makes the daily work of an administrator much easier. Especially when it comes to providing test environments, such as cluster servers, which may need to be often completely torn down and reinstalled. Under Linux, KVM (Kernel Virtual Machine) and libvirt is a standard for
Continue readingCategory: Linux
Quick Start KVM libvirt VMs with Terraform and Ansible – Part 2
In the first part of my Quickstart Guide, I showed how to use Terraform Script to start new VMs or guests under KVM libvirt very flexibly and quickly. Once the virtual machines are up and running, Ansible can be used to configure them and install additional software. Ansible is an
Continue readingQNAP serial console setup with Arduino
Yesterday I had to repair a wildly blinking QNAP NAS TS-212 that could not be accessed via HTTP Web UI or SSH. Also the system rebooted regularly and it was not clear why … Also googling didn’t get me anywhere, except wild speculations in all possible directions. Hmm… in a
Continue readingBasic setup of a Multi Node Apache Kafka/Zookeeper Cluster
Prerequesites Install three nodes with CentOS 7 with at least 20GB Disk, 2 GB RAM and two CPU Cores. Install JDK yum install -y java-1.8.0-openjdkl java-1.8.0-openjdk-devel net-tools Set JAVA_HOME in ~/.bashrc # Set Java-Home export JAVA_HOME=”/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-5.b12.el7_4.x86_64/jre” export PATH=$JAVA_HOME/bin:$PATH Disable SELinux, Firewall and IPv6 systemctl disable firewalld systemctl stop firewalld echo
Continue reading