Testing the Installation to date

As root...

These tests all rely upon having a working private network and /etc/hosts configured.

Test that you have passwordless access from the master node to all compute nodes and vice-versa:

root@nano:~# ssh nano01
root@nano01:~# ssh nano

Be sure to type Ctrl-D twice to get back to original login

Check that pdsh is set up and working as expected:

root@nano:~# pdsh -w nano[01-04] hostname
nano01: nano01
nano02: nano02
nano04: nano04
nano03: nano03
root@nano:~# pdsh -w nano[01-04] 'ssh nano hostname'
nano04: nano
nano03: nano
nano01: nano
nano02: nano
root@nano:~# pdsh -w nano[01-04] 'pdsh -R ssh -w nano[01-04] hostname'
nano01: nano01: nano01
nano02: nano02: nano02
nano02: nano01: nano01
nano01: nano02: nano02
nano01: nano04: nano04
nano01: nano03: nano03
nano02: nano03: nano03
nano02: nano04: nano04
nano03: nano03: nano03
nano03: nano04: nano04
nano04: nano01: nano01
nano04: nano03: nano03
nano04: nano04: nano04
nano03: nano02: nano02
nano04: nano02: nano02
nano03: nano01: nano01

Note that in the above, the -R option is needed in the second pdsh call.

Check that pdcp also works as expected:

root@nano01:~# echo "this is a test" > testfile
root@nano01:~# pdcp -w nano[01-04] /root/testfile /root/testfile
root@nano01:~# pdsh -w nano[01-04] cat /root/testfile
nano01: this is a test
nano04: this is a test
nano03: this is a test
nano02: this is a test

The above should work originating from any of the compute nodes or from the master.

Test that the /share directory is mounted throughout:

root@nano:~# df -h /share
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p1   59G   11G   46G  19% /

root@nano:~# pdsh -w nano[01-04] df -h /share
nano04: Filesystem         Size  Used Avail Use% Mounted on
nano04: 10.0.0.100:/share   59G   11G   46G  19% /share
nano01: Filesystem         Size  Used Avail Use% Mounted on
nano01: 10.0.0.100:/share   59G   11G   46G  19% /share
nano02: Filesystem         Size  Used Avail Use% Mounted on
nano02: 10.0.0.100:/share   59G   11G   46G  19% /share
nano03: Filesystem         Size  Used Avail Use% Mounted on
nano03: 10.0.0.100:/share   59G   11G   46G  19% /share

If you used /etc/fstab to mount /home, you can check that similarly. If you used the automounter, you can check that as one of the non-root users.

As a non-root user...

Test that you have passwordless access to all compute nodes from the master and vice versa:

george@nano:~$ ssh nano01
george@nano01:~$ ssh nano

Check pdsh configuration:

george@nano:~$ pdsh -w nano[01-04] hostname
nano03: nano03
nano01: nano01
nano04: nano04
nano02: nano02
george@nano:~$ pdsh -w nano[01-04] ssh nano hostname
nano01: nano
nano04: nano
nano02: nano
nano03: nano
george@nano:~$ pdsh -w nano[01-04] 'pdsh -R ssh -w nano[01-04] hostname'
nano02: nano02: nano02
nano03: nano03: nano03
nano04: nano04: nano04
nano04: nano01: nano01
nano01: nano02: nano02
nano01: nano04: nano04
nano02: nano04: nano04
nano03: nano04: nano04
nano04: nano02: nano02
nano01: nano01: nano01
nano04: nano03: nano03
nano02: nano01: nano01
nano02: nano03: nano03
nano01: nano03: nano03
nano03: nano02: nano02
nano03: nano01: nano01

Check on automount of home directories:

george@nano:~$ pdsh -w nano[01-04] df -h ~
nano02: Filesystem                    Size  Used Avail Use% Mounted on
nano02: nano.nano.local:/home/george   59G   11G   46G  19% /home/george
nano04: Filesystem                    Size  Used Avail Use% Mounted on
nano04: nano.nano.local:/home/george   59G   11G   46G  19% /home/george
nano01: Filesystem                    Size  Used Avail Use% Mounted on
nano03: Filesystem                    Size  Used Avail Use% Mounted on
nano01: nano.nano.local:/home/george   59G   11G   46G  19% /home/george
nano03: nano.nano.local:/home/george   59G   11G   46G  19% /home/george

Confirm write permission on home directory from all nodes:

george@nano:~$ ls
Desktop  examples.desktop
george@nano:~$ pdsh -w nano[01-04] touch newfile.%h
george@nano:~$ ls
Desktop  examples.desktop  newfile.nano01  newfile.nano02  newfile.nano03  newfile.nano04

Last updated