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