1 |
Mt favorite way to update/manage my clusters is to use pdsh. If you |
2 |
NFS mount your portage directory then you can do this. Updates come |
3 |
in three steps: |
4 |
|
5 |
Step1: Make the package. |
6 |
emerge -bu <program/world> |
7 |
|
8 |
Step 2: Install it everywhere. |
9 |
pdsh -a emerge -buk <program/world> |
10 |
|
11 |
Step 3: Update the YACI install image. |
12 |
(This is a custom script I wrote that mounts the portage directory |
13 |
and proc on the install image directory, then runs the command |
14 |
specified in a chroot environment.) |
15 |
/tftpboot/images/chroot.sh emerge -buk <program/world> |
16 |
|
17 |
|
18 |
I actually wrap this entire process in a single script to make things |
19 |
easier =) |
20 |
|
21 |
And just FYI.. always run jobs niced =) Condor does this for you |
22 |
automatically and SGE can be made to do it with a bit of tweaking. It |
23 |
makes installs go so much faster =) |
24 |
|
25 |
|
26 |
On Jun 24, 2006, at 3:16 PM, Łukasz wrote: |
27 |
|
28 |
> I've got a question for experienced: there's a need on my univ, to |
29 |
> build a cluster. We may be given a bunch of PCs of similar |
30 |
> configuration to put them together into high performance cluster for |
31 |
> physicists. However, these PCs are supposed to be connected to the |
32 |
> external NFS as workstations, and students be allowed to login (on |
33 |
> their old accounts) and work on their projects. Is it possible to do |
34 |
> it with Gentoo? Is it possible to administrate _all_ nodes at once? |
35 |
> How would look emerge -u world, for all computers? Where to look to |
36 |
> more information? |
37 |
> |
38 |
> Regards |
39 |
> almathea |
40 |
> |
41 |
> |
42 |
> |
43 |
> -- |
44 |
> gentoo-cluster@g.o mailing list |
45 |
> |
46 |
|
47 |
|
48 |
-- |
49 |
gentoo-cluster@g.o mailing list |