Zimbra migration thanks to Xen

zimbra.png
After the comments from Kevin H about Zimbra to one of my last postings I thought I had better take another look at Zimbra. The last time I downloaded and played with Zimbra was when it was in Beta. It has changed significantly since then and now provides packages for OpenSUSE 10 which is really good to see.

The last time I tried Zimbra I was not too happy to see it installed its own versions of services like MySQL and Postfix. I started a thread on the Zimbra forum back then and it sparked a bit of debate. Unfortunately Zimbra 3.0 still assumes the install system is only going to be running Zimbra which makes it difficult to install on a system already running most of these services. Although I specified different ports to avoid conflicts my test install did not work at all very well and to top it off it managed to break the existing OpenLDAP installation (something to do with missing shared libraries).

Server upgrade to OpenSUSE 10

suse.gif
With Emma away on holiday I took the opportunity to update my server to OpenSUSE 10 (from SUSE 9.2). I did a fresh install rather than an upgrade and it all went relatively smoothly. In the process I have moved from a software RAID setup to LVM as it provides a lot more flexibility and the option later to play around with Xen if I want.
In the future I am planning on migrating from Hula to Scalix or Zimbra (at this point I am hovering towards Scalix).

Here's a rundown of what is running on the server:

Building an rpm tid-bit...

I was just trying to build a freepops rpm for OpenSUSE and it kept on terminating prematurely with an error about unpackaged files. It turns out this is a new feature of rpm that many older spec files do not take into account. To get around this add the following line to any older spec files to ignore the error and continue with the build process.

%define _unpackaged_files_terminate_build 0

Expose' is coming to a Linux desktop near you

Novell recently released a developer testing version of their XGL extensions for the X-Server. This is good news as it finally paves the way for a Linux equivlalent of Expose for OSX. Expose is the best addition to OSX and is something I have become totally accustomed to (I have my hotspot in the bottom right corner of the screen). Whenever I sit in front of a non-Expose equipped desktop (Windows/Linux) I often find myself gestering to the bottom corner with my mouse only to find nothing happens. With Novell putting their weight behind this initiative it has finally paved the way for what many consider as 'eye candy' (and what I consider as an essential piece of functionality). If you are running the Beta of OpenSUSE 10.1 there is some relatively simple install instructions for the XGL extensions available on the Wiki.

Backups, the bane of computers

After having my fair share of backup dilemmas and stress Tim Bray's post at least gives hope that I am not alone. It is strange that there really are not that many decent backup products considering how simple the task really is.

The most effective backup system I have used is the one I wrote myself for Linux servers. It is simple, flexible, non-proprietary and most importantly it seems to work without hassle. It comprises of a bash script and some configuration files.

The bash script compresses gzipped tar archives onto a removable hard drive. In most cases I use two removeable drives for redundancy. Typically all user data is stored in the /home directory with a few special directories: media (music/movies), temp and data shared amoungst the users. The /home/data directory holds most of the office data and as such the backup script breaks archiving of this data into smaller pieces in order to facilitate easier restoration.
The backup script stores multiple backups on disk to ensure that a corrupted backup does not lead to significant loss of data. The backup usually runs every night with the removable disks swapped during the day. On completion (or failure) of a backup an automated email is sent out to interested parties.

Brilliant little Linux template helper

InstaLinux makes it easy to create a template iso for your favourite installation. If you are planning on installing multiple copies of a Linux distribution using the same settings this little tool steps you through the process of selecting default packages, partitioning, update strategies and default user details. I have not yet tried downloading an iso an using it for real but the end result is hopefully as painless as the website's functionality. Supported distributions are various versions of SUSE, Fedora, Debian and Ubuntu.
A great resource and well worth checking out.

Linux software RAID housekeeping

I performed some operating system maintanence this morning with the resizing and recreation of a few software RAID disks. It did result in some downtime whilst the mirrors were rebuilt but it was only for 30 minutes which is not bad. Overall the operation went pretty smoothly and I found the following two references very useful:

Samba 4 Technology Preview released

Samba
A Technology Preview of Samba 4 was recently released. The primary new feature is comprehensive Active Directory support. At the moment Samba 3 is capable of joining an Active Directory domain but it cannot function as an Active Directory controller of any sort.

Nice additions to Samba 4 is a built-in LDAP back-end and Kerberos encryption that is compatible with Microsoft's version. Linux Format has an interview with Jeremy Alison, a Samba developer. He talks about the long development process that has taken place and is still to come. The Technology Preview includes a good deal of the AD server functionality but still lacks printer and security features, plus the back-end LDAP structures are in flux. Still it is pretty exciting, maybe OpenSUSE 11 will feature Samba 4....

Setting up an Oki C5400 in CUPS

Oki C5400

Officially the Oki C5400 is not supported in CUPS. Fortunately thanks to Ewan McNabb I was able to set one up on a Linux server today. Oki provides a PPD file for download from their site but the HP LaserJet 4 driver works for testing purposes. Printing can be done through CUPS using IPP (ipp://printerip/ipp) and Windows clients can send data to the CUPS/Samba using Adobe's universal postscript printer driver.

Another 'completing a SUSE' install article

suse.gif

SUSE 10 installs great on most hardware (now even laptops) but anyone with any experience with it (or Linux in general really) will know that most wireless cards and DVD movie playback do not often work 'out of the box' due to driver and license issues. Rob Reilly from LinuxPlanet has a good article describing how he completed his 64bit laptop installation by setting up his wireless card and DVD playback software.

Pages