SCAT is the Simple Cluster Administration Toolkit.

Docs Download License

Docs


Boot Control:


Layout of the /tftpboot/pxelinux.cfg directory

The /tftpboot/pxelinux.cfg/ directory is used to control the boot state of the compute nodes. Inside of this directory, there are files for each of the boot states; these files are standard pxelinux configuration files. There are also symbolic links for each node name to the boot state so that a human can immediately identify which state any node is in. There is also a symbolic link from the mac address of the node to the node name - this is the file that is requested by the node at boot time.

Example: Given a host foo01 that has the mac address 00:15:c5:f2:c6:0f that is in the boot state, the /tftpboot/pxelinux.cfg/ directory would contain the following files:

lrwxrwxrwx 1 root root   29 Mar 17 08:34 01-00-15-c5-f2-c6-0f -> foo01
lrwxrwxrwx 1 root root   27 Mar 22 13:10 foo01 -> boot
-rw-r--r-- 1 root root   38 Mar 17 08:18 boot
-rw-r--r-- 1 root root  196 Mar 18 16:00 install

createnode

createnode sets up the proper symbolic links inside of /tftpboot so that the node will be able to PXEboot from this host.
Usage:
createnode <node name> <mac address> <node type> <initial state>

example:
# createnode foo01 00:15:c5:f2:c6:0f compute boot

deletecluster


XXX docs to follow XXX

deletenode


XXX docs to follow XXX

listmac


XXX docs to follow XXX

listrange


XXX docs to follow XXX

nodels


nodels lists the hosts indicated by a noderange.
Usage:
to list all nodes from node foo01 to foo32:
# nodels foo01-foo32

listmac


listmac lists the MAC addresses associated with the given node(s).
Usage:
listmac <node range|"ALL">
to list the mac addresses from node foo01 to foo03:
# listmac foo01-foo03
foo01 00:10:dc:df:1a:01
foo02 00:10:dc:df:1a:02
foo03 00:10:dc:df:1a:03

nodeset

nodeset manipulates the symbolic links inside of /tftpboot to control the PXEboot of hosts. It can also, with the "stat" argument, list the states of hosts defined in /tftpboot.
Usage:
nodeset <noderange name> <state | "stat">

examples:
to set node foo001 to install:
# nodeset foo01 install

to check the state of node foo01:
# nodeset foo01 stat

to set nodes foo01 through foo32 to install:
# nodeset foo01-foo32 install

nodetype


XXX docs to follow XXX

restorecluster


XXX docs to follow XXX

showcluster


showcluster displays all of the information about nodes in this cluster.
Usage:
showcluster <node range|"ALL">
to list information about nodes foo01 to foo03:
# showcluster foo01-foo03
foo01 00:10:dc:df:1a:01 fileserver boot
foo02 00:10:dc:df:1a:02 compute boot
foo03 00:10:dc:df:1a:03 compute boot

Node Installation

install.sh

expandtree


Expandtree copies a directory structure expanding any (simple text) macros in the contents of files as well as in the names of those files.

Expandtree Macros:
Macros are simple textstrings enclosed in the macro designator sequence: '$$'.
The macro 'FOO' would be written as: $$FOO$$.

Example:
If we wanted to expand all of the macros in the directory SOURCE into the directory DESTINATION, expanding the macro 'FOO' into the text string "bletch", we could run expanddtree as follows:

expandtree SOURCE DESTINATION FOO=bletch

Network Install Directory Layout

Download

scat-0.1.4.tar.gz
scat-0.1.4.tar.gz.sig
scat-0.1.2.tar.gz
scat-0.1.2.tar.gz.sig
scat-0.1.1.tar.gz
scat-0.1.1.tar.gz.sig
scat-0.1.0.tar.gz
scat-0.1.0.tar.gz.sig
scat-0.0.10.tar.gz
scat-0.0.10.tar.gz.sig
scat-0.0.9.tar.gz
scat-0.0.9.tar.gz.sig
scat-0.0.8.tar.gz
scat-0.0.8.tar.gz.sig
scat-0.0.7.tar.gz
scat-0.0.7.tar.gz.sig
scat-0.0.6.tar.gz
scat-0.0.6.tar.gz.sig
scat-0.0.5.tar.gz
scat-0.0.5.tar.gz.sig
scat-0.0.3.tar.gz
scat-0.0.3.tar.gz.sig
Scat-0.0.2.tar.gz
Scat-0.0.2.tar.gz.sig