3 This program tests the behavior of FT aware client when there
4 is a fault in the server.
6 First, you can test the behavior of client when it works with
7 a simple single profile IOR (not IOGR).
9 To test server crashing down (aborting) in the middle of the RPC:
10 $./server -o file1.ior -k KEY1
11 $./Manager -a file://file1.ior -k KEY1 -c g.ior
13 To test server gracefully shutting down in the middle of the RPC:
14 $./server -o file1.ior -k KEY1
15 $./Manager -a file://file1.ior -k KEY1 -c g.ior -s
17 You can also test behavior of client when using IOGR with two servers
18 by supplying -g as the option to Manager.
20 To test servers crashing down (aborting) in the middle of the RPC:
21 $./server -o file1.ior -k KEY1
22 $./server -o file2.ior -k KEY2
23 $./Manager -a file://file1.ior -k KEY1 -b file://file2.ior -l KEY2 -c g.ior -g
25 To test one of two serversshutting down in the middle of the RPC:
26 $./server -o file1.ior -k KEY1
27 $./server -o file2.ior -k KEY2
28 $./Manager -a file://file1.ior -k KEY1 -b file://file2.ior -l KEY2 -c g.ior -g -s
30 The complete test can be run by run_test.pl.
31 The script exits with error code != 0 in case of error.