equal
deleted
inserted
replaced
|
1 #!/bin/sh |
|
2 |
|
3 # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 # All rights reserved. |
|
5 # This component and the accompanying materials are made available |
|
6 # under the terms of the License "Eclipse Public License v1.0" |
|
7 # which accompanies this distribution, and is available |
|
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 # |
|
10 # Initial Contributors: |
|
11 # Nokia Corporation - initial contribution. |
|
12 # |
|
13 # Contributors: |
|
14 # |
|
15 # Description: |
|
16 # |
|
17 |
|
18 # Test all nodes in a cluster |
|
19 # arguments are the list of nodes. |
|
20 |
|
21 NODELIST="$@" |
|
22 |
|
23 for i in $NODELIST; do |
|
24 ssh $i "ls -l /tmp/pvm.$UID" |
|
25 done |
|
26 |
|
27 for i in $NODELIST; do |
|
28 ( |
|
29 echo "spawn -($i) -> /bin/hostname" |
|
30 echo "spawn -($i) -> $PVM_ROOT/bin/LINUX/pvmgmake_pvm" |
|
31 echo "quit" |
|
32 ) | pvm |
|
33 done |
|
34 |
|
35 |
|
36 |