View previous topic :: View next topic |
Author |
Message |
Sigma Kappa n00b
Joined: 04 Mar 2012 Posts: 45
|
Posted: Fri Apr 05, 2013 1:09 pm Post subject: local LAN-install on for a set of identical machines |
|
|
We have a roomful of identical machines -- the same proc, etc -- and we'd like to perform gentoo installation on all the machines simultaneously. What we need is some article that describes this process, or some similar process. We've searched the web, theyn are saying "Samba or NFS installation". So that means we install gentoo on server, and then install again using that server?
Thanks. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54096 Location: 56N 3W
|
Posted: Fri Apr 05, 2013 6:03 pm Post subject: |
|
|
Sigma Kappa,
Heres a thumbnail sketch ...
Choose one machine as master and the others as slaves.
Get them all as far as networking working, a stage3 tarball installed and into the chroot.
Install distcc on each machine.
In the slaves, configure and start distccd, so all the slaves are listening to the master.
On the master, do a normal Gentoo handbook install except.
Be sure to set in FEATURES.
Set MAKEOPS="-jX" where X is the total number of CPU cores in all the slaves.
With these settings the master will keep binary copies of every package built, which you can later share with the slaves
The master becomes a BINHOST.
All the slaves take part is the build process as distcc sends jobs over the network to be compiled on the slaves. The master node should not do any building, it always has to run the linker and it may have to run all the configures too, so it still has plenty to do.
Read up about distcc, rsync, NFS and BINHOSTS.
When you have an install you like, you can share it with the other nodes in several ways.
Set up the slaves to point the the master as a BINHOST then use emerge -K to install exactly what you installed on the master. At this time they will need access to the identical portage tree as on the master. They can sync to the master or it can be shared over NFS.
All machines can be both masters and slaves but thats a detail that obscures the above explaination, so I have used one master and lots of slaves.
This isn't quite the question you asked. Here all the machines contribute to a single install, which you then distribute. This single install is put together with a view to later distribution. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|