Author: SUNWfrk

Fedora 29 on my Lenovo 6th gen X1 (X1C6)

Pro’s: Very Powerful Ultra Light Small form factor Good build quality Looks nice Almost* everything works out of the box Con’s: CPU Throttling (which we can fix) only one USB-C port which you must use for charging… A Vendor Specific Dongle port where you could have an extra USB-C port. Fingerprint magnet Fingerprint Sensor does

Split up Ansible playbook using Ansible facts

I wanted to run some actions against Centos and some against debian machines. Offcourse there are many ways to do it. you could also use and then you will also need offcourse: install_packages_yum.yml install_packages_apt.yml

“GPT PMBR size mismatch” when growing LogicalDrive

What I did.. I sequentally hot-swapped two drives that are in a mirror on my HP P420 raid controller. Now to actually use that space you need to grow the logicaldrive. I typed “y” because this was going trough my mind: I’m on Linux.. this will just work, right…. Wrong.. Even after rescanning nothing made

Enable watchdog on Raspberry PI

I’m using Raspbian Linux on 2 Pi’s and I was successful in enabling the hardware watchdog after a lot of failed attempts because of wrong manuals on the net. Edit the Raspbian boot config file to enable the watchdog Add the following somewhere at the end: Reboot your Pi After the reboot install the watchdog

rook-ceph on k8s

DRAFT Add 3 worker nodes with a dedicated block device to use with ceph Install 3 vm’s with a dedicated unused block device -> /dev/vdb Install kubernetes -> https://sunwfrk.com/k8s-on-centos7/ follow step 1 -> 6 follow step 13 -> 18 Install git [root@test-vm1 ~]$ yum install -y git Install rook [root@test-vm1 ~]$ su - k8sadm [k8sadm@test-vm1

k8s Dashboard installation

Deploy the Dashboard install the kubernetes dashboard [k8sadm@test-vm1 ~]$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml secret "kubernetes-dashboard-certs" created serviceaccount "kubernetes-dashboard" created role "kubernetes-dashboard-minimal" created rolebinding "kubernetes-dashboard-minimal" created deployment "kubernetes-dashboard" created service "kubernetes-dashboard" created Deploy heapster to enable container cluster monitoring and performance analysis on your cluster [k8sadm@test-vm1 ~]$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/heapster.yaml serviceaccount "heapster" created deployment "heapster"

k8s master and nodes on RHEL/Centos 7

Configure the master node Preparation Run the following commands to pass bridged IP traffic to iptables chains [root@test-vm1 ~]$ yum update -y [root@test-vm1 ~]$ modprobe br_netfilter [root@test-vm1 ~]$ cat <<EOF > /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF [root@test-vm1 ~]$ sysctl --system 2a) Allow the necessary ports trough the firewall when you’re working in

udev rules for ASM disks

Make sure you have sg3 utils installed. # yum install -y sg3_utils After the LUNs were added to the server run: # rescan-scsi-bus.sh This will generate a lot of output and will tell you if it found new disks. If you’ve received the wwid’s from you SAN administrator you can skip this next stept, if

Syncing a RPM repo for offline use

For example we want to sync the epel repo for offline use If you are on CENTOS 7 you can just type: # yum install epel-release If you are on Red Hat Enterprise Linux 7 add the EPEL repo this way: # wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm # rpm -ivh epel-release-latest-7.noarch.rpm Install the reposync utility which is included

QUAD9 Docker

Hi all, I uploaded my docker image to docker hub. Go and try it out! https://hub.docker.com/r/sunwfrk/quad9