<div dir="ltr">Hello Daniel,<div>hello List,</div><div><br></div><div>for a better understanding i attached the "pcs status" and "pcs config" output - </div><div>to show up how things are located and colocated.</div><div>It maybe also nice for other people that try to do the same.</div><div><br></div><div>The Services rtpengine_service and kamailio_service running always on the same box.</div><div>The same is for the external ip (kamailio_vip_ext) and the internal ip (kamailio_vip_int).</div><div><br></div><div>[root@sipedge1 ~]# pcs status</div><div><div>Cluster name: viercom_sipedge_office_cluster1</div><div>Stack: corosync</div><div>Current DC: sipedge1 (version 1.1.16-12.el7_4.4-94ff4df) - partition with quorum</div><div>Last updated: Fri Jan 5 10:59:31 2018</div><div>Last change: Fri Jan 5 10:59:28 2018 by root via cibadmin on sipedge1</div><div><br></div><div>2 nodes configured</div><div>4 resources configured</div><div><br></div><div>Online: [ sipedge1 sipedge2 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> kamailio_vip_ext (ocf::heartbeat:IPaddr2): Started sipedge1</div><div> kamailio_vip_int (ocf::heartbeat:IPaddr2): Started sipedge1</div><div> kamailio_service (systemd:kamailio): Started sipedge1</div><div> rtpengine_service (systemd:rtpengine): Started sipedge1</div><div><br></div><div>Daemon Status:</div><div> corosync: active/enabled</div><div> pacemaker: active/enabled</div><div> pcsd: active/enabled</div><div><br></div><div>[root@sipedge1 ~]# pcs config</div><div>Cluster Name: viercom_sipedge_office_cluster1</div><div>Corosync Nodes:</div><div> sipedge1 sipedge2</div><div>Pacemaker Nodes:</div><div> sipedge1 sipedge2</div><div><br></div><div>Resources:</div><div> Resource: kamailio_vip_ext (class=ocf provider=heartbeat type=IPaddr2)</div><div> Attributes: cidr_netmask=29 ip=212.XX.XX.XX nic=bond0</div><div> Operations: monitor interval=10s (kamailio_vip_ext-monitor-interval-10s)</div><div> Resource: kamailio_vip_int (class=ocf provider=heartbeat type=IPaddr2)</div><div> Attributes: cidr_netmask=24 ip=172.20.YY.YY</div><div> Operations: monitor interval=10s (kamailio_vip_int-monitor-interval-10s)</div><div> Resource: kamailio_service (class=systemd type=kamailio)</div><div> Operations: monitor interval=10s timeout=30s (kamailio_service-monitor-interval-10s)</div><div> start interval=0 on-fail=restart timeout=30s (kamailio_service-start-interval-0)</div><div> Resource: rtpengine_service (class=systemd type=rtpengine)</div><div> Operations: monitor interval=10s timeout=30s (rtpengine_service-monitor-interval-10s)</div><div> start interval=0 on-fail=restart timeout=30s (rtpengine_service-start-interval-0)</div><div><br></div><div>Stonith Devices:</div><div>Fencing Levels:</div><div><br></div><div>Location Constraints:</div><div> Resource: kamailio_service</div><div> Resource: rtpengine_service</div><div>Ordering Constraints:</div><div> start kamailio_vip_ext then start kamailio_service (kind:Mandatory)</div><div> start kamailio_vip_int then start kamailio_service (kind:Mandatory)</div><div> start kamailio_vip_int then start rtpengine_service (kind:Mandatory)</div><div> start kamailio_vip_ext then start rtpengine_service (kind:Mandatory)</div><div>Colocation Constraints:</div><div> Resource Sets:</div><div> set kamailio_vip_int kamailio_service kamailio_vip_ext kamailio_service kamailio_vip_int rtpengine_service kamailio_vip_ext rtpengine_service setoptions score=INFINITY</div><div>Ticket Constraints:</div><div><br></div><div>Alerts:</div><div> No alerts defined</div><div><br></div><div>Resources Defaults:</div><div> No defaults set</div><div>Operations Defaults:</div><div> No defaults set</div><div><br></div><div>Cluster Properties:</div><div> cluster-infrastructure: corosync</div><div> cluster-name: viercom_sipedge_office_cluster1</div><div> dc-version: 1.1.16-12.el7_4.4-94ff4df</div><div> have-watchdog: false</div><div> no-quorum-policy: ignore</div><div> stonith-enabled: false</div><div><br></div><div>Quorum:</div><div> Options:</div></div><div><br></div><div class="gmail_extra"><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Kind Regards<br>*Karsten Horsmann*<br></div>
</div></div>