0% found this document useful (0 votes)
58 views19 pages

Pxe & Aoe: Preboot Execution Environment ATA Over Ethernet

PXE & AoE allow booting computers over a network and accessing storage devices independently of local storage. PXE uses DHCP and TFTP to boot systems, retrieving a boot image from the TFTP server. AoE enables accessing SATA storage over Ethernet, allowing SAN-like functionality with standard networking. Setting up PXE & AoE requires configuring DHCP, TFTP and vblade services on a server and installing drivers on Windows clients to access storage via AoE.

Uploaded by

iret reti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views19 pages

Pxe & Aoe: Preboot Execution Environment ATA Over Ethernet

PXE & AoE allow booting computers over a network and accessing storage devices independently of local storage. PXE uses DHCP and TFTP to boot systems, retrieving a boot image from the TFTP server. AoE enables accessing SATA storage over Ethernet, allowing SAN-like functionality with standard networking. Setting up PXE & AoE requires configuring DHCP, TFTP and vblade services on a server and installing drivers on Windows clients to access storage via AoE.

Uploaded by

iret reti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

PXE & AoE

Preboot Execution Environment


ATA over Ethernet

國立中央大學電子計算機中心97學年度SNMG教育訓練課程
NCUCSIE SNMG xbddc ([email protected])
Outline
• What is “PXE” ? “AoE” ?
– Introduction

• How does it work


– Architecture
– Flow chart

• Install & Setup


– Servers (dhcpd, tftpd, vbladed)
– Windows

• Demo
• Reference
2
3
Introduction
• AoE
– abbr. of ATA over Ethernet
– is a network protocol designed for simple,
high-performance access of SATA storage
devices over Ethernet networks.
– It gives the possibility to build SANs with low-
cost, standard technologies.

4
Introduction (cont’d)
• PXE
– abbr. of Preboot eXecution Environment
– is an environment to boot computers using
network interface independently of available
data storage devices (like hard disks) or
installed operating systems.
– was introduced by Intel as part of the Wired
for Management framework

5
Architecture

• Desktop PCs all without HDD and support PXE boot function
• DHCP & TFTP Server can be either split into two or just all built in 6
one
Flow chart

7
http://www.argontechnology.com/ docs/htm/pxe/pxe.gif
Installation
• DHCP Server:
– net/isc-dhcp3-server
– # make install

• TFTP Server:
– ftp/tftp-hpa
– # make install

8
Installation (cont’d)
• vblade:
– #fetch
http://nchc.dl.sourceforge.net/sourceforge/ao
etools/vblade-18.tgz
– #tar zxf vblade-18.tgz
– #cd vblade-18 ; make PLATFORM=freebsd

9
Installation (cont’d)
• make you own Boot ROM image:
– http://rom-o-matic.net/
• and save it to /root

10
Setup - dhcpd.conf
default-lease-time 21600;
max-lease-time 86400;
option domain-name "csie.ncu.edu.tw";
option routers 140.115.50.254;
option domain-name-servers 140.115.50.2;
option perform-mask-discovery on;
option mask-supplier on;
ddns-update-style none;
allow booting;
allow bootp;

subnet 140.115.50.0 netmask 255.255.255.0 {


option subnet-mask 255.255.255.0;
next-server 140.115.50.60; # where to find the tftpd server
filename “gpxe-0.9.3-e1000.pxe"; # boot program (from gpxe)
option root-path “e0.0p1"; # aoe’s shelf, slot, partition
}

host venux {
hardware ethernet 00:11:2f:b8:6d:c8;
fixed-address 140.115.50.75;
}

11
Setup - Windows
• Install WinAoE, the AoE driver for Windows
– http://www.winaoe.org/

• By modifying the Windows registry to let AoE driver be


loaded while OS startup
– Find
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\e1
express
– and change the "Start" key to 0 (boot)

• Step by step instruction:


– http://etherboot.org/wiki/sanboot/winnt_aoe

12
Setup – Windows (cont’d)
• Turn off the Windows Virtual Memory
feature (pagefile.sys)

13
Start it
• # /usr/local/etc/rc.d/isc-dhcpd forcestart
• # /usr/local/libexec/in.tftpd -Lv -s /root
• # ./vblade 0 0 em0 /dev/ad8

14
15
16
17
Reference
• Introduction to PXE
– http://www.argontechnology.com/docs/htm/pxe/index.shtml
• Wikipedia
– http://en.wikipedia.org/wiki/Preboot_Execution_Environment
– http://en.wikipedia.org/wiki/ATA_over_Ethernet
• SYSLinux, PXELinux, …
– http://syslinux.zytor.com/
• WinAoE
– http://winaoe.org
• vblade
– http://aoetools.sourceforge.net/
• qaoed
– http://code.google.com/p/qaoed/
• Etherboot, gPXE
– http://etherboot.org/
– http://etherboot.org/wiki/sanboot/winnt_aoe
• Rom-o-matic
– http://rom-o-matic.net/
• Setup PXE Boot on FreeBSD in 3 minutes
– http://jnlin.org/2006/10/29/141/

18
Questions?

<(_ _)>

19

You might also like