All pastes #743271 Raw Edit

etc_config_chemjeff

public text v1 · immutable
·published 2007-10-20 08:38 UTC
rendered paste body
#  Sample Scyld Beowulf Configuration file
#
# $Id: beowulf_config.in,v 1.12 2006/02/25 04:27:23 vcastro Exp $
#
# This file contains the cluster configuration.
# Details of the syntax and semantics are covered in the
# Scyld Beowulf Administrators Guide.
#

# Define the network interface on the master that will be used
# to reach the compute nodes.
# interface <IFNAME>
#  This specifies the network interface connected to the compute nodes.
#  This interface should have a static IP address and netmask, set
#  using the standard method for the base OS distribution.
#  On Red Hat-based systems, this is set by ifcfg-* scripts
#  in the /etc/sysconfig/network-scripts directory.
#  If a firewall is used, this interface MUST be set as completely trusted.

interface eth1

# If nodes network boot on a different interface than they operate on,
# use 'pxeinterface <IFNAME>' to specify that the boot image server should
# listen there instead of the cluster interface.
#  pxeinterface eth2

# If nodes need to reach IP addresses beyond the master and outside the
# cluster, use 'ipforward yes' to enable NAT forwarding on the master.
#  ipforward yes

# Define the IP addresses of cluster compute nodes.
# iprange <BASE-IPADDR> <FINAL-IPADDR>
#   Range of IP addresses for the nodes, inclusive
# nodes <NODECOUNT>
#   The count of nodes in the cluster, taking precedence over the
#   upper limit of the range.

nodes 29
iprange 192.168.0.2 192.168.0.30

# Default node assignment policy, for recognizing new MAC addresses
# and automagically adding to the cluster by assigning them node numbers.
# Choice of policies: "manual" "append" "insert" "locked"
#  manual: Do not automatically assign node numbers.
#   The MAC addresses will appear as new unknown addresses in the Beosetup
#   GUI, so the user can manually manipulate them as desired.
#  append: Automatically assign a new node number, higher than
#   the other node numbers already assigned.  Gaps will be preserved.
#  insert: As "append", but automatically assigns the lowest possible
#   node number that is available.  Gaps will be filled in.
#  locked: Unrecognized MAC addresses will be completely ignored,
#   packets from them will be dropped (use with caution).

nodeassign append

# Default libraries.
# These are the libraries which will automagically be made available to the
# compute nodes.
libraries /lib
libraries /lib/tls
libraries /usr/lib
libraries /usr/X11R6/lib
libraries /usr/lib
libraries /usr/lib/MPICH/p4/gnu
libraries /usr/lib/MPICH/vapi/gnu

# The compute node file system creation and consistency checking policies.
fsck full
mkfs never

# Use IPMI to power-off/reboot the nodes ?
# Not all IPMI implementations are equally robust, so we disable IPMI
# by default.
# usage:
#  ipmi enabled | disabled
ipmi disabled


# Default location and parameters of phase 2 boot images.
# Different node numbers may boot different images by providing an
# optional node number or node range.
# As an example, to test nodes 6-9 and node 23 with an alternate kernel:
#  kernelimage 6-9,23 /boot/myalternatevmlinuz
# Note that BProc requires a consistent kernel on all compute nodes.
# Use a value of "none" to disable usage of an initrd or command line.
# As an example, to run Memtest86 on node 42, without affecting the
# boot sequence of other nodes in the cluster:
#  kernelimage 42 /var/beowulf/boot/memtest86.bin
#  initrdimage 42 none
#  kernelcommandline 42 none
# The location of the rootfs filesystem, to be downloaded by the nodes,
# is determined by the "image=" parameter of the kernelcommandline.

kernelimage /boot/vmlinuz
initrdimage /var/beowulf/boot/computenode.initrd
kernelcommandline apm=power-off rw root=/dev/ram0 image=/var/beowulf/boot/computenode.rootfs


# uncomment these lines to use IPMI to control
# the node wake, alert, and down states.
# Use a value of "none" to use default behavior.
# As an example, if node 42 has a broken IPMI
# implementation, the following will use
# the default Scyld "ether-wake" to wake the node
# and IPMI commands for all other node state changes.
#
#nodewake /usr/lib/beoboot/bin/node_wake_ipmi
#nodewake 42 none
#nodedown /usr/lib/beoboot/bin/node_down_ipmi
#nodealert /usr/lib/beoboot/bin/node_alert_ipmi


# Define the default network ports used by the file transport services.
# The default values do not need to be modified for the single-master case.
server tcp 1556
# The initial VMA object (file, library or process image) transport method.
# A replacement transport method may be configured in boot phase 3.
transportmode tcp

# These are the modules to include in the phase 1 and 2 boot images.
# This should generally include network protocol and device drivers only,
# as all other driver types, e.g. disk and filesystem, are loaded from the
# Beowulf master after boot.

# This list may be trimmed to reduce the size of the boot images,
# In the case where more than one module can provide a driver
# for a device, e.g., tg3 and bcm5700, the last module listed will be used.

# PCI Fast Ethernet (ne2k-pci is 10Mbps only)
#bootmodule 3c59x dmfe e100 epic100 8139too
#bootmodule natsemi ne2k-pci pcnet32 sis900 starfire
#bootmodule sundance tlan tulip via-rhine winbond-840 yellowfin

# The  3c90x, de4x5, e100, and 8139too drivers are redundant/alternatives.

# PCI Gigabit Ethernet.  Note that the AceNIC firmware is very large.
#bootmodule acenic hamachi e1000 # ns820 intel-gige

# these three probably work for 90% of all current systems.
bootmodule e100
bootmodule e1000
bootmodule sk98lin
# The TG3 is a community version of the vendor supplied BCM5700 driver, both are
# open source, but the tg3 driver is in the kernel tree. You probably only need
# one of them.
bootmodule tg3
# bootmodule bcm5700 # this change was made on 09/29/2006 as per update3 documentation
# by Michael S. Newton


# For VMware
bootmodule pcnet32

# Here we specify cluster machines by their MAC addresses.
# Nodes are numbered sequentially, with the first 'node' line being node 0.
#   node 00:11:22:00:00:00      # Node 0
#   node                        # No node 1
#   node 00:11:22:00:00:02      # Node 2
#   node 00:11:22:00:00:0A 00:01:22:00:00:0B # Node with two MAC addresses

node 00:30:48:83:56:F6 00:30:48:83:56:F7
node 00:30:48:83:57:00 00:30:48:83:57:01
node 00:30:48:83:E8:F2 00:30:48:83:E8:F3
node 00:30:48:83:E8:F6 00:30:48:83:E8:F7
node 00:30:48:83:65:64 00:30:48:83:65:65
node 00:30:48:83:65:3C 00:30:48:83:65:3D
node 00:30:48:83:65:3A 00:30:48:83:65:3B
node 00:30:48:83:65:68 00:30:48:83:65:69
node 00:30:48:83:65:6E 00:30:48:83:65:6F
node 00:30:48:83:57:02 00:30:48:83:57:03
node 00:30:48:83:65:42 00:30:48:83:65:43
node 00:30:48:83:65:6C 00:30:48:83:65:6D
node 00:0E:0C:6B:27:3D 00:0E:0C:6B:27:3C
node 00:0E:0C:6B:26:3B 00:0E:0C:6B:26:3A
node 00:0E:0C:6B:27:CF 00:0E:0C:6B:27:CE
node 00:0E:0C:6B:27:CD 00:0E:0C:6B:27:CC
node 00:0E:0C:6B:25:FD 00:0E:0C:6B:25:FC
node 00:0E:0C:6B:27:8D 00:0E:0C:6B:27:8C
node 00:0E:0C:6B:27:C7 00:0E:0C:6B:27:C6
node 00:0E:0C:6B:25:73 00:0E:0C:6B:25:72
node 00:0E:0C:6B:27:AB 00:0E:0C:6B:27:AA
node 00:0E:0C:6B:27:99 00:0E:0C:6B:27:98
node 00:0E:0C:6B:25:97 00:0E:0C:6B:25:96
node 00:0E:0C:4B:6D:3F 00:0E:0C:4B:6D:3E
node 00:0E:0C:6B:26:03 00:0E:0C:6B:26:02
node 00:0E:0C:4B:6E:85 00:0E:0C:4B:6E:84
node 00:0E:0C:6B:27:B1 00:0E:0C:6B:27:B0
node 00:0E:0C:6B:25:17 00:0E:0C:6B:25:16