sbsv2/raptor/test/cluster/README
author jjkang
Fri, 25 Jun 2010 18:37:20 +0800
changeset 602 3145852acc89
permissions -rw-r--r--
add releasing to new structure
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
602
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     1
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     2
Testing a Cluster to See if it is Correctly Configured
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     3
--------------------------------------------------------
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     4
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     5
The tests in this directory can be seen only as examples of how to test a cluster.  They would have to be customised before use on any particular cluster.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     6
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     7
The tests here are aimed at:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     8
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     9
1) Testing that the configuration of each nodes and that services such as NIS,DNS and NTP are configured.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    10
  This requires that logins for the current user work on all nodes.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    11
2) Checking that raptor-relevant software is installed and that the compiler can obtain licenses.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    12
3) Testing that PVM is installed and will run without crashing (solves a problem that has occurred in the past).
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    13
4) Tests that PVM can run commands on all nodes.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    14
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    15
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    16
Typically one would run headtest.sh which performs the tests relating to items 1-3. It causes "nodetest.sh" to be run on all nodes.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    17
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    18
e.g.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    19
	./headtest.sh node1 node2 node3
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    20
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    21
pvmtest.sh can be used to check that pvm is working by running the compiler on each node via pvm.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    22
	./pvmtest node1 node2 node3
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    23
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    24
None of these tests is automatic - one must simply observe the output.