Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
david78k committed Jul 7, 2013
1 parent 91ee523 commit d189999
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Running
./ape.pl [remote_ip_list_file]

[Java]
Local run:
```
java -jar ape.jar [commands]
Expand All @@ -47,16 +46,27 @@ java -cp .:log4j-1.4.12.jar ape/Main
log file: /var/log/ape.log
```

(Local run)
```
java -jar ape.jar -L -S 100 5
```
injects slow network with delay 100 milliseconds for 5 seconds.

(Remote run)
Install pdsh:
```
yum install pdsh
apt-get install pdsh
pdsh -Rssh -w cluser-ip-list.xml '/usr/local/bin/ape -L -S 100 5'
java -jar ape.jar -R node1,node2,node3 -S 100 5
creates a script to run on the remote hosts:
pdsh -Rssh -w node1,node2,node3 '/usr/local/bin/ape -L -S 100 5'
```

It seems not working as the remote hosts do no have /usr/local/bin/ape file.

Remote nodes can be specified in XML format: cluster-ip-list.xml

Currently, to create a scenario, the user constructs a shell
script specifying the types of errors to be injected or failures to be simulated, one after another. A sample line in a
scenario file could be as follows:
Expand Down

0 comments on commit d189999

Please sign in to comment.