FTP server on IIS

I recently had cause to set up an FTP server for internal use on a Windows server, and I bumped into an issue that took me a little while to figure out, since I had never done it before: I wanted to give a domain user account an isolated directory, and started out by creating… Continue reading FTP server on IIS

Test whether a git pull is needed from within a batch script

Just a quick hack I did to avoid having to sync a couple of scripts unnecessarily when deploying my load balancers. Underlying idea stolen from a post by Neil Mayhew on Stackoverflow. Shell session script: #!/bin/bash UPSTREAM=${1:-‘@{u}’} LOCAL=$(git rev-parse @) REMOTE=$(git rev-parse “$UPSTREAM”) BASE=$(git merge-base @ “$UPSTREAM”) if [ $LOCAL = $REMOTE ]; then GIT_STATUS=nochange… Continue reading Test whether a git pull is needed from within a batch script

Environment variables for services in a systemd-based system

My current config deployment automation project has required me to set up a dev/staging environment for my load balancers, since I don’t want to break stuff by deploying untested configurations. This environment is functionally identical to a single load balancer and can be used along with a hosts file on a client to not only… Continue reading Environment variables for services in a systemd-based system

Continuous Deployment of Load Balancer Configurations

I thought I’d describe some optimizations I’ve made to my load balancers at work, both for the good of the older me, and in case someone would benefit from some of my ideas. Background The load balancers are based on four software packages that integrate to create a powerful whole: Keepalive Daemon provides a common… Continue reading Continuous Deployment of Load Balancer Configurations

Exchange – another lesson learned

This is why we test things before going live: After migrating a test box from the old Exchange environment, it could receive mail just fine, and sending mail out of the organization worked flawlessly too. Unfortunately any mail sent from this account to recipients within the old Exchange environment got stuck in the mail queue.… Continue reading Exchange – another lesson learned