This software stack is based on This Beta Server hardware built for the Educational_Blogger_Project .
The following topics are covered
- Device layout
- RAID and Logical Volume Mirror
- Operating System considerations
- Middleware (web server, database, etc.)
- Additional Utilities
Based on the hardware, the following devices are available:
- CD/DVD Burner
/dev/hda (it is in the Primary/Master position on the first EIDE cable)
/dev/cdrom (many operating systems use this)
/dev/dvd (and this)
/dev/dvdrw (and this)
- SATA disks
/dev/sda (this is drive 1)
/dev/sdb (this is drive 2)
- USB keys or external drives
/dev/sdf for the drive itself
/dev/sdf1 (for the VFAT file system usually on it)
- Ethernet Network Interface cards
eth0, eth1 and eth2 seemed to be assigned to the one motherboard connector and two PCI cards differently between operating systems. I will need to track down the MAC addresses to keep them straight.
RAID and Logical Volume Mirror
Most Linux systems only require the following:
- A Master Boot Record (MBR) that contains the boot loader and disk layout
- A root directory (/)
- swap space (typically as big or bigger than installed RAM)
RAID (Redundant Array of Inexpensive Disks) offers the following:
- RAID 0
Stripes data across for better performance. Two 160GB drives would look like a fast 320GB drive, but if you lose any one drive, you have lost everything
- RAID 1
Mirrors the data across drives. Multiple copies means you have better protection, so if you lose any one drive, the rest of the system can still run. Two 160GB drives would look like a single 160GB drive. Performance is the same or slightly slower than a single drive.
- RAID 5
Stripes with parity for added protection. One drive's worth is set aside for parity, so three 160GB drives would hold 320GB of data; four 160GB drives would hold 480GB of data. Since we have only two drives, this option does not apply to us. Performance is faster for read, but can be slower for writes, depending on how the parity methods are implemented.
- RAID 10
Striped and Mirrored. Sometimes referred to as RAID 0+1 or RAID 1+0, this combines RAID 1 with RAID 0. Data is striped across disk 1 and disk 2, disk 3 is a mirror of disk 1 stripe, and disk 4 is mirror of disk 2 stripe. Thus four 160GB drives holds 320GB of data. If you lose any one drive, the mirrored copy is still available, so the system will be able to continue to run. Performance is same or slightly slower than a 2-drive RAID 0 configuration.
JBOD stands for "Just a Bunch of Disks", a term meaning there is no RAID for protection or performance improvement. This refers to deployments where each disk drive is independent.
- Can mirror the entire drive ( /dev/sda <--> /dev/sdb )
or individual partitions ( /dev/sda1 <--> /dev/sdb1 )