Right now I'm toying with the prospect of netbooting TC. Right now I'm imagining diskless virtual machines that load extensions into RAM from a TFTP / NFS server, with a persistent /opt file (and maybe backup file?) also on said TFTP / NFS server.
I can see
here some pretty solid looking instructions on getting TC to netboot.
With my limited understanding of how TFTP and NFS work, I imagine that loading extensions to RAM would be done by just populating the tftp list file, and then setting up NFS for the /opt directory. (Is it possible to load to directly to RAM from NFS?)
And this is where my current level of knowledge fails me - I'll be honest, I've done no research as yet into how to handle this with NFS, right now I'm just braindumping. How can you have each machine have it's own /opt and it's own backup on an NFS server?
Ideally, it would go something like this:
Machine A boots, gets ip <ip1>.
Machine A connects to nfsserv:/opt/
nfsserv recognises <ip1> and server /nfs/<ip1>/opt/
Machine B boots, gets ip <ip2>.
Machine B connects to nfsserv:/opt/
nfsserv recognises <ip2> and server /nfs/<ip2>/opt/
What I'm imagining here is a system where the OS consists of (lighttpd|cherokee|nginx|other esoteric lightweight webserver capable of wsgi/fcgi), python, django. Web directory stored in /opt, tce-optional dir stored in /opt (ie - extra tcz's for say, django-tagging or markdown libraries) with entries in bootlocal.sh to load these optional tcz's that may differ between servers.'
But in all honesty, have no idea how to make the magic happen on the NFS server.
Maybe if NFS can't do that sort of magic, then have a seperate entry for each netbooting machine in the PXE config would work. But that wouldn't be quite as friendly, particularly if there were enough virtual machines in the system that they didn't all fit on the one screen (Which wouldn't take many machines at all).
I dunno. Just some thoughts. Off to research NFS and see if I can answer my own questions.