<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 24, 2014 at 10:44 AM, Michael Mounteney <span dir="ltr"><<a href="mailto:gate03@landcroft.co.uk" target="_blank">gate03@landcroft.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello, I would appreciate some advice in setting-up a boot server.<br>
This would have OmniOS as the server and a couple of diskless HP thin<br>
clients running Linux as the clients.<br>
<br>
The Linux kernel is already configured as a diskless NFS root client<br>
but it is currently loaded from a small partition on the thin client's<br>
flash ROM.  I'd like to move it entirely onto the server.<br>
<br>
As I understand it, the server must run a TFTP server and as that<br>
communicates via UDP/IP, a DHCP server is also required.  Presumably<br>
the best thing is to configure the DHCP server to serve a fixed IP<br>
address to the client's MAC address, so that the Linux kernel can also<br>
use DHCP to get the (same) IP address.  Currently, the IP address is<br>
set in the arguments passed to the kernel.<br>
<br>
<a href="https://wiki.gentoo.org/wiki/Diskless_nodes#About_Etherboot" target="_blank">https://wiki.gentoo.org/wiki/Diskless_nodes#About_Etherboot</a> says that<br>
the served-up client kernel must be prepared with etherboot.<br>
<br>
So a few random musings.  Any thoughts ?  Best server-side software ?<br>
where there's a choice.<br></blockquote></div><br></div><div class="gmail_extra">all the pieces are there I think. Recently the isc-dhcp server got into the packages if I remember correctly and there is a tftp package as well..<br>
<br></div><div class="gmail_extra">If you want fixed ip addresses you can achieve that using reservations in dhcp. The rest is pretty trivial.<br><br></div><div class="gmail_extra">My notes for configuring the tftp service in omnios:<br>
<br>pkg install tftp<br><br>echo "tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot" > /tmp/tftp.inetd<br>svcadm enable inetd<br>inetconv -i /tmp/tftp.inetd -o /tmp<br>svccfg import /tmp/tftp-udp.xml<br>
svcadm restart tftp/udp<br><br></div><div class="gmail_extra">will give you a working tftp service with the tftp root in /tftpboot. <br><br></div><div class="gmail_extra">I have never used etherboot and doubt that you need it, but you should know that better ;-)<br>
<br></div><div class="gmail_extra">And lastly you will need an nfs share for the diskless clients, but that is pretty simple as well.<br><br>-- <br></div><div class="gmail_extra">groet,<br>natxo<br></div><div class="gmail_extra">
<br></div><div class="gmail_extra"><br></div></div>