Archive for the ‘IT-news’ Category

Linux Virtualization – OpenVZ/Proxmox

Wednesday, August 11th, 2010

In times of economical troubles, a small company needs to look for money-saving ideas and use them to take their infrastructure to a less costly setup with the same (or at least nearly) power and possibilities.
For that reason, over the last 2 years we were looking into both energy efficient hardware and virtualization solutions to get the most out of our machines in the datacenter. Every single Ampère costs us a lot of money every month. To save energy, we fitted our backupservers with Western Digital Green Power drives instead of the standard Raid Editions we had before, as we did have to expand the Raid volume anyway.

Another way of reducing the power needs is virtualization some of the separate machines, so the total of our servers could be scaled down a little.
We had a couple of servers used for web- and ftp traffic, which weren’t utilized 100%, not even 25%…
After an inside testing setup with OpenVZ, a container based Linux virtualization solution, we looked into expanding it onto our datacenter installations. The big problem here was the VLAN setup we use in the datacenter, to separate all client networks. Apparently OpenVZ doesn’t really cope well with VLAN’s, or at least there is not that much info about the usage and configuration of setting up containers in separate VLAN’s.
Looking into GUI-possibilities, web based management options for OpenVZ, we stumbled upon Proxmox VE which is an all-in-one distribution, supporting OpenVZ, KVM etc as virtualization options, and which has a nice and full-featured web based management console.

Setting up machines in Proxmox is really easy. You can choose which virtualization environment you want to use (KVM or OpenVZ containers). KVM allows you to run different OS’es next to each other, like Windows servers, BSD etc, while OpenVZ uses the same basic kernel, but allows the containers to be run independently, giving a very low overhead, and maximum performance.
OpenVZ containers are ‘template based’, and Proxmox has a list of already defined and downloadable templates like Debian 4, 5 and 6, Ubuntu 8.04, their own Proxmox email security suite (I think you need a license for this), but also predefined WordPress, Drupal, Zenoss monitoring, Joomla, Mediawiki, …
You can download the ones you need or want to deploy, and a couple of minutes later, the template is ready to be used (depending on your internet connection speed, off course)
Once you have one or more templates, defining a container’ed machine is easy as hell: Create a new ‘machine’, choose OpenVZ as the type, select the template, define a root password for accessing the machine, and select network, disk space etc… When clicking the create button, Proxmox will set up your environment, which will be ready for use in minutes.

VLAN integration with the Proxmox web console is really easy: all you need to do is define extra interfaces as ethx.yyyy where x is the ethernet interface number, and yyyy is your VLAN ID.
Once those were all set, we could define a container, and assign a vmbr bridged network connection to it, which holds the VLAN tag info.

We migrated 4 ftp and webservers in a matter of hours instead of days. Most of the time went into syncing the data between the old and the new machines.

An extra option in Proxmox is defining separate storage possibilities, for example local storage, iSCSI, NFS, … for (automated) backup and snapshot storage…

Proxmox hosts can be ‘joined’ into a cluster, so you can migrate containers between hosts, without downtime, interruption, big troubles or manual intervention. That way you can move machines needing more memory, or migrate to heavier hardware, perform hardware maintenance and have the most important machine run on a backup host server, without the long-time interruptions, and stress accompanied with such a migration or maintenance.

Proxmox is, for Linux virtualization, my favorite now, far above any other solution we have been using in the past.

Arkeia free Enterprise Backup solution for Ubuntu

Monday, November 16th, 2009

According to this page found through this article Arkeia is providing a free license for their Enterprise grade Backup solution Arkeia Network Backup version 8.

The license includes 2 agent licenses for Windows, Mac OSX/BSD and Linux machines and the server software is included in the Ubuntu 8.04 repositories.

I’ll install it on my server for sure!!

Astaro Essential Firewall

Monday, November 16th, 2009

Astaro introduces an Essential Firewall Edition of the Astaro Security Gateway software firewall solution, which helps smaller businesses to secure their network, without having to pay lots of money.

As far as the news bulletin describes, the Essential version includes the normal networking stuff, including QoS, DNS Proxy, Statefull Packet Inspection, DHCP Server & Relay, and PPTP/L2TP vpn connectivity.

The software is available as an installation iso image, and a VMWare package.

The last one I will test this evening or tomorrow, so I can give you a detailed overview of the possibilities etc…

More info here.

Android 1.6 update?

Saturday, October 3rd, 2009

OK, I admit, I haven’t been following the latest news about the Android developments…
All of a sudden, about 10 minutes ago, I noticed a ‘system update’ message on my T-Mobile G1 phone (none-dev one)…
It looks like it’s fixing a couple of issues surrounding reboots when dialing 911 (Not needed in Europe, so not important).
It also marked that Google Maps Voice search is already here? OK, I don’t use (or didn’t until now) the voice search capabilities on my phone, but this definitely is something nice :D
Also, an updated Market will be a great change, but will have to check that and see what exactly has been changed…
More info about the Market Update can be found here.

The update took about 5 minutes, the reboot following was more painful… It took about 10 minutes to reboot my phone, but I guess a lot of underlying updating of databases and such will be the cause of that…
More news to come when I figure out all the nice new things, if I find them ;)

Update:
Not only the Market is updated, but the new 1.6 version gives Android basic VPN connectivity: PPTP, L2TP and L2TP/IPSec connections both on PSK and certificate base.

Now, one minor issue I need to report: since the update, my Edge/GPRS connection isn’t working at regular intervals… mostly exactly when I need it to be there…
Also my Wifi connection isn’t autoconnection that easily anymore… It is connecting, but I really often need to do it myself again…

I’m keeping an eye on it, and will test the VPN possibilities, but it looks very promising…

More info on the changes can be found here.

update2:
The GPRS/Edge issue is getting worse…
I’m actually even thinking of rolling back the update, that is: reinstalling with the original Firmware, doing the update to RC29, to RC30, to RC33 and then to 1.5 until it asks me to update again to 1.6…
This morning even the normal GSM connecting hang… I wasn’t able to receive calls, and when I tried to dial myself, the whole phone just hang, no response whatsoever. I needed to take out the battery and do a complete restart…
I’ll be looking for others this evening that have similar issues with the update to 1.6

In fact, it looks like Google/T-Mobile released the update a bit too soon… if you look at all the news around the 1.6 update… no one knew it was coming and several programs have issues because they weren’t ready for 1.6 yet… let’s hope Google/T-Mo sends out a fix real soon…

Super Storage – The Backblaze Pod

Friday, September 4th, 2009

Check the blog entry from backblaze. They decided to design their own storage machines which are far less expensive, compared to commercial available material.

This super massive machine looks very appealing to me.
They use a SATA multiplier backplane, which can host 5 SATA drives on a single SATA port.
I’m going to look for the materials, and try to build a 15 drive (strating with cheap 40 or 60GB drives for testing) machine myself…
Combine that with FreeNas and its ability to do iSCSI and NFS, and it would make a perfect VMWare/Citrix storage backend, no?

VMWare Server 2 on Windows 2003R2 rolling back

Friday, January 23rd, 2009

I had an annoying error:

VMware Server — Error 1718. File C:\WINDOWS\Installer\33f11.msi was rejected by digital signature policy.

when installing VMWare Server 2.0.0 on Windows 2003R2 Server with all the normal updates.

Googling around, I found this document describing a patch, available here
After a reboot, it worked without any errors…
Problem solved!

FreeNAS as a backup server

Sunday, December 7th, 2008

I recently had a big issue with my backup machine, on which I had a couple of disks mounted, and where I copied some important data to, once in a while, as a sort-of-backup strategy.

Off course, the one disk holding the most important data died, and I didn’t notice fast enough… And when the shit hits the fan, Murphy decided to crash my MS Exchange setup and database on my testing machine, which held _all_ my mails from the past 8 years… (very important things, config backups, license keys, important addresses, passwords, …) I realised: now is _the_time_ to get a decent backup strategy set up.

I already had a small 2U rackmountable box which I got from a former colleague and that could hold 5 normal 3,5″ disks. I had 3 Western Digital Raid Edition 250GB SATA-II disks in the old ‘backup server’ that could be wiped after some copying, and an Athlon XP 2600+ without any SATA on board. I plugged in 2 SiS PCI 2 port SATA cards and ordered a fourth WD RE 250GB disk at work.

Looking for a decent setup, easy to use, easy to backup and stable enough to count on, I started checking google, and almost instantly got the FreeNAS website as one of the best results. Decent background, FreeBSD based, good hardware support, easy to manage Software Raid setups and loooots of protocols for file transfer. I downloaded a LiveCD and gave it a try. At the first sight, I was overwelmed… NFS, SMB/CIFS, FTP, SSH, AFP, Rsync, and even iSCSI Target were among the list of supported services. Software Raid was easy and fast, and the hardware support was very good.
I started building a system around the old AMD Athlon XP 2600+ I still had lying around, and as AMD’s are pretty power-friendly, I thought this was the best solution to start with. I hooked up an IDE-CF adapter, put in an old 128MB CF Kingston card and installed the live CD onto this card. I started defining a Raid 5 volume on UFS, giving me a total of 715426MB of storage, around 700GB which was more than I need as a backup server. When finalizing the Raid setup, I was asked the option to Initialize And Format the Raid ‘device’, and I said ‘hell yeah!, go for it. make it even faster to start’

The initialization started, but for some reason, it always stopped working after a couple of minutes/hours, and the system just froze up. Nothing to check, nothing to see. Keyboard and screen just locked, No info… Giving the machine a simple Reset didn’t do anything: the Raid volume began Checking and Verification, and after about half an hour, freeze was there again.

At a local computer fair, I acquired a new Nvidia nForce-with-geforce-onboard mbo, and a new LE2xxx series AMD cpu, the total package costing me no more than €60. The board has the needed 4 SATA-II ports, so this one looked to be the perfect match.

Once the board was set in to the case, the CPU installed, heatsink clicked on, Ram and disks installed in place, I got the system installing into this new hardware setup. No network card was found, so I had to put in a PCI Realtek 8139 based card to enable the network connection. A restart later I was able to finish the Disk and Raid setup.
After clicking the ‘Initialize Raid Volume’ again, same things happened: system froze up after a while, nothing to be done… No access at all. A simple Reset didn’t help either. It just took 20 minutes and the system locked up again.

I was panicing now. I had the system up and running on a single disk before, no problems. I checked all four disks, no issues. I checked the power supply (450W should be enough, PSU was brand new), nothing there either. I checked the CF card, and replaced it twice. No change… What now?

I completely started over, as there is still no data on it I cannot miss. A full reinstall, reconfig, although this time, I didn’t set the mark for the automatic ‘Create and Initialize RAID’. I let the Raid array build itself, verify and waited until I got the Completed message (which took about a night… 700GB is a lot of diskspace to be verified and initialised). After that, I did the last steps: mounting and exporting the Raid volume through NFS and SMB/Cifs. It looked as if it worked without any error.

The machine had been running for two days since, and no lock ups, no errors.
I started putting in backup schedules (an rsync batch job scheduled through cron from 2 servers holding important data, and an ntbackup job backing up the recovered Exchange database and Active Directory info needed to restore all email stuff if Murphy would strike me again…) and let it run for a few nights, and that too looked pretty good.

As the newly bought mbo/cpu could come in more handy for another machine, I decided to replace this combo with the originally chosen hardware. I labelled the disks and SATA connection cables 1-4, and set them in what I thought would be the right order on the PCI SATA cards. The disk id’s chowed ad4-ad6-ad8-ad10 instead of what used to be (on the new nForce mbo with onboard SATA-II) ad4-ad5-ad6-ad7 and I noticed I switched disk 3 and 4 because of the cable for number 4 wasn’t long enough to reach the card. However, the Raid volume came back up after completing the boot, and even better: all testing data was still there and available. I guess FreeNAS built in some disk-id recognition into its Software Raid setup and config. The system was up and running in 5 minutes, without the need of a complete reconfiguration. How sweet!!!

Now, let’s see if this hardware keeps up, so I can use the newly bought AMD board for some other stuff.
Backups are set, in place and running. Let’s hope I don’t need them very soon!!!

MythTV 0.22 coming – overview

Tuesday, November 18th, 2008

I read a post on digg this afternoon about the upcoming changes that MythTV 0.22 will bring us…

The Gunaxin website has a post about New MythTV Interface Preview which does exactly what the title says: (P)review the new MythTV interface in the upcoming version 0.22.

I will check on the other changes and upcoming improvements during the next few days. A timeframe for the release of 0.22 isn’t set yet, but the MythTV wiki page has a Roadmap page which will inform you as soon as progress has been made.

Because of the new use of QT4 to run the MythTV frontend, it’s now possible to run the MythTV Frontend on the Nokia Internet Tablet, running OS2008. More info: here.

New server!!!

Monday, September 29th, 2008

A couple of months ago, I acquired through kapaza, 3 1U P4 capable Tyan barebone servers, which had some issues booting and running their gigabit network in windows. I spent € 50 each and jumped into resolving the issues. The two GS12 and the extra GS10 machines all take P4 s478 processors, of which I still had 2 laying around. The three servers all take standard DDR memory, the GS12 takes 4 bars, the GS10 takes only 2, respectively going to a maximum of 4GB and 2GB.

The cpu I had laying around went from one machine to the other, and it seemed the two GS12′s booted fine with it. Running an Ubuntu Server 7.10 on them, doing some networking stress-tests, made clear that it must have been a windows/driver issue, as the network cards both (both machines have 2 gigabit nic’s on-board) transported over 20GB back and forth overnight, without any error or dropped packet… Trying to get the machine’s to run windows and have networking enabled, proved to be some more problematic, but with some ‘standard’ intel drivers I managed to get it to work, with the occasionally needed reboot once in a while…

The GS10 seemed really dead, and trying to get it to live didn’t help. The LED stayed red when powering up… so I guess something BIOS-wyse went wrong… I instantly gave up on the GS10 and focused on getting the most out of the GS12′s.
I bought a Pentium 4 3.0GHz with HyperThreading on a 800MHz bus, and a couple of 1GB DDR Dimm’s, which I put in one machine. A 2 port SATA ‘software raid’ controller using a Silicon Image controller chip went in it too, hooking up 2 160GB drives (I prefer Western Digital Raid Edition) in a software Mirror setup (md0) were configured and the newest released Ubuntu 8.04 Server with the Long Term Support was installed on it.

After a few trials to export-import the debian database, which I will clear out later, but all databases were started and mysql was running! A couple of tests later, all my websites were up! Mission completed (99% that is, still need some solution for the debian system database), and the old P3 machine can finally retire, after having run for over 2 years now. Let’s hope the newly started P4 machine runs a little longer.

By the way, the second GS12 was sold this evening. I packed a 2.4GHz P4 FSB 800MHz with 512kb cache in it, put 4 256MB dimm’s in it, and added a 80GB IDE disk. The guy wanted a testing router/server/all-in-one machine that doesn’t take too much space. This machine was now sold for € 295, so all my costs of both the machines were nicely covered. That means, the machine that is serving you this page, didn’t actually cost me a single cent. I did a nice job, no?

KnoppMyth R5.5 finally released

Thursday, July 17th, 2008

The long awaited release R5.5 of KnoppMyth has undergone a lot of testing, and bug-squashing.
The KM team wanted to release a ready-to-install working distro, instead of going with a “it’ll probably work for you too” kind of system, which I think is really cool, looking at what other OS makers do (remember the Microsoft Windows XP and Windows Vista releases?)

KnoppMyth is available for download here.

As it not only includes lot of new hardware support, newer kernel, newer packages, the major change is off course the newest release of MythTV itself, the stuff you get to work with and the software that gives you the super-great-fantastic Media Center Experience ;)
The possibility to use Storage Groups, the Multirec functionality,  and lots more are included.
For a complete list of all MythTV changes in the 0.21 version which is included in KnoppMyth R5.5, you can check this Release Notes 0.21 page.

I will be upgrading my setup soon, as I’m awaiting a bigger harddrive and a decent Raid Controller to put in my storage server which holds all my music, picture and video files… When that is installed and the data is copied onto the RAID5 volume, I’ll upgrade my MythTV backend server and both the frontends (the amd box in my living room and the AppleTV in the bedroom). A nice new projector for the living room is the next step. Thinking of buying the new Benq W500. It’s cheap and does 720p/1080i so that’s a good one for me ;)