You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@storm.apache.org by Chen Junfeng <k-...@hotmail.com> on 2016/09/06 07:50:58 UTC

Pacemaker enable problem

I try to enable pacemaker following the instruction:

To get Pacemaker up and running, set the following option in the cluster config on all nodes: storm.cluster.state.store: "org.apache.storm.pacemaker.pacemaker_state_factory"

The Pacemaker host also needs to be set on all nodes: pacemaker.host: somehost.mycompany.com

And then start all of your daemons

(including Pacemaker): $ storm pacemaker

The Storm cluster should now be pushing all worker heartbeats through Pacemaker.



Do I need to start pacemaker on every node like supervisor? Or just run one pacemaker on one pacemaker server?


Regard,
Junfeng Chen


Re: Pacemaker enable problem

Posted by Paul Poulosky <pp...@yahoo-inc.com>.
One pacemaker is sufficient, and it does not have to be located on a node with a supervisor, or nimbus.  But it can be as long as there is no port conflict.
 

    On Tuesday, September 6, 2016 2:51 AM, Chen Junfeng <k-...@hotmail.com> wrote:
 

  <!--#yiv9163633271 _filtered #yiv9163633271 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv9163633271 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv9163633271 {font-family:DengXian;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv9163633271 {font-family:menlo;} _filtered #yiv9163633271 {font-family:DengXian;panose-1:2 1 6 0 3 1 1 1 1 1;} _filtered #yiv9163633271 {font-family:SimSun;panose-1:2 1 6 0 3 1 1 1 1 1;}#yiv9163633271 #yiv9163633271 p.yiv9163633271MsoNormal, #yiv9163633271 li.yiv9163633271MsoNormal, #yiv9163633271 div.yiv9163633271MsoNormal {margin:0cm;margin-bottom:.0001pt;text-align:justify;text-justify:inter-ideograph;font-size:10.5pt;font-family:DengXian;}#yiv9163633271 a:link, #yiv9163633271 span.yiv9163633271MsoHyperlink {color:blue;text-decoration:underline;}#yiv9163633271 a:visited, #yiv9163633271 span.yiv9163633271MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv9163633271 p {margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:SimSun;}#yiv9163633271 code {font-family:SimSun;}#yiv9163633271 span.yiv9163633271apple-converted-space {}#yiv9163633271 .yiv9163633271MsoChpDefault {}#yiv9163633271 _filtered #yiv9163633271 {margin:72.0pt 90.0pt 72.0pt 90.0pt;}#yiv9163633271 div.yiv9163633271WordSection1 {}-->I try to enable pacemaker following the instruction:To get Pacemaker up and running, set the following option in the cluster config on all nodes: storm.cluster.state.store: "org.apache.storm.pacemaker.pacemaker_state_factory" The Pacemaker host also needs to be set on all nodes: pacemaker.host: somehost.mycompany.com And then start all of your daemons (including Pacemaker): $ storm pacemaker The Storm cluster should now be pushing all worker heartbeats through Pacemaker.    Do I need to start pacemaker on every node like supervisor? Or just run one pacemaker on one pacemaker server?       Regard,Junfeng Chen