Re: [dhcwg] draft-ietf-dhc-dhcpv6-opt-netboot-05 - how to proceed?

Thomas Huth <THUTH@de.ibm.com> Sun, 18 October 2009 09:23 UTC

Return-Path: <THUTH@de.ibm.com>
X-Original-To: dhcwg@core3.amsl.com
Delivered-To: dhcwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E57C53A6907 for <dhcwg@core3.amsl.com>; Sun, 18 Oct 2009 02:23:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.299
X-Spam-Level:
X-Spam-Status: No, score=-1.299 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sRParwwMHFqW for <dhcwg@core3.amsl.com>; Sun, 18 Oct 2009 02:23:36 -0700 (PDT)
Received: from mtagate3.de.ibm.com (mtagate3.de.ibm.com [195.212.17.163]) by core3.amsl.com (Postfix) with ESMTP id 4FC7D3A67E6 for <dhcwg@ietf.org>; Sun, 18 Oct 2009 02:23:36 -0700 (PDT)
Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.1/8.13.1) with ESMTP id n9I9Nax6010883 for <dhcwg@ietf.org>; Sun, 18 Oct 2009 09:23:36 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n9I9NU1o3178738 for <dhcwg@ietf.org>; Sun, 18 Oct 2009 11:23:36 +0200
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n9I9NUNH031285 for <dhcwg@ietf.org>; Sun, 18 Oct 2009 11:23:30 +0200
Received: from d12ml072.megacenter.de.ibm.com (d12ml072.megacenter.de.ibm.com [9.149.166.115]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n9I9NUWX031280 for <dhcwg@ietf.org>; Sun, 18 Oct 2009 11:23:30 +0200
In-Reply-To: <fab4e42a0910101319y6d223872s6958cad0450aa60b@mail.gmail.com>
References: <200910062234.AAA07005@TR-Sys.de> <AD61797F-DB2D-4889-8888-5339521ADE8F@nominum.com> <OF029AB4A7.6EEA954A-ONC125764B.004E95CE-C125764B.00536F30@de.ibm.com> <FBD14811-7C9A-4FCB-8707-071A7CA12B96@nominum.com> <fab4e42a0910101319y6d223872s6958cad0450aa60b@mail.gmail.com>
X-KeepSent: 70A70CD8:5E31E815-C1257653:003229C4; type=4; name=$KeepSent
To: dhcwg@ietf.org
X-Mailer: Lotus Notes Release 8.5 December 05, 2008
Message-ID: <OF70A70CD8.5E31E815-ONC1257653.003229C4-C1257653.00338F3A@de.ibm.com>
From: Thomas Huth <THUTH@de.ibm.com>
Date: Sun, 18 Oct 2009 11:23:10 +0200
X-MIMETrack: Serialize by Router on D12ML072/12/M/IBM(Release 8.0.1|February 07, 2008) at 18/10/2009 11:23:29
MIME-Version: 1.0
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
Subject: Re: [dhcwg] draft-ietf-dhc-dhcpv6-opt-netboot-05 - how to proceed?
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Oct 2009 09:23:38 -0000

Jarrod Johnson <jarrod.b.johnson+dhcwg@gmail.com> wrote on 10/10/2009
22:19:28:
>
> With all that said, it seems exceedingly common that at least two
> things are commonly referenced in a potentially common way in a
> typical netboot fashion:
> -The second stage loader executable code
> -Optionally, a configuration file or script for that second stage
> loader, that typically points to other requisite files that vary from
> OS to os (i.e. multiboot images, or a linux kernel/initrd, and various
> things in a Windows BCD file, though the Windows search for BCD file
> is less flexible today than I would like)

Ok, but since those second stage bootloaders could also be used in IPv6
scenarios, the question is now whether they are a bad thing that we should
get rid of? Would it make sense to implement all the functionality of those
second stage loaders into DHCPv6 directly? Is it possible at all, since
every operating system has slightly different requirements?

IMHO if we tried to implement all those functionality into DHCPv6 directly,
we would end up in a very, very complex implementation that still does not
support all boot scenarios since we've forgot to have a look at operating
systems that are not too common. So people would continue to use second
stage bootloaders anyway. Thus, I think we should follow the keep-it-simple
approach and only allow to load and boot one executable at the DHCPv6 level
and leave the more complex scenarios to the second stage bootloaders.

By the way, I've done some "research" this weekend, and to me it looks like
the main reason for using a secondary stage bootloader for DHCPv4 was often
only the fact that they provide an additional configuration file (see
http://syslinux.zytor.com/wiki/index.php/PXELINUX#How_do_I_Configure_PXELINUX.3F
 for example), which then is used to specify additional kernel parameters.
These kernel parameters could not be passed by DHCPv4 directly. But since
we've got a "parameter option" in our draft for DHCPv6 netbooting already,
the second stage bootloader would become unnecessary in that case. So for
most scenarios we would already get rid of the second stage loaders, we
would just need them for some more complex scenarios.

> As a potential slight tangent, this discussion has been focused on
> netboot scenarios focused on downloading an executable and running it,
> but what about registering network based SAN strategies (i.e. iSCSI
> per RFC 4173)?  One aspect I didn't like of that standard was to imply
> it was used for configuring a boot volume only with the expectation
> that it would be the boot device of that boot, as I have a scenario
> where the two actions on the client network device are separate (i.e.
> it will configure itself and connect to the iSCSI target, and
> configure firmware tables, but then still allow me to boot via
> 'filename' so that the PXE booted OS would be aware of the iSCSI
> target configuration).  I mention that in fear that it is suggested to
> simply re-use boot-uri, which would preclude the potential of
> DHCP-driven SAN configuration at the same time a netboot is desired.

Wouldn't it work to specify the kernel image with the boot-uri, and then to
configure that kernel with our "parameter option" to use the iSCSI target
as root device?


Mit freundlichen Grüßen / Kind regards,
   Thomas Huth
                                                                           
    IBM Deutschland                 Vorsitzender des Aufsichtsrats:        
    Research & Development GmbH     Martin Jetter                          
    Schönaicher Str. 220            Geschäftsführung: Erich Baier          
    71032 Böblingen                 Sitz der Gesellschaft: Böblingen       
    Tel.: +49-7031-16-2183          Registergericht: Amtsgericht           
                                    Stuttgart, HRB 243294