Install storm Cluster
@ [Install | storm]
Official documentation: Set storm Cluster
1. Upload the storm installation package to the server
- In 120,121,122,123
/apps/Directory Installationapache-storm-0.9.1-incubating
2. Install zookeeper
- Because zookeeper already exists on 121,123,124, Zookeeper is not installed.
3. install Java and Python
4. decompress the downloaded storm release to the nimbus and worker machines.
? Storm download
5. Modify the conf/storm. yaml configuration file.
Storm. zookeeper. Servers: Host list of zookeeper Cluster
Storm. zookeeper. servers:-"10.0.8.121"-"10.0.8.123"-"10.0.8.124" # If you modify the default port of zookeeper, you must configure storm. zookeeper. port parameter: Storm. zookeeper. port: 2181
Storm. Local. dir: Stores the status of nimbus and supervisor daemon.
storm.local.dir: "/apps/apache-storm-0.9.1-incubating/data"
Nimbus. Host: IP address of the master machine (so that worker nodes can download topology jars and confs from the master)
nimbus.host: "10.0.8.120"
Supervisor. Slots. Ports: Each worker machine runs four processes. Each process uses an independent port to receive messages.
supervisor.slots.ports: - 6700 - 6701 - 6702 - 6703
6. Start the daemon process
- Nimbus: Run on the master machine
bin/storm nimbus
- Supervisor: Run on each worker Machine
bin/storm supervisor
- Stormui: Run
/bin/storm uiEnable stormui
7. Set up stormui
- Set up stormui on 120, Port: 8080
- Access stormui through http: // 10.0.8.120: 8080
Install storm Cluster