Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
huinghuang committed Mar 2, 2015
2 parents e63c63a + a86345a commit 685b1c0
Showing 1 changed file with 4 additions and 27 deletions.
31 changes: 4 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,6 @@ DriverNode.

If M is larger than 1, one more machine is needed to enable LoadBalancer.

Memory container groups and network container groups need to be disabled on each
machine. You can achieve this by archer a kernel with appropriate flags, i.e.,

```
$ archer file -m "<machine_list>" -a "cgroup_disable=net,memory" <kernel pkg>
```

## Run oldisim ##

### step 1. Start LeafNode ###
Expand All @@ -101,24 +94,14 @@ Run the following command:
$ $PATH_TO_BINARY/LeafNode
```

You can run the following for more details.
```
$ $PATH_TO_BINARY/LeafNode --help
```

### step 2. Start RootNode ###

Copy the binary (release/workloads/search/ParentNode) to all the machines
allocated for RootNode.

Run the following command:
```
$ $PATH_TO_BINARY/ParentNode --leaf=<LeafNode machine 1> ... --leaf=<LeafNode machine N>
```

You can run the following for more usage details.
```
$ $PATH_TO_BINARY/ParentNode --help
$ PATH_TO_BINARY/ParentNode --leaf=<LeafNode machine 1> ... --leaf=<LeafNode machine N>
```

### step 3. Start LoadBalancer (optional) ###
Expand All @@ -128,23 +111,17 @@ machine allocated for LoadBalancerNode.

Run the following command:
```
$ $PATH_TO_BINARY/LoadBalancerNode --parent=<RootNode machine 1> ... --parent=<RootNode machine M>
$ PATH_TO_BINARY/LoadBalancerNode --parent=<RootNode machine 1> ... --parent=<RootNode machine M>
```

You can run "$PATH_TO_BINARY/LoadBalancerNode --help" for more usage details.

### step 4. Start DriverNode ###

Copy the binary (release/workloads/search/DriverNode) to the machine
allocated for DriverNode.

Run the following command:
```
$ $PATH_TO_BINARY/DriverNode --server=<RootNode machine 1> ... --server=<RootNode machine M>
```

You can run the following for more usage details.
```
$PATH_TO_BINARY/DriverNode --help
$ PATH_TO_BINARY/DriverNode --server=<RootNode machine 1> ... --server=<RootNode machine M>
```

You can run with the '--help' flag for more usage details.

0 comments on commit 685b1c0

Please sign in to comment.