Re: Location of lts.conf file
James McQuillan <[email protected]> Tue, 26 Feb 2013 11:27:19 -0500
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <CAL2giFJ-Pv_AQthYu610VHffHfxnWkK0UmFyF-71t0FUBo8GKA@mail.gmail.com> |
--===============5438521944376547465== Content-Type: multipart/alternative; boundary=089e01419d7cafb1c504d6a321dc --089e01419d7cafb1c504d6a321dc Content-Type: text/plain; charset=ISO-8859-1 iPXE looks interesting but I'm thinking asking people to replace their pxe bootroms for ipxe is too much to ask. Jim McQuillan [email protected] On Tue, Feb 26, 2013 at 10:49 AM, Floris Bos <bos-2Bwqp0C+fZnAjeZApIleJ/[email protected]> wrote: > On 02/26/2013 11:39 AM, Veli-Matti Lintu wrote: > > Since in LTSP 6 we'll have to rewrite most of our code base, > and all LDM_* variables won't be supported anymore due to libpam_sshauth > / LightDM, > so sysadmins will have to revisit their configuration anyway, > (and it's a good chance to break backwards compatibility wrt > configuration, removing ancient or undocumented stuff), > > I'm pretty much in favor of not using TFTP as the basis of our > configuration system anymore, but instead to switch to using a (probably > python-based) daemon that reads configuration files from the server > /etc/ltsp/config.d/, and exports them to the clients upon request. > > E.g. a client could do from the initramfs: > wgethttp://server:1234/config?phase=initramfs&arch=i386&ip=xxx&mac=xxx&hostname=xxx&... > -O config > . config > > We wrote our own TFTP server to overcome some boottime problems in LTSP > environments. We have some thin/fat clients that need special kernels and/or > kernel parameters to work correctly. Since we have too many clients to so > that it would be practical to modify pxelinux.cfg files manually, we have > now a hook script for our TFTP server that fetches the kernel information > from LDAP when the client requests the pxelinux.cfg during boot. > > > Another option to easily provide custom kernel (parameters) would be to > trade in pxelinux for iPXE ( http://www.ipxe.org/ ) > It can fetch its boot script over HTTP, as in > http://server/script_that_generates_boot_instructions.php > > We use it in a product that remotely provisions servers in datacenters, > and it works very well. > > -- > Yours sincerely, > > Floris Bos > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _____________________________________________________________________ > Ltsp-developer mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-developer > For additional LTSP help, try #ltsp channel on irc.freenode.net > > --089e01419d7cafb1c504d6a321dc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">iPXE looks interesting but I'm thinking asking people = to replace their pxe bootroms for ipxe is too much to ask.<div><br></div><d= iv>Jim McQuillan</div><div>[email protected]</div></div><div class=3D"gmail_extr= a"> <br><br><div class=3D"gmail_quote">On Tue, Feb 26, 2013 at 10:49 AM, Floris= Bos <span dir=3D"ltr"><<a href=3D"mailto:bos-2Bwqp0C+fZnAjeZApIleJ/[email protected]" target= =3D"_blank">bos-2Bwqp0C+fZnAjeZApIleJ/[email protected]</a>></span> wrote:<br><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa= dding-left:1ex"> =20 =20 =20 <div bgcolor=3D"#FFFFFF" text=3D"#000000"><div class=3D"im"> <div>On 02/26/2013 11:39 AM, Veli-Matti Lintu wrote:<br> </div> <blockquote type=3D"cite"> <blockquote type=3D"cite"> <pre>Since in LTSP 6 we'll have to rewrite most of our code bas= e, and all LDM_* variables won't be supported anymore due to libpam_sshaut= h / LightDM, so sysadmins will have to revisit their configuration anyway, (and it's a good chance to break backwards compatibility wrt configuration, removing ancient or undocumented stuff), I'm pretty much in favor of not using TFTP as the basis of our configuration system anymore, but instead to switch to using a (probably python-based) daemon that reads configuration files from the server /etc/ltsp/config.d/, and exports them to the clients upon request. E.g. a client could do from the initramfs: wget <a href=3D"http://server:1234/config?phase=3Dinitramfs&arch=3Di386&= ip=3Dxxx&mac=3Dxxx&hostname=3Dxxx&" target=3D"_blank">http://se= rver:1234/config?phase=3Dinitramfs&arch=3Di386&ip=3Dxxx&mac=3Dx= xx&hostname=3Dxxx&</a>... -O config . config </pre> </blockquote> <pre>We wrote our own TFTP server to overcome some boottime problems = in LTSP=20 environments. We have some thin/fat clients that need special kernels and/o= r=20 kernel parameters to work correctly. Since we have too many clients to so= =20 that it would be practical to modify pxelinux.cfg files manually, we have= =20 now a hook script for our TFTP server that fetches the kernel information= =20 from LDAP when the client requests the pxelinux.cfg during boot. </pre> </blockquote> <br></div> Another option to easily provide custom kernel (parameters) would be to trade in pxelinux for iPXE ( =20 <a href=3D"http://www.ipxe.org/" target=3D"_blank">http://www.ipxe.org/= </a> )<br> It can fetch its boot script over HTTP, as in <a href=3D"http://server/script_that_generates_boot_instructions.php" t= arget=3D"_blank">http://server/script_that_generates_boot_instructions.php<= /a><br> <br> We use it in a product that remotely provisions servers in datacenters, and it works very well.<span class=3D"HOEnZb"><font color= =3D"#888888"><br> <br> <pre cols=3D"72">--=20 Yours sincerely, Floris Bos </pre> </font></span></div> <br>-----------------------------------------------------------------------= -------<br> Everyone hates slow websites. So do we.<br> Make your web apps faster with AppDynamics<br> Download AppDynamics Lite for free today:<br> <a href=3D"http://p.sf.net/sfu/appdyn_d2d_feb" target=3D"_blank">http://p.s= f.net/sfu/appdyn_d2d_feb</a><br>___________________________________________= __________________________<br> Ltsp-developer mailing list. =A0 To un-subscribe, or change prefs, goto:<br= > =A0 =A0 =A0 <a href=3D"https://lists.sourceforge.net/lists/listinfo/ltsp-de= veloper" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/lts= p-developer</a><br> For additional LTSP help, =A0 try #ltsp channel on <a href=3D"http://irc.fr= eenode.net" target=3D"_blank">irc.freenode.net</a><br> <br></blockquote></div><br></div> --089e01419d7cafb1c504d6a321dc-- --===============5438521944376547465== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb --===============5438521944376547465== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _____________________________________________________________________ Ltsp-developer mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-developer For additional LTSP help, try #ltsp channel on irc.freenode.net --===============5438521944376547465==--