Post-installation Synaps backendΒΆ

Register zookeeper /etc/init.d

ln -s /usr/share/zookeeper/bin/zkServer.sh /etc/init.d/

For Nimbus node(synaps01), update rc.d as below.

sudo update-rc.d zkServer.sh defaults 80 20
sudo update-rc.d storm-nimbus defaults 81 19
sudo update-rc.d storm-ui defaults 82 18
sudo update-rc.d synaps-noti defaults 80

For Supervisor nodes(synaps02 ~ nn), update rc.d as below.

sudo update-rc.d zkServer.sh defaults 80 20
sudo update-rc.d storm-supervisor defaults 83 17

To run storm topology on the backend cluster. Use following command on the Nimbus node(synaps01). This will submit the topology jar file to the cluster and configure StormSubmitter class to talk to the right cluster.

sudo storm jar synaps-storm-yyyy.mm.dd.jar com.spcs.synaps.PutMetricTopology topologyname

Then, you can check if the topology is running well as below.

sudo storm list

Previous topic

Install RabbitMQ Example

Next topic

Post-installation Synaps frontend

This Page