Skip to content

Commit

Permalink
document co-run zookeeper and bookie on same machine (apache#3242)
Browse files Browse the repository at this point in the history
### Motivation

Issue: apache#3213

### Modifications

update the readme to highlight this part

### Result

After your change, what will change.
  • Loading branch information
foreversunyao authored and sijie committed Dec 24, 2018
1 parent f24a0b1 commit c3a7d6a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions site2/docs/deploy-bare-metal.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ Once each server has been added to the `zookeeper.conf` configuration and has th
$ bin/pulsar-daemon start zookeeper
```

> If you are planning to deploy zookeeper with bookie on the same node, you
> need to start zookeeper by using different stats port.
Start zookeeper with [`pulsar-daemon`](reference-cli-tools.md#pulsar-daemon) CLI tool like:

```bash
$ PULSAR_EXTRA_OPTS="-Dstats_server_port=8001" bin/pulsar-daemon start zookeeper
```

## Initializing cluster metadata

Once you've deployed ZooKeeper for your cluster, there is some metadata that needs to be written to ZooKeeper for each cluster in your instance. It only needs to be written **once**.
Expand Down

0 comments on commit c3a7d6a

Please sign in to comment.