B:\datenbrei » OShttp://b4mad.net/datenbrei
Collaborating Individuals - All Knowledge on one FloppyTue, 07 Jul 2015 16:27:00 +0000en-UShourly1http://wordpress.org/?v=4.2.3CentOS7 on Raspberry Pi 2 Model Bhttp://b4mad.net/datenbrei/archives/2015/07/07/centos7-on-raspberry-pi-2-model-b/
http://b4mad.net/datenbrei/archives/2015/07/07/centos7-on-raspberry-pi-2-model-b/#commentsTue, 07 Jul 2015 16:27:00 +0000http://b4mad.net/datenbrei/?p=760So here is a little sightseeing I did last night… I was down in ARMv7 land, looking at a RPI2 (some call it Raspberry Pi 2 Model B). The ultimate goal is to run an OpenShift3 PaaS on a cluster of RPI2. Therefor I would like to install CentOS7 on 3 or 4 RPI2. The first step was pretty straight forward and simple: flash some CentOS image to a SD Card. J described that on the CentOS blog, no need for me to redo that work. Afterwards I disabled all repos but c7buildroot and c7pass1. ARMv7 support is not in the official mirrors, so all the repos that use the mirror script (like /etc/yum.repos.d/CentOS-Base.repo) will fail!

]]>http://b4mad.net/datenbrei/archives/2015/07/07/centos7-on-raspberry-pi-2-model-b/feed/0producing themed PDF using Asciinurse (and she will convert your Asciidoc)http://b4mad.net/datenbrei/archives/2015/06/18/themed-pdf-using-asciinure-and-asciidoc/
http://b4mad.net/datenbrei/archives/2015/06/18/themed-pdf-using-asciinure-and-asciidoc/#commentsThu, 18 Jun 2015 17:00:36 +0000http://b4mad.net/datenbrei/?p=755In preparation of my current work assignment I have revisited Asciinurse and enabled here to produce PDF.

Asciinurse is my take to separate Asciidoctor and all it’s dependencies into a single docker container image. With Version 1.3.0 I have enabled her to produce themed PDF out of your asciidoc files, simply by running docker run --rm -t -i -v $PWD:/data -v /etc/localtime:/etc/localtime b4mad/asciinurse asciidoctor-pdf -a pdf-style=rh-ra -v myfile.asciidoc

Looking at the command line, -a pdf-style will do the magic trick for you, it selects the theme to be applied by asciidoctor-pdf.

]]>http://b4mad.net/datenbrei/archives/2015/06/18/themed-pdf-using-asciinure-and-asciidoc/feed/0RHEL Vagrant base box plus additions!http://b4mad.net/datenbrei/archives/2015/03/16/rhel-vagrant-base-box-plus-additions/
http://b4mad.net/datenbrei/archives/2015/03/16/rhel-vagrant-base-box-plus-additions/#commentsMon, 16 Mar 2015 20:59:09 +0000http://b4mad.net/datenbrei/?p=737These days I have a low bandwidth connection, so each bit I could save saves time! This is especially true for the Vagrant based stuff I do at the moment: I rebuild base boxes from time to time, and I install lots of additional software into that boxes. To save a few bits on the wire I would like to put more software into the Vagrant base box so that it must not be installed in during Vagrant provision phase. Using the vagrant-builder enables us to do that easily. If you take a look around line 214 of the Makefile, you will see that vagrant-builder installes all additional packages listed in the variable PACKAGES. PACKAGES could be configured on line 65 of the Makefile by simply putting something in like “sosreport telnet“. After that, just rebuild your Vagrant base box and save time!
]]>http://b4mad.net/datenbrei/archives/2015/03/16/rhel-vagrant-base-box-plus-additions/feed/0RHEL base box for Vagrant – DIYhttp://b4mad.net/datenbrei/archives/2015/02/24/rhel-base-box-for-vagrant-diy/
http://b4mad.net/datenbrei/archives/2015/02/24/rhel-base-box-for-vagrant-diy/#commentsTue, 24 Feb 2015 21:44:56 +0000http://b4mad.net/datenbrei/?p=733James, you have done very well! Thanks for this very deep and complete article on how to build my ownVagrant base box using Red Hat Enterprise Linux…
]]>http://b4mad.net/datenbrei/archives/2015/02/24/rhel-base-box-for-vagrant-diy/feed/0setting up a Container Clusterhttp://b4mad.net/datenbrei/archives/2015/02/03/setting-up-a-container-cluster/
http://b4mad.net/datenbrei/archives/2015/02/03/setting-up-a-container-cluster/#commentsTue, 03 Feb 2015 19:46:38 +0000http://b4mad.net/datenbrei/?p=724Using docker and flannel it is easy to set up a cluster of docker hosts with automated container interconnectivity. So what will it be?

Docker should be known by everyone: it provides containers on Linux hosts, separating different aspects of the operating system for a set of processes, what these processes are could be described by the docker container format. If you run a set of containers on different hosts, you may want to have network connectivity between these containers. And that is were flannel jumps in by providing an overlay network that connects containers across hosts.

As we love Vagrant I used it for providing some virtual machines running RHEL7 to me, these machine will be docker hosts and networking on these hosts will be managed by flannel. As a dependency etc is installed (and some other stuff). One VM will be the kubernetes master and additional n hosts will be minions.

What I added to this basic installation is a Vagrant powered environment and an automated installation procedure driven by Ansible. What it will be in a few weeks: an infrastructure to install OpenShift Origin 3 on CentOS. This will rapidly set up an development environment for you ;)

]]>http://b4mad.net/datenbrei/archives/2015/02/03/setting-up-a-container-cluster/feed/0after traceroute… now ping from inside a containerhttp://b4mad.net/datenbrei/archives/2015/02/03/ping-from-inside-a-container/
http://b4mad.net/datenbrei/archives/2015/02/03/ping-from-inside-a-container/#commentsTue, 03 Feb 2015 19:01:53 +0000http://b4mad.net/datenbrei/?p=719If you run some RHEL (or CentOS) based container, you may figure that ping is not working as expected from inside the container. You may also try running the container with some additional capabilities enabled.. capabilities? container? What that means, and what you gain security-wise is described in detail in Dan Walsh‘s post on docker security over at opensource.com

As a basic application I will deploy a http pod (based on fedora/apache) and a service replicated onto two hosts. This will fulfil the requirement of a highly available service provided to the end user.

Amazon Web Services (AWS)

Route 53 is AWS’s DNS service. Usage and configuration is straightforward. In addition to the well known resource records of DNS (like A or AAAA), Route 53 is integrated with other AWS services like Elastic Load Balancer.

Where as the Elastic IP is a permanent allocation of an IP address that could be dynamically assigned to a given EC2 instance and used with Route 53, the Elastic Load Balancer provides a permanent allocated IP address that could be reused within Route 53 (as a kind of a virtual DNS RR).

Using only Elastic IP requires to handle load balancing by the DNS system (Route 53), either by manual configuration or by automated processes external to AWS services. If Elastic Load Balancer is used, its integration with Route 53 and handles most of the internals, like health check of the service, reconfiguration of DNS etc.

I have chosen to use Elastic Load Balancer. The assignment of one Elastic IP is only for convenience, so that I have a fixed entry point into my Virtual Private Cloud (VPC as AWS calls it).

AWS Setup

I created three instances on AWS running RHEL Atomic Host. 54.93.167.95 (elastic IP) (internal: 172.31.15.86) is the kubes master and 172.31.8.233 and 172.31.8.18 are two kubes minion.

Using Amazon’s EC2 Management Console I configured a Elastic Load Balancer (ELB) so that Port 80 of the load balancer is forwarded to both AWS EC2 instances (aka the two minions). The Elastic Load Balancer gets an DNS hostname assigned that could be accessed from the outside: web-lb-1600167574.eu-central-1.elb.amazonaws.com. As Elastic Load Balancer is integrated with Route 53, ELB updates the DNS zone used to access our service: both minions will be included in the zone with an A RR and the the ELB will also point to both minions.

minion2 receives request on 80/tcp on public dynamic IP address of EC2 instance

request is forwarded by docker-proxy process to 80/tcp of the pod/docker
container httpd process within the container receives the request and answers it

If one minion goes down or the pod is stopped on one minion, ELB health check (will port 80 answer?) will observe that and will take the EC2 instance out of service.

Summary

AWS provides services to run RHEL Atomic Host and a multi host setup with a kubernetes master and 1 to n minions. In addition to that, EC2 and ELB provide a load balancing service. ELB integration with Route 53 automates the process of DNS configuration on changes within EC2 or Kubernetes.

]]>http://b4mad.net/datenbrei/archives/2014/11/21/routing-traffic-aka-user-requests-from-the-outside-in-to-a-rhel-atomic-host-service/feed/0… been in Google land and found an Atom!http://b4mad.net/datenbrei/archives/2014/10/21/atomic-host-on-gce-2/
http://b4mad.net/datenbrei/archives/2014/10/21/atomic-host-on-gce-2/#commentsTue, 21 Oct 2014 09:47:59 +0000http://b4mad.net/datenbrei/?p=700Hey all,

]]>http://b4mad.net/datenbrei/archives/2014/10/21/atomic-host-on-gce-2/feed/0kubernetes updatehttp://b4mad.net/datenbrei/archives/2014/08/05/kubernetes-update/
http://b4mad.net/datenbrei/archives/2014/08/05/kubernetes-update/#commentsTue, 05 Aug 2014 10:36:50 +0000http://b4mad.net/datenbrei/?p=673With the latest kubernetes version 0.0.11 Colin provided some of the steps that Scott described have changed:

setting command line arguments within the .service files is no longer required: all configuration has been moved to /etc/sysconfig/kubernetes

so copying the .service files is not required, simply link them from /lib/systemd/system to /etc/systemd/system

etcd (on the master)

kubernetes-api-server, kubernetes-controller-manager (on the master)

kubernetes-kubelet, kubernetes-proxy (on the minion)

So what I am aiming for is an environment of two (or three) hosts running a kubernetes orchestrated infrastructure on Fedora Rawhide.

]]>http://b4mad.net/datenbrei/archives/2014/08/05/kubernetes-update/feed/1Debian GNU/Linux updatehttp://b4mad.net/datenbrei/archives/2014/01/25/debian-gnulinux-update/
http://b4mad.net/datenbrei/archives/2014/01/25/debian-gnulinux-update/#commentsSat, 25 Jan 2014 14:26:28 +0000http://b4mad.net/datenbrei/?p=651I guess I am the last one on this planet but it’s done: tiny little server at home updated to Debian 7.3 Just to the records: this short german howto was helpful, the Upgrades from Debian 6.0 chapter and I learned that realtek NICs aint free.

]]>http://b4mad.net/datenbrei/archives/2013/11/13/a-leap-development-environment/feed/0that was a yearhttp://b4mad.net/datenbrei/archives/2013/11/12/that-was-a-year/
http://b4mad.net/datenbrei/archives/2013/11/12/that-was-a-year/#commentsTue, 12 Nov 2013 14:23:35 +0000http://b4mad.net/datenbrei/?p=635… that has just gone by without any post I have finished. I am terribly sorry. So for the next few weeks I have set up on my list:

set up a docker based OpenStack controller, IPv6 only networking, no high availability – this is not going to be production-ready

figure out what LEAP can do for me

keep all of you updated with a few posts per month

Wish me good luck!

]]>http://b4mad.net/datenbrei/archives/2013/11/12/that-was-a-year/feed/0I Joost, my Mac doesnthttp://b4mad.net/datenbrei/archives/2007/10/07/i-joost-my-mac-doesnt/
http://b4mad.net/datenbrei/archives/2007/10/07/i-joost-my-mac-doesnt/#commentsSun, 07 Oct 2007 06:33:15 +0000http://b4mad.net/datenbrei/archives/2007/10/07/i-joost-my-mac-doesnt/I was kind of happy receiving the mail from Joost that my Joost 1.0 Beta is available to me for download. But there is something completly wrong with it! The requirements read something like “Any Intel-based Mac running OS X 10.4″ Whats wrong with you guys? PowerBooks and G5’s may be arround by today…

PS: link to joost homepage intentionally left out

]]>http://b4mad.net/datenbrei/archives/2007/10/07/i-joost-my-mac-doesnt/feed/1there is no reason for mugshothttp://b4mad.net/datenbrei/archives/2007/01/22/there-is-no-reason-for-mugshot/
http://b4mad.net/datenbrei/archives/2007/01/22/there-is-no-reason-for-mugshot/#commentsMon, 22 Jan 2007 21:19:25 +0000http://b4mad.net/datenbrei/archives/2007/01/22/there-is-no-reason-for-mugshot/At least, there is no reason to have mugshot for me. First of all there is no desktop integration for MacOSX, so I don not receive any updates of the stuff going on in my social network. Second, no RSS feed to pick the data up… Third, if they use XMPP why is there no Jabber bot to deliver updates straight into my Jabber client?

So I will check back in half a year, anyway: thanks for the service and for investments made!

]]>http://b4mad.net/datenbrei/archives/2007/01/22/there-is-no-reason-for-mugshot/feed/0AFS server migration errorshttp://b4mad.net/datenbrei/archives/2006/12/30/afs-server-migration-errors/
http://b4mad.net/datenbrei/archives/2006/12/30/afs-server-migration-errors/#commentsSat, 30 Dec 2006 13:15:20 +0000http://b4mad.net/datenbrei/archives/2006/12/30/afs-server-migration-errors/In the last few days I migrated my AFS server onto a new machin. vos move is such a fantastic command… One thing keept me searching thru google for about a day: aklog exited with status 11862791, which simpley means it cant get a afs token from anywhere.

An old mail gave me a clue that this is related to the afs cache manager: This error is KTC_NOCM..

afsd is responsible for providing the cache manager, at least under Debian GNU/Linux. A closer look at /etc/openafs/afs.conf.client revealed that AFS_CLIENT was set to false, which means: dont start afsd on startup.
Setting that to true and restart openafs-client solved the problem.

Hmm, would be nice the head how our top tech heads errrm… Vice President of Technical Strategy and Innovation sees the distribution of the success of Linux within IBM is. IBM Global Services is not leading the Linux business, from my point of view Linux and Open-Source is a key service enabler. IBM managed the make it a Hardware play and is putting all it’s Software ontop Linux. Most of the time the hardware brand is in the lead in projects I do, may be a Germany-only observation.

]]>http://b4mad.net/datenbrei/archives/2006/01/24/ibms-linux-initiative/feed/0Ubuntu Idea: user’s geo location announcementhttp://b4mad.net/datenbrei/archives/2006/01/18/ubuntu-idea-users-geo-location-announcement/
http://b4mad.net/datenbrei/archives/2006/01/18/ubuntu-idea-users-geo-location-announcement/#commentsWed, 18 Jan 2006 11:22:31 +0000http://B4mad.Net/datenbrei/?p=265Last night I drafted a Ubuntu Spec that defines a desktop service for announcing user geo location and also a component for aggregation of this announcements to be displayed on the user’s desktop.
]]>http://b4mad.net/datenbrei/archives/2006/01/18/ubuntu-idea-users-geo-location-announcement/feed/0apt-get gpg key updateshttp://b4mad.net/datenbrei/archives/2006/01/10/apt-get-gpg-key-updates/
http://b4mad.net/datenbrei/archives/2006/01/10/apt-get-gpg-key-updates/#commentsTue, 10 Jan 2006 06:58:16 +0000http://B4mad.Net/datenbrei/?p=262From time to time the GPG keys contained in apt-get expire or need to get renewed. To accomplish this simply use gpg --export 010908312D230C5F -a | apt-key add -
Replace 010908312D230C5F with whatever key id is needed. If the key with key id 010908312D230C5F is not in your gpg keyring you need to import it from a keyserver first: gpg --recv-key 010908312D230C5F

PS: I am really unsure where the information that the keys need to be updated is announced. Maybe there is a feed or mailing list out there??