Home | History | Annotate | Download | only in locks
      1 locktest.py script aims to help deploying and running locktests over multiple NFS
      2 clients accessing the same server.
      3 
      4 The source code of NFS client test is in ./deploy/locktests.tar.gz
      5 
      6 Setting up lock test with several test machines.
      7 ================================================
      8 ./locktests.py --setup -c <machine1> [machine2 ...] -s <my_nfs_server>:</>
      9 
     10 --setup                    : Option to setup the test
     11 -c <machine> [...]         : Setup test on these clients
     12 -s <server>:<mountpoint>   : NFS server to use, followed by full directory to mount
     13 
     14 
     15 Example:
     16 ./locktests.py --setup -c client1 client2 client3 -s NFS_Server:/exported/directory
     17 
     18 
     19 Running lock test over several test machines.
     20 =============================================
     21 Run test on already configured test machines.
     22 ./locktests.py -n <pid> -f <file> -c <machine1> [machine2 ...]
     23 
     24 -n <process_id>     : Process number each test machine will lauch to perform the test
     25 -f <file>           : Test file. That must be the same on each machine
     26 -c <machine> [...]  : Clients. run tests from this clients
     27 
     28 
     29 Example:
     30 ./locktests.py -n 50 -f /mnt/nfsv4/testfile -c testmachine1 testmachine2
     31 
     32 
     33 
     34 _________________________________
     35  Vincent ROQUETA - Bull SA - 2005
     36  vincent.roqueta (a] ext.bull.net
     37 
     38