James_Martin at ao.uscourts.gov
2006-Apr-24 15:27 UTC
[syslinux] tftp server with mysql backend
Are there any open source efforts ( I haven't found any) that have a tftp server with a mysql backend? I'd like an incoming pxelinux request to give the tftp server the mac address, and then it performs a query to find out which configuration file it should get. Of course it would be great if some day tftp-hpa would integrate with libmysql.. Thanks, James James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394
Check out the stateless linux project page/sources/packages from Fedora. IIRC they're using LDAP as a backend. Closest thing I've seen, and I'd imagine it's based on some open extensible connector you could modify (or have extended). /eli -----Original Message----- From: syslinux-bounces at zytor.com on behalf of James_Martin at ao.uscourts.gov Sent: Mon 4/24/2006 8:27 AM To: syslinux at zytor.com Subject: [syslinux] tftp server with mysql backend Are there any open source efforts ( I haven't found any) that have a tftp server with a mysql backend? I'd like an incoming pxelinux request to give the tftp server the mac address, and then it performs a query to find out which configuration file it should get. Of course it would be great if some day tftp-hpa would integrate with libmysql.. Thanks, James James S. Martin, RHCE Contractor Administrative Office of the United States Courts Washington, DC (202) 502-2394 _______________________________________________ SYSLINUX mailing list Submissions to SYSLINUX at zytor.com Unsubscribe or set options at: http://www.zytor.com/mailman/listinfo/syslinux Please do not send private replies to mailing list traffic.
On Mon, 24 Apr 2006, James_Martin at ao.uscourts.gov wrote:> Are there any open source efforts ( I haven't found any) that have a tftp > server with a mysql backend? I'd like an incoming pxelinux request to > give the tftp server the mac address, and then it performs a query to find > out which configuration file it should get. Of course it would be great > if some day tftp-hpa would integrate with libmysql..I know of three implementatons, sort of in this space; I documented dynamically returned installation profiles (keyed on MAC, IP, prior distribution release version, etc values) using a PHP dispatcher a couple of years ago; [ http://www.owlriver.com/support/yum/ ], which was also demonstrated at a local LUG by Jim Wildman and I [ http://www.colug.net/notes/0502mtg/ ]; a private installation at a commercial site which I do not have permission to mention; and a recent reimplementation and extension, on the CentOS platform, which Matthew R. Hyclak <hyclak at math.ohiou.edu> has been working though after a requirements statement, some poking and review by me ;) https://www.math.ohiou.edu/repos/netserv/trunk/README I recall Matt, and a couple other folks were up from Athens for that meeting, but do not see his picture in the LUG photos. -- Russ Herrold
Hi, We are using such a mechanism in Computemode (www.computemode.org). Some time ago, a patch was proposed against tftpd-hpa in this ML. It provides a way to add in the remap mechanism a execution feature, which allows for instance to run in a chroot busybox environement, any command that is made available, say wget. This wget calls a php script which interacts with a PostgresSQL server. Regards, James_Martin at ao.uscourts.gov wrote:> Are there any open source efforts ( I haven't found any) that have a tftp > server with a mysql backend? I'd like an incoming pxelinux request to > give the tftp server the mac address, and then it performs a query to find > out which configuration file it should get. Of course it would be great > if some day tftp-hpa would integrate with libmysql.. > > Thanks, > > James >-- Pierre NEYRON