March 19, 2015

ZFS on Linux vs. LSI CacheCade: quick sysbench

Quick shot on one of our servers (2 x E5-2667 v2 @ 3.30GHz, 256GB RAM, 6 x HGST HUS156060VLS600 15K SAS drives, 2 x mirrored 80GB Intel DC S3500 as cache for both tests) Disk access is done using a BBU backed LSI is a LSI MegaRAID SAS 9271-4i utilizing both SSDs at RAID1 as R/W cache and a IBM ServeRAID M1015 cross flashed to LSI 9211-8i in IT mode for the ZFS tests. Read more

February 26, 2015

Proxmox differential backup

I’m shure i don’t need to telly you why differential backups are great. If so, Kamil TrzciƄski (the original author) does! We are using this for quite some time now and had no issues except more disk space ;) I’ve wrapped things up on Github (I’m not sure that my private webserver last’s forever, but Github probably does)

January 13, 2015

lock/unlock screen using nfc tag and nfc-eventd

UPDATE 2020-04-03 Updating for Ubuntu Focal Fossa 20.04 Instead of having 2 factor auth like in my last blog post, i’d like to lock my screen when leaving the workstation (and take my tag) and unlock when i’m back. compile and install Checkout source code and create a debian package for further automated distribution. docker run --rm -it -v /tmp/:/host --tmpfs /buildroot:exec -w /buildroot ubuntu:focal bash apt-get update apt-get install dpkg-dev git-core libnfc-dev autoconf libtool pkg-config debhelper libdbus-1-dev libdbus-glib-1-dev -y git clone --depth 1 https://github.com/nfc-tools/nfc-eventd Now we need to adjust some requirements for libraries if we’re using Ubuntu as the debian control file requires libnfc2 (>= 1.5.0) which is not present in Ubuntu. Instead it’s called libnfc5. Read more

January 9, 2015

Ubuntu/Debian 2 factor authentication using nfc

At work, we are currently testing 2 factor authentication for desktops/workstations. As we are already using some nfc based cards, we want to use them. Some quick research brought up pam_nfc which utilizes libnfc. So we bought an ACR122U reader which is supported by libnfc compile and install Checkout source code and create a debian package for further automated distribution (e.g. Puppet,…) svn checkout http://nfc-tools.googlecode.com/svn/trunk/ nfc-tools-read-only Now we need to adjust some requirements for libraries if we’re using Ubuntu as the debian control file requires libnfc2 (>= 1.5.0) which is not present in Ubuntu. Instead it’s called libnfc5 (1.7.0-3 atm in trusty) Read more

February 4, 2014

Proxmox Cluster Reverse Proxy with Spice support

Having a cluster of Proxmox nodes is just fine, but for some reasons (unified web+api access, signed certificates) we want to have a reverse proxy in front of our cluster members. We’re using Apache2 as HTTPS load balancer and HAProxy as TCP load balancer for Spice/VNC sessions. Basic Proxmox Reverse Proxy config can be found at James Coyle’s blog including hints how to setup Apache2. To cover a cluster of multiple nodes, you need to add the balancer section. Read more