aboutsummaryrefslogtreecommitdiff
blob: 2148a2a1e4b1c5af85be1ffed2d7e772e7e76eff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Clustering template configuration file
# Eric Thibodeau June 2008

# The following is to tell pkg_config that this files has been revised
# Set it to "yes" once you're done
CONFIG_OK="no"

# PUBETH is the public-side ETH, which means dnsmasq won't listen on this
# interfaces, any other interface will be taken in charge by dnsmasq.
PUBETH="eth0"

# CLUSTER_ETH defines the interface connected to the cluster's
# _PRIVATE_ network. All relevant information is derived automatically
# from this interface's configuration to create the proper address
# mapping using net-misc/sipcalc. IMPORTANT: we assume the master
# has an IP at the start and configure DHCP to assign IPs starting 
# at MASTERIP+1.
# Here is an example using eth1:
# CLUSTER_ETH="eth1"
# You can also specify an IP/SUBNET as follows:
# CLUSTER_ETH="10.0.0.1/24"
# CLUSTER_ETH="10.0.0.1 255.255.255.0"
CLUSTER_ETH="eth1"

# Not sure we want this to be (auto)configurable since
# we are building an isolated (true) Beowulf cluster
# where the nodes aren't supposed to be accessible from
# the outside. For the same reason, we don't set up
# routing on the head server.
LOCALDOMAINNAME="gentoo.local"

# This is where the boot images and boot files are stored,
# including pxelinux and kernel stuff.
TFTPROOT="/tftproot"

# This is the location of the pxelinux.0 file used for booting.
# The file is provided by sys-boot/syslinux.
PXELINUX="${TFTPROOT}/pxelinux.0"

# This is where the NFS booted image resides, for practical reasons,
# this is kept within TFTPROOT:
NFSROOT="${TFTPROOT}/nfsroot/$(uname -m)"

# We take care of exporting the NFSROOT filesystem Read Only but you 
# also typically need the user's $HOME to be exported as RW.
# If you need to export more than 1 path, make a space speparated list:
# RWEXPORTS="/home /otherpath /andagain"
RWEXPORTS="/home "

# You might also want some read only exports like /opt/matlab64 to
# be accessible (same multiple path applies as above:
#ROEXPORTS="/opt/matlab64 "
ROEXPORTS=""

# This option give you the flexibility of defining some specific options such
# as asyc, sync, etc. Do NOT set the rw/ro options here, use the variables above.
# Refer exportfs(8) for more details:
NFSEPORTOPTS="no_root_squash,async,no_subtree_check"

# NFSMOUNTOPTS: same as above but for mounting ;)
# Again, NO ro/rw
NFSMOUNTOPTS="rsize=8192,wsize=8192,soft,intr,actimeo=120,timeo=14"