THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Info |
---|
This information related to Ambari when managing HDP 2.1 with the Storm service. |
NOTE: Running under supervision is only supported for Nimbus Server and Supervisors.
Step 1 - Stop all Storm components
Use ambari ui Dashboard Ambari Web Services -> Storm -> Service Actions -> Stop and wait until they it gets stopped. stop completes.
Step 2 - Stop Ambari Server
No Format |
---|
ambari-server stop |
Step 3 - Change Supervisor and Nimbus
...
command scripts in the Stack definition
On Ambari server Server host run:
No Format |
---|
sed -ir "s/scripts\/supervisor.py/scripts\/supervisor_prod.py/g" /var/lib/ambari-server/resources/stacks/HDP/2.1/services/STORM/metainfo.xml sed -ir "s/scripts\/nimbus.py/scripts\/nimbus_prod.py/g" /var/lib/ambari-server/resources/stacks/HDP/2.1/services/STORM/metainfo.xml |
Step 4 - Install Supervisord on all Nimbus
...
and Supervisor hosts
Install epel EPEL repository
No Format |
---|
yum install epel-release -y |
...
No Format |
---|
chmod 600 /etc/supervisord.conf |
...
Step 5 - Configure supervisord to supervise Nimbus Server and Supervisors
Append the following to /etc/supervisord.conf on all Supervisor host and Nimbus hosts accordingly
...
NOTE: Change /usr/jdk64/jdk1.7.0_45 accordingly to location of the jdk for Ambari
...
Step 6 - Start Ambari Server
...