Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Data Storage Networking IT Linux

Diskless Booting For the Modern Age 99

An anonymous reader writes "Ever wonder what happened to PXE? Intel's popular standard for diskless booting hasn't been updated since 1999, and has missed out on such revolutions as wireless Ethernet, cloud computing, and iSCSI. An open source project called Etherboot has been trying to drag PXE into the 21st century. One of their programmers explains how to set up diskless booting for your cloud, using copy-on-write to save space."
This discussion has been archived. No new comments can be posted.

Diskless Booting For the Modern Age

Comments Filter:
  • Re:Authentication (Score:5, Informative)

    by rathaven ( 1253420 ) on Saturday May 08, 2010 @06:48AM (#32137500)
    It wasn't designed for it - PXE boots without authentication on the client so that the hardware gets the image thinly and then auth takes place when the OS is installed. It assumes control of the local LAN is in place and it is trusted. If you are looking for auth at this level you'd need to look at authentication to the switch or wireless on the network - pre-authentication using something like 802.1X. I'm not 100% clear but I believe gPXE has something that probably covers that in the docs as it has scripting capability pre-receiving DHCP addresses (at the level for wireless authentication and possibly 802.1X)...
  • Re:Cloud? (Score:4, Informative)

    by fauxhemian ( 1281852 ) on Saturday May 08, 2010 @07:01AM (#32137546)

    It doesn't scale and isn't modular in a Unixy way. Modern applications just suck because they're so inflexible. Why can I do so many things from a little text terminal, but I can't easily script the behavior of my web browser without special add-ons?

    http://en.wikipedia.org/wiki/Uzbl [wikipedia.org]

  • Re:Cloud? (Score:2, Informative)

    by Anonymous Coward on Saturday May 08, 2010 @07:45AM (#32137652)

    http://www.uzbl.org/faq.php

    Cool, so I can install uzbl and have a "Unixy" browser that does next to nothing without a headache and a weekend of tinkering ... or I can install Firefox and actually get shit done. Sounds about right.

  • Re:How is it slow? (Score:3, Informative)

    by Junta ( 36770 ) on Saturday May 08, 2010 @08:47AM (#32137852)

    Well, one issue is boot payload is getting bigger and bigger. One distro has about 20MB of download that would be tftped in the default case. Windows uses tftp for a *lot* more.

    tftp has the following issues:
    -16-bit block indexes. Most firmware won't go above 1400 or so blocksize (with good reason, if they go higher and the network is set for jumbo frames, transfers will fail in many scenarios). This means a cap of about 98MB before you overflow the counter. Most tftp servers nowadays can deal with it in a unicast case, but it's not technically fixed in the spec.

    -tftp exhibits a sort of half-duplex character with regards to transmits and block acknowledgement. Server sends 1.5 kilobytes, then does nothing, client receives the block, and only then does it request the other one. Compare to TCP windows in ftp and http and the differences are massive.

  • Re:How is it slow? (Score:4, Informative)

    by Junta ( 36770 ) on Saturday May 08, 2010 @08:51AM (#32137874)

    Issues:
    -tftp multicast is inherently limited to smaller than 98MB images with sane MTU. The same block number wrapping in unicast can't work in multicast. When you want speedup the most, tftp multicast can't even work
    -multicast only buys you something if a large number of clients are acquiring the same payload at the same time. In a large scale 'cloud 'configuration, things are generally heterogenous enough to negate any such hypothetical benefit.
    -Most ethernet fabrics are either incapable or not configured for IGMP/MLDv2 snooping required to properly scope multicast resulting in all multicast traffic degrading to broadcast. This has very adverse results unless every entity on the network only cares about the transfer.

  • Re:How is it slow? (Score:3, Informative)

    by guruevi ( 827432 ) on Saturday May 08, 2010 @09:24AM (#32138068)

    Yes, Apple has been able to do it for a couple of years now (since the PowerPC era).

    Basically a DHCP server says: I have a boot image
    Client1 says: thanks - starts downloading 0-10%
    Client2 comes on: starts downloading 10%-100%
    Client1 continues downloading 10%-100%
    Client1 boots up
    Client2 requests 0%-10%
    Client2 boots up

    I think your example involves P2P but unless your client also has the boot image and a mechanism to give it to others after it has booted (which could be potentially a security risk) it doesn't work that way.

interlard - vt., to intersperse; diversify -- Webster's New World Dictionary Of The American Language

Working...