1. How to Determine Which Process Causes IO ?

    Sun 22 November 2009

    There is a nifty little program called 'iotop'. Iotop is part of Debian or Ubuntu and can be installed with a simple apt-get.

    Once you have determined with 'top' that the system is waiting on IO-access, It is nice to know

    which process is responsibe for this IO. Therefore, you want a list of processes, just like top provides, but instead of CPU or RAM usage, it shows the IO a process is generating. This is exactly what 'iotop' provides.

    This is ideal when troubleshooting performance problems caused by heavy IO.

    http://guichaz.free.fr/iotop/

    iotop

    Tagged as : Uncategorized
  2. Debian Linux Preseeding - an Installation Framework

    Wed 11 November 2009

    Look Ma!

    No hands!

    just watching a system PXE-boot and install itself into a fully operational system is fun. PXE boot and preseeding is not enough however to accomplish this.

    By itself, preseeding only installs a basic operating system. Next, you need to configure all sorts of things and services, install additional software, create accounts. etc.

    So there is a whole post-install process that you also need to automate. Preseeding by itself, as I understand it, does not seem to be able to do that for you. But you can execute commands at the end of the installation.

    First, I'd like to point out that the alternative to Debian preseeding is, in my opinion, FAI or Fully Automated Installation. I want to make clear that this is a product with a long history that may better suit your needs. I do not use FAI because I find it way to complicated. It seems very powerful to me, but I don't understand it.

    I understand preseeding and shell scripts. Putting commands that I would otherwise execute manually are now performed by some shell script. And I think every administrator understands shell scripts and will be able to automate installation with almost no effort by just executing a bunch of shell scripts that install various additional components.

    I wrote a small installation 'framework' that can be used in conjunction with preseeding to truly fully automate your installation, without the requirement of learning complex stuff like FAI.

    Unfortunately, it is not available yet on-line, but as soon as I find the time, a new project will be started and this small installation framework will be available with some example preseed configuration.

    In day-to-day operations I use this script to install servers and laptops. Once you see it you will like it.

    Tagged as : Uncategorized

Page 12 / 23