Gentoo Archives: gentoo-cluster

From: Donnie Berkholz <spyderous@g.o>
To: gentoo-cluster@l.g.o
Subject: Re: [gentoo-cluster] Gentoo clustering "à la" www.clustermatic.org (PXE booted nodes)
Date: Sun, 20 Nov 2005 04:48:29
Message-Id: 437FFFF9.9020804@gentoo.org
In Reply to: Re: [gentoo-cluster] Gentoo clustering "à la" www.clustermatic.org (PXE booted nodes) by Mathias Weigt
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Mathias Weigt wrote:
5 | Donnie Berkholz wrote:
6 |> What exactly do you want more detail about?
7 |
8 |
9 | "They boot to an initrd containing busybox, then proceed to mount
10 | necessary bits from a read-only NFS export and other bits via tmpfs
11 | where they need to write, then pivot_root into the new NFS root."
12 |
13 | I'd like like some instructions how to do these things you wrote above.
14 | If you don't like to write a huge essay, I don't mind getting it step
15 | by step.
16
17 A linuxrc file does all sorts of stuff. linuxrc is a file within an
18 initrd that gets automatically executed when booting into the initrd.
19 The initial, skeletal linuxrc downloads a more complex script called
20 linuxrc.real from the NFS server and executes that.
21
22 The more complex script mounts a number of NFS exports (/ and so on),
23 then mounts tmpfs for the areas that need write permissions (chunks of
24 /var and so forth). Another option here would be a unionfs, but I
25 haven't looked into it.
26
27 Originally, I got both of them from xmerlin (another dev), and modified
28 them a bit to fit my circumstances. I'll look around a bit to see
29 whether I can find them, and send them along.
30
31 Another thing you'll want to look into at this point is using initramfs
32 instead of initrd. initramfs is initrd's successor and operates a bit
33 differently.
34
35 Thanks,
36 Donnie
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v1.4.2 (GNU/Linux)
39
40 iD8DBQFDf//4XVaO67S1rtsRAs96AKCx9wBPSplknmDund3Pj98CufCu0gCePpP8
41 aVhbOADoW+2ZBSLkmdxaCNw=
42 =4Hi0
43 -----END PGP SIGNATURE-----
44 --
45 gentoo-cluster@g.o mailing list

Replies

Subject Author
Re: [gentoo-cluster] Gentoo clustering "à la" www.clustermatic.org (PXE booted nodes) "Stéphane Lacasse" <stephane@×××××××××××.com>