• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1locktest.py script aims to help deploying and running locktests over multiple NFS
2clients accessing the same server.
3
4The source code of NFS client test is in ./deploy/locktests.tar.gz
5
6Setting 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
15Example:
16./locktests.py --setup -c client1 client2 client3 -s NFS_Server:/exported/directory
17
18
19Running lock test over several test machines.
20=============================================
21Run 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
29Example:
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@ext.bull.net
37
38