<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1446888499284_3284"><font size="3" id="yui_3_16_0_1_1446888499284_3578">Hello, i am new to Pacemaker and have a question concerning how to have my cluster services aware of the state and location of the other services in the cluster. </font></div><div id="yui_3_16_0_1_1446888499284_3284"><font size="3"><br></font></div><div id="yui_3_16_0_1_1446888499284_3284"><font size="3">Example:</font></div><div id="yui_3_16_0_1_1446888499284_3284"><font size="3"><br></font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3403"><font size="3">Service A is running on Host X</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3403"><font size="3">Service B1 is running on Host X</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3403"><font size="3" id="yui_3_16_0_1_1446888499284_3644">Service B2 is running on Host Y</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3423"><br></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3423"><font size="3" id="yui_3_16_0_1_1446888499284_3583">Which API would allow my Service A to send IPC messages to services B1 and B2 in a round robin manner?</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3431"><font size="3" id="yui_3_16_0_1_1446888499284_3564">(for example how Service A would be aware of which B is up and active (B1, B2 or both), and how A would even be able to know on which host B1 or B2 is running?)</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3431"><font size="3"><br></font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" id="yui_3_16_0_1_1446888499284_3431"><font size="3" id="yui_3_16_0_1_1446888499284_3676">It looks very basic but i cannot find information on this on clusterlabs.org</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" dir="ltr" id="yui_3_16_0_1_1446888499284_3439"><font size="3"><br></font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" dir="ltr" id="yui_3_16_0_1_1446888499284_3439"><font size="3" id="yui_3_16_0_1_1446888499284_3549">Is there basic tutorial that would explain how to achieve this ? (I guess i would need to link my service binaries with some pacemaker /corosync libs and use some API ?)</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" dir="ltr" id="yui_3_16_0_1_1446888499284_3439"><font size="3"><br></font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" dir="ltr" id="yui_3_16_0_1_1446888499284_3439"><font size="3" id="yui_3_16_0_1_1446888499284_3737">Thanks for helping out,</font></div><div class="" style="text-indent: -7px; padding-left: 7px; word-wrap: break-word;" dir="ltr" id="yui_3_16_0_1_1446888499284_3439"><font size="3"><br></font></div></div></body></html>