How To Build A Low Cost SAN
April 9, 2009
In today's world there is a obvious need of information sharing in every department and network storage can help us to achieve this most growing challenge. Here in this article we are focusing our concentration to make a San which has following features:
- Low cost and easily affordable
- Ensured Scalability
- High Reliability
- Easily Manageable
- High Performance
- Ensured Security
- High availability
2 Available Options For SAN
There are some options available to make a reliable San which is quite complex and expensive. These are iSCSI, NBD, ENBD and FIBER CHANNEL. iSCSI, NBD, ENBD works on TCP/IP layer which has much overhead. Luckily we have a protocol which can easily serve our purpose in a affordable cost and less overhead. All we typically need is some dual-port Gig-E cards, a GiG-Ethernet switch and some disks. This is a very simple and lightweight protocol and it is known as ATA OVER ETHERNET. AoE comes with linux kernel as a kernel module. AoE does not rely on network layers above Ethernet, such as the IP and TCP that iSCSI requires. While this makes AoE potentially faster than iSCSI, with less load on the host to handle the additional protocols, it also means that AoE is not routable outside a LAN. AoE is intended for SANs only. In this regard it is more comparable to Fiber Channel over Ethernet than iSCSI. It export block devices (SATA HARD DISKS) over the network with a very high throughput when coupled with a quality Ethernet switch. A qaulity Ethernet switch can maximize throughput and minimize collisions through integrity checking and packet ordering. While using AoE in a large scalable enterprise environment, we can take the help of RED HAT cluster aware tools like CLVM, GFS, DLM, DRBD, HEARTBEAT etc-etc.
3 Cost Comparison among AoE, FC & iSCSI
4 Comparison of AoE vs iSCSI
4.1 These are the following advantages of AoE over iSCSI
- AoE is cheap and simpler software stack. The advantage of AoE is that you don't have the overhead of translating ATA to SCSI then back to ATA if you are using ATA drives. So there is a performance pickup.
- Server processing load for iSCSI is much higher than AoE for equivalent throughput. AoE can spare processing cycles. iSCSI requires TCP/IP and its requisite complexity.
- AoE is not a routable protocol. Therefore it provides you inherent security.
- AoE Ethernet frames are passed by standard switches.
- AoE and iSCSI both have initiator support for Windows and Linux.
4.2 Disadvantages of AoE over iSCSI
- If you need features such as encryption, routability and user-based access in the storage protocol, iSCSI is a better choice.
- AoE is not much suitable for critical enterprise applications. AoE is not as scalable as iSCSI or Fiber Channel when you consider location i.e., with Fiber Channel and iSCSI, you can scale your storage throughout. This is primarily due to the inability of AoE to route AoE traffic.
- ATA disks are not as reliable as their SCSI counterparts.
5 Available AoE Targets
There are following AoE Targets (server) available on GPL:
6 Feature Comparison of available AoE Targets
You can export your block-devices over the network by any of the available tar- gets. But the thing is how we can export our block devices in a much configured and manageable way so that it can help us to achieve our targets. These are the following features available by which you can configure your block devices, either by command-line or by configuration file. These are the acronym followed in this table for AoE targets:
- KV - Kvblade
- AOES - Aoeserver
- VB-KER - Vblade-kernel
- VB - Vblade
- GGOLD - Ggaoed base version
- GGNW - Ggaoed updated version
- QD - Qaoed base version
- SD - Sqaoed (ported version of qaoed on Solaris 10)
Small description of all the features are given in terms and terminology section.