Bug 164782 - RFE: add support for diskless clients based on iSCSI
Summary: RFE: add support for diskless clients based on iSCSI
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: system-config-netboot   
(Show other bugs)
Version: 5.4
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Jaroslav Reznik
QA Contact: BaseOS QE
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2005-08-01 12:30 UTC by bastiaan
Modified: 2010-04-06 13:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-04-06 13:08:31 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description bastiaan 2005-08-01 12:30:42 UTC
Currently system-config-netboot only supports diskless clients via NFS. It would
be nice to be able to configure booting of iSCSI based diskless clients as well.
Especially since system-config-netboot does complain that the boot files in
/tftpboot/linux-install/pxelinug.cfg/ you've created manually for iSCSCI-boot
refer to a profile which 'is not PXE Operating System' and you cannot add that
profile to pxeos.xml.
FYI. I've been successfull in setting op diskless iSCSI booting using iscsi-init
(http://sourceforge.net/projects/iscsi-init/). Create an initrd with:
mkinitrd \
        --preload=<network-module> --with=iscsi_sfnet --with=iscsi_init \
        initrd-iscsi-<network-module>.img <kernel-version>
And configure initiator name, target name, etc. either in the dhcp server or in
the boot file. 
I'll try to reuse the initrd creation used for NFS diskless clients so you don't
have to create a separate initrd for every network card.
Would RedHat consider booting with iscsi-init or would setting up iscsid from
the initrd be the preferred approach?

Comment 1 Jason Vas Dias 2005-08-01 13:22:40 UTC
I am currently looking into enhancing system-config-netboot to support iSCSI,
as well as other non-PXE boot protocols such as eLiLo and yaboot .
I've CC-ed the iSCSI maintainer on this request, to look into integrating 
any existing iSCSI boot client configuration tools with system-config-netboot.
You may have a problem "reus[ing] the existing initrd used for NFS diskless
clients", as the "init" script, "disklessrc", currently uses NFS only .

Comment 2 bastiaan 2005-08-01 14:12:37 UTC
Great to hear you are already looking into this.
My intention was to hack disklessrc a bit to enable iSCSI support, not to use it
verbatim. What I haven't figured out yet is how to create the initrd: with NFS
one can mount the client fs on the netboot server, but with iSCSI this is not so
straightforward. Any ideas on this?

Comment 3 bastiaan 2005-09-22 16:17:48 UTC
Hi Jason, I've been working on iscsi-boot for RHEL3 the past month(s) and now
have a working initrd and creation tool. Basically it is an adaption of
updateDiskless and disklessrc: I removed NFS and read-only root setup and added
iscsi init by iscsid, support for ethernet bonding, RAID1 and iSCSI target
configuration through DHCPs Root-Path parameter. Our primary usage is for
diskless servers, rather than clients, hence the RAID1 and bonding features. 
Since the netboot server typically cannot access the iSCSI disk of the client,
unlike with NFS, currently the updateDiskless tool has to be run on the client
rather than on the netboot server. So I don't see yet how this would integrate
into system-config-netboot. Maybe you have some ideas for this?

Comment 4 David Barksdale 2006-01-03 22:04:25 UTC
Is there going to be bonding support added to system-config-netboot any time
soon? When can we expect this?
Thank you.

Comment 6 Alexander Todorov 2009-08-24 12:52:36 UTC
I think this is still relevant. Moving to RHEL5 so it can be on the radar.

Comment 7 RHEL Product and Program Management 2009-11-06 18:52:03 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 8 Jaroslav Reznik 2010-04-06 13:08:31 UTC
This is quite invasive change for RHEL 5 release and as system-config-netboot is now in maintenance mode only and there's no further development, I'm closing this RFE as WONTFIX now.

Note You need to log in before you can comment on or make changes to this bug.