User Tools

Site Tools


computing:storage:aoe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
computing:storage:aoe [2011/11/25 10:33]
gcooper created
computing:storage:aoe [2017/06/07 11:29] (current)
gcooper
Line 1: Line 1:
-====== ATA Over Ethernet (AOE) ======+====== ATA over Ethernet (AoE) ======
  
 {{:computing:storage:coraid_logo.png?nolink& |}} {{:computing:storage:coraid_logo.png?nolink& |}}
  
-AOE is a low overhead, non-routable storage protocol developed by Coraid.+AoE is a low overhead, non-routable storage protocol developed by Coraid.
  
 http://www.coraid.com/ http://www.coraid.com/
  
-Coraid has a full line of storage products for SAN and virtualization projects.+Coraid has a full line of storage products for SAN and virtualization projects.\\ 
 +\\
  
 +{{:computing:storage:starwind_logo.gif?nolink& |}}
  
-{{:computing:storage:starwind_logo.gif?nolink&|}}+Starwind also offers products and services with AoE support.
  
-Starwind also offers products and services with AOE support.+http://www.starwindsoftware.com/
  
-  * http://www.starwindsoftware.com/+\\ 
 +\\
  
-===== AOE =====+===== AoE =====
  
-The AOE protocol is open source and is widely included in various Linux distributions.+http://en.wikipedia.org/wiki/ATA_over_Ethernet 
 + 
 +The AoE protocol is open source and is widely included in various Linux distributions.
  
 There is Windows driver support as well: There is Windows driver support as well:
  
   * http://winaoe.org/   * http://winaoe.org/
 +  * http://www.starwindsoftware.com/aoe-ataoverethernet-initiator
 +
 +===== HOWTO =====
 +
 +http://www.howtoforge.com/low-cost-san
 +
 +http://www.linuxjournal.com/article/10780
 +
 +http://www.howtoforge.com/ata_over_ethernet_debian_etch
 +
 +===== Old Notes =====
 +
 +==== Server Side (Target) ====
 +
 +''vblade'' - user space AoE server
 +''kvblade'' - kernel space server
 +
 +Performance difference? 
 +
 +[[virtualization:xen_virtualization|Xen Virtualization]] - Mount AoE storage in Dom0 then share to DomU's
 +
 +[[Linux Software RAID]] 1 to mirror two RAID 5 arrays
 +
 +==== Client Side (Initiator) ====
 +
 +Begin discovery of AoE targets:
 +
 +<file>
 +modprobe aoe
 +</file>
 +
 +No partition necessary - put filesystem on block device:
 +
 +''/dev/etherd/e<shelfnum>.<slotnum>''
 +
 +<file>
 +mkfs.ext3 /dev/etherd/e0.1
 +</file> 
 +
 +Partitions can be used:
 +
 +''/dev/etherd/e0.3p1''
 +
 +Custom init script to bring up and shut down AoE storage (FAQ)
 +
 +Admin Console uses port 6936
 +
 +Install compiler:
 +
 +<file>
 +yum install gcc gcc-c++ autoconf automake
 +</file>
 +
 +Install aoetools (domU):
 +
 +<file>
 +wget http://superb-west.dl.sourceforge.net/sourceforge/aoetools/aoetools-16.tar.gz
 +make install
 +</file>
 +
 +Install vblade (dom0) to export storage:
 +
 +<file>
 +wget http://internap.dl.sourceforge.net/sourceforge/aoetools/vblade-14.tgz
 +make 
 +make install
 +</file>
 +
 +
 +<file>
 +vi /etc/udev/rules.d/60-aoe.rules
 +
 +# These rules tell udev what device nodes to create for [[aoe]] support.
 +# They may be installed along the following lines.  Check the section
 +# 8 udev manpage to see whether your udev supports SUBSYSTEM, and 
 +# whether it uses one or two equal signs for SUBSYSTEM and KERNEL.
 +
 +# [[aoe]] char devices
 +SUBSYSTEM=="[[aoe]]", KERNEL=="discover",   NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="err",        NAME="etherd/%k", GROUP="disk", MODE="0440"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="interfaces", NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="revalidate", NAME="etherd/%k", GROUP="disk", MODE="0220"
 +SUBSYSTEM=="[[aoe]]", KERNEL=="flush",      NAME="etherd/%k", GROUP="disk", MODE="0220"
 +
 +# [[aoe]] block devices     
 +KERNEL=="etherd*",       NAME="%k", GROUP="disk"
 +</file>
  
 +Install kernel source:
  
 +<file>
 +yum install kernel-xen-devel
 +</file>
  
computing/storage/aoe.1322242431.txt.gz · Last modified: 2011/11/25 10:33 by gcooper