Asus G50vt – Ubuntu 9.10 Karmic Koala (64-bit)

asus-g50vt-ubuntu-9-10-karmic-koala-64-bit

Hi,
My recent toy (actually 1 year old) is Asus G50vt gaming laptop. It is a perfect choice for people who need high resolutions like 1680×1050, good cpu and graphics adapter with hdmi output and tolerable weight.

Asus G50vt

Asus G50vt

Ubuntu Jaunty Jackalope and Karmic Koala runs perfect on this. Come and see:
Read the rest of this entry »

(Un)Support of Sony Vaio by Sony and Microsoft

unsupport-of-sony-vaio-by-sony-and-microsoft

I have an old Sony Vaio VGN-BX570B. I used it with Ubuntu for many years. The only missing hardware was fingerprint reader and this was definitely not a blocker.
I left this old friend alone when I got my new Asus G50Vt, until now.

Read the rest of this entry »

Why zealots are extremely harmful for Desktop Linux

why-zealots-are-extremely-harmful-for-desktop-linux

Like most other software, there are serious number of zealots who obsessively love Linux. So far ok, the obsession is something personal and does not affect no one directly. However, these people are often considered as good users and most people judge Linux experience by looking at how they use it.

Read the rest of this entry »

Free Software vs. Microsoft in the Cloud of Web Servers

free-software-vs-microsoft-in-the-cloud-of-web-servers

There are some web sites providing reports on web server software usage in the internet. One of the most populer is Netcraft with their infamous web server survey. In this post, I would like to talk more about decisions made by highest traffic sites and countries rather than cumulative results.

I’ve collected the list of the top sites from Alexa. They provide a csv file ordered by ranking. Then I used a tiny script to collect Server header from top 15000 sites. After that, I used libgeo-ipfree-perl package to guess geographic location of sites. The numbers may not be exact but enough to give very strong idea.

Read the rest of this entry »

Torturing candidates, powered by Prometric

torturing-candidates-powered-by-prometric

Prometric is the leading company for testing and certification services. There are many test centers in the world for Prometric. The exam registration is very simple. The process consists of logging in as a candidate and choose appropriate exam/city/test center/date. The problem comes after this.

Read the rest of this entry »

Upgrading to Ubuntu 9.04 Jaunty Jackalope Using a DMRAID Device

upgrading-to-ubuntu-9-04-jaunty-jackalope-using-a-dmraid-device

I am getting older. Once I was jumping in to the hell of alpha packages to use a new distribution. Now I found myself waiting for the Beta at least. Jaunty Jackalope Beta has been announced a fews days ago and it is downloadable for all variants of Ubuntu. Hooraaay, so far..

I am using an Asus G50vt. It is a wonderful laptop with many features. It also includes Intel’s fake raid and I use it to stripe two internal disks.

I upgraded my Intrepid Ibex using “update-manager -d” command, the recommended way from Ubuntu. It oversimplifies the whole distribution upgrade. It activates the propoer repositories, downloads and installs packages, but with a single dirty problem.

The version of dmraid in the Jaunty Jackalope Beta is now rc15-4 and it does not recognize Intel RAIDs. Therefore, initrd is unable to activate the volume. The solution is to download the latest version (currently rc15-6) from Jaunty repositories along with dependencies and install it. Installation will update the initrd image so you do not have to do it. To boot and access the system, you can use the alternate install cd Strangely, it will recognize those volumes but not your own dmraid.

Now you have your volume again..

Using VMWare-Server 1.0.8 on Ubuntu 8.10 Intrepid Ibex

using-vmware-server-1-0-8-on-ubuntu-8-10-intrepid-ibex

I was trying out new VMWare Server 2.0 for some time. It really has some nice features which I really miss. Check here for the list.
However, it has one big nasty problem:

It is totally unusable.

Right. I am not exaggerating. I am not trying to smash it. I wish I could say something better but it is really hard.

Just like everybody complains, this version does not have a management console client. This would not be a problem if the proposed method was working ok. Now, vmware server users have to use web browsers to manage their guests.

During first connection attempt, VMWare tries to install a plugin to your favourite web browser to get the console. The problem is, sometimes it takes a minute to get in to the console. If you are lucky enough, you can click a couple ofthings. If you press ctrl+alt to exit, you may again wait some time.

This is totally unacceptable. I installed the software on 3 different systems and all of them behaved similar. Then I decided to return to 1.0.8.
My systems are running 64-bit Ubuntu Intrepid Ibex 8.10.

Due to the changes in 2.6.27, VMWare Server 1.0.8 does not install by itself. In order to do, followings steps should be taken:

  • Install g++ build-essentials linux-source-2.6.27 linux-headers-2.6.27-11-server ia32-libs inetutils-inetd kernel-package packages
  • Get the patch:
    wget http://www.insecure.ws/warehouse/vmware-update-2.6.27-5.5.7-2.tar.gz
  • Untar the vmware server archive and start the installation with vmware-install.pl. Answer the questions as you like but when it asks to continue with vmware-config.pl, say no
  • Untar the update. Change directory to it, and run runme.pl. It will patch kernel modules and continue with vmware-config.pl
  • If the installation fails after printing “Generating SSL Certificates”, touch /etc/vmware/ssl/rui.key and /etc/vmware/ssl/rui.crt files
  • Installation should finish without an error now. However you will be surprised when you see that you can not login via console, even if you enter correct password
    Intrepid Ibex changed the default password hashing algorithm from md5 to sha512 and PAM clients used by VMWare Server does not use sha512. Open /etc/pam.d/common-passwd and change sha512 in the password line to md5. Do not forget to reset your password to make sure that shadow contains md5, not sha512 hashes.

This should be enough, normall. If the system is 32 bit, it is also possible to use the systems own pam libraries instead of VMWare’s to be able to use sha512 passwords.

I hear some of you saying “Why don’t you just use KVM and say goodbye to all those ?” If you have to share the administration of the system, it is better to use a software that everyone can easily use. It should be admitted that, even there are GUIs for KVM, it is not as easy as VMWare and VMWare makes more people happy using non-critical/non-production systems. (I do not want to be called at Sunday just because that I am the only one who can manage KVM. Yes, I am bad :) )

4 node GFS+IPVSADM cluster with Ubuntu Linux

4-node-gfsipvsadm-cluster-with-ubuntu-linux

Linux and Open Source world has vast array of technologies to fit our needs. In these pages, I will define steps to build 4 node GFS cluster with LVS. Unfortunately there is not much howtos or guides to setup similar environments.

GFS is developed by Redhat and GFS configuration can be most easily done using GUI tools in Redhat Enterprise Linux. However, there are many reasons to deploy a Debian/Ubuntu instead of Redhat. (I will not discuss them here)
This setup has been tested on following hardware:

  • 4x HP Compaq DL380 G5
  • Intel Xeon quad core
  • 16 GB RAM
  • 2 x 146 GB SCSI internal disk
  • 2 x Qlogic HBA
  • 2 x Gigabit Ethernet
  • MSA 2000 with 2x controllers
  • 2x Fibre Switch

Our environment will end up having following features:

  • All servers, running Ubuntu Hardy Heron 8.04 LTS 64-bit edition (Openvz enabled kernel)
  • MSA2000 configured as single RAID6 drive
  • GFS cluster setup with simple config, including quorum device and simple fencing
  • RAID6 drive formatted as LVM volume and shared between 4 nodes using GFS
  • LVS+Heartbeat to setup ip failover for web and mysql services
  • Network interfaces are bonded to provide redundancy
  • Two nodes will run web server and the other two nodes will use mysql
  • (db1, db2, web1, web2)

  • Use OpenVZ for virtualization

Read the rest of this entry »