Introducing The TeraQube!
With a 500GB sata harddrive, this old Cobalt machine is not quite a terabite
of storage, but is capable of it! Either by adding another 500GB sata
drive or by replacing it with a terabite disk.
Built as a proof of concept and as a testbed for the new Strongbolt2
installer, this Cobalt Qube has all of the features that have been requested
- modded the the maximum and running an 'enterprise' kernel.
Whilst developing Strongbolt2, I worked for a long time testing the software
on a Cobalt Qube. This was mainly because it was very portable and quiet
(if you are careful you can run these without a noisy fan).
Strongbolt2 is a complete re-write of the Strongbolt installer for Cobalt
hardware.
The TeraQube has the following features:-
The Cobalt ROM has always been seen as a limitation of the hardware.
It has prevented the ease of install of other OSes, as the installation
has traditionally been a tricky network based affair. This has disuaded
OS vendors from providing a specific installer for this hardware and until
Strongbolt was avaiable, Cobalt hardware was restricted to the Cobalt
installer. However, there is many useful features that have been overlooked.
The ability to change settings in the CMOS from the booted OS means that
you can change the boot method of the system from a fully booted machine.
A simple command like "cmos -c defboot hda1" will set the Cobalt
to boot from hda1 the next time the system boots up. This is not an easy
thing to do on most whitebox machines. We have exploited this feature
in Strongbolt2 to easily set the server to reboot to the install medium.
In short, if you have the Strongbolt2 USB key permenantly placed in the
USB port, and need to re-install, you simply set the machine to boot from
sda1 and reboot.
The 2.6.23 ROM is a massive update to the Cobalt hardware. This highly
tweaked, modded and specialist ROM includes a micro kernel that has been
developed specifically for the hardware and Cobalt specific features.
Every single kernel option has been included to provide the functionally
required to run a modern Linux distro. Whilst still retaining the original
kernel network boot options, the ROM kernel is USB and SATA aware (only
sata_sil cards work). This means that the system will boot from USB and
SATA drives. The kernle has been modified to wait for USB devices to settle
whilst booting - making them avaiable to read in to read from them during
the boot process.
Installing the TeraQube is simple. Using the LCD controls or a serial
connection, the system was set to boot from sda1. The 2.6.23 ROM then
starts booting. After detecting the USB disk, the system reads the sbinit
kernel from the USB drive. This loads a new kernel, executes our modified
version of Anaconda and proceeds to install the system as defined in the
Strongbolt2 install kickstart file. This is all completely automatic,
and no user interaction is required. After the system files have been
installed the post-installation scripts set the server to boot from the
system disk and reboots! All of this is networkless and hassle free! The
newly installed system is then easily networked via setting IP address,
netmask and gateway options using the LCD control panel. What could be
easier!
Anaconda has replaced the Strongbolt install script. This is because
Anaconda is better able to deal with some of the more complicated parts
of the install procedure. This also makes maintenance of the system easier.
Anaconda is also better suited to doing a system update. Remote system updates
are made possible through keeping an up-todate USB key image on a USB
key permenantly plugged into the server.
SBinit (Strongbolt init) is a replacement for the kernel code used to
perform the "Leap of Faith" part of the boot sequence. After
the ROM kernel has started, it reads the kernel options in the configuration
file and boots the seconda stage kernel. SBinit removes the restrictions
of having to run a specialist bzipped kernel. It also removes the size
restrictions (1.6MB) of the second stage kernel. This has facilitated
the ability to run a modified enterprise type kernel similar to one shipped
with CentOS.
The USB install method provides the capability to remotely re-install the
operating system in a few keystrokes. After backing up the files that are
essential for networking, the remote reinstall will set the system to boot from
the USB device, then run through the anaconda installer. After the system has run
the installer the networking configuration will be re-applied ready for logging in.
With all of the required configuration files and package files stored on the USB
device, the re-installation procedure is performed without any need for network
connectivity. This provides an easy to manage re-installation method, very useful
in situations where the unit is stored in a remote location (such as a data-centre).
The Linux kernel has come a very long way in the last few years. The
Kernel now supports more hardware than ever out of the box. Whether you
want to use a PCI wireless card, a sound card or an external USB bluetooth
adapter the chances are that your device is probably supported in the
modern kernel. We have taken the current enterprise kernel and patched
it to support the Cobalt specific hardware.
The new 2.6.23 ROM includes support for Sillicon Image SATA cards.
With only a limited amount of space for features in the ROM kernel, the compiled in modules had
to be chosen carefully. Unfortunately, there was only enough space to include support for one SATA driver
in the ROM kernel. Silicon image (sata_sil) was considered the most popular SATA card available,
so this was the driver that we decided to include.
Our TeraQube is loaded with CentOS 5. This is quickly becoming the 'Operating System of choice' for many
Systems Administrators. There are many features that CentOS 5 offers; including PHP5, MySQL5, Apache 2.2 and
many many more. For more details on the features included in CentOS 5, please visit the following URLs:
linux.com
www.centos.org
At present, BlueQuartz has not been updated to work on CentOS 5. The main administration control panel requires PHP4.
So BlueQuartz will have to continue to run on CentOS 4 for the meantime. As soon as BlueQuartz is available for CentOS 5, we will
release a new version of Strongbolt to utilise this.
This does however open up the possibilities for using other control panels on the system, such as Plesk and cpanel
500GB SATA Harddrive
Utilising all of the new features of the new 2.6.23 ROM, our TeraQube is equipped with a 500gb SATA hard drive.
When the system boots, the CMOS is configured to boot from sda1. The ROM kernel then loads, looks for the device sda1 and
through our silicon image SATA card, the 500gb drive is assigned the address sda1. We would have demonstrated this with a pair of
terabyte drives, but the CEO was particularly tight fisted when we put the purchase request in.
Support for dozens of external USB devices
The new modular enterprise kernel provides support for many new devices. In particular, USB devices are probably of most interest
to users. For example, there is modular support for:-
- External USB hard drives
- USB Printers
- Some USB modems
- Some USB wireless adapters
- Some USB bluetooth devices
- Some USB camera's
- Some USB scanners
- Some USB Webcams (Maybe of some use to someone:))
- Some USB ethernet adapters
- Some USB serial adapters
Support for Dozens of PCI Cards
The enterprise kernel will also open up the possibilities for those who want to add PCI cards to their servers. Cards that may be of interest include:
- SATA cards
- ISDN cards
- Additional Network cards
- ADSL Cards
- Sound Cards (someone may be interested in this)
- USB PCI cards
- Modems
- SCSI cards
|