<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello everyone</div><div><br></div><div>I am new to clusters and have been playing with the above and I think I am nearly there. The one thing I am struggling with is an Active/Active Proftpd. I have tried various things and have read a lot of stuff on clusterlabs.org and various other wikis.</div><div><br></div><div>When I run crm_mon I get:</div><div><br></div><div><div>============</div><div>Last updated: Tue Dec 6 13:30:28 2011</div><div>Stack: cman</div><div>Current DC: rhel6-n2 - partition with quorum</div><div>Version: 1.1.5-5.el6-01e86afaaa6d4a8c4836f68df80ababd6ca3902f</div><div>2 Nodes configured, 2 expected votes</div><div>2 Resources configured.</div><div>============</div><div><br></div><div>Online: [ rhel6-n1 rhel6-n2 ]</div><div><br></div><div> Clone Set: WebIP [ClusterIP] (unique)</div><div> ClusterIP:0 (ocf::heartbeat:IPaddr2):<span class="Apple-tab-span" style="white-space:pre"> </span>Started rhel6-n2</div><div> ClusterIP:1 (ocf::heartbeat:IPaddr2):<span class="Apple-tab-span" style="white-space:pre"> </span>Started rhel6-n2</div><div> Clone Set: ActiveFTPSite [FTPSite]</div><div> Started: [ rhel6-n2 ]</div><div> Stopped: [ FTPSite:1 ]</div></div><div><br></div><div>I need both the IP and the FTP to be active at all times. Can this be achieved and it so how?</div><div><br></div><div>My crm config looks like this:</div><div><div>crm configure show</div><div>node rhel6-n1</div><div>node rhel6-n2</div><div>primitive ClusterIP ocf:heartbeat:IPaddr2 \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>params ip="192.168.56.111" cidr_netmask="32" clusterip_hash="sourceip" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>op monitor interval="30s"</div><div>primitive FTPSite ocf:heartbeat:proftpd \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>op monitor interval="1min"</div><div>clone ActiveFTPSite FTPSite \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>meta target-role="Started"</div><div>clone WebIP ClusterIP \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>meta globally-unique="true" clone-max="2" clone-node-max="2"</div><div>colocation ftpsite-with-webip inf: ActiveFTPSite WebIP</div><div>colocation website-with-ip inf: ActiveFTPSite WebIP</div><div>order apache-after-ip inf: WebIP ActiveFTPSite</div><div>order propftpd-after-webip inf: WebIP ActiveFTPSite</div><div>property $id="cib-bootstrap-options" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dc-version="1.1.5-5.el6-01e86afaaa6d4a8c4836f68df80ababd6ca3902f" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>cluster-infrastructure="cman" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>expected-quorum-votes="2" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>stonith-enabled="false" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>no-quorum-policy="ignore" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>last-lrm-refresh="1323178161"</div><div>rsc_defaults $id="rsc-options" \</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>resource-stickiness="100"</div></div><div><br></div><div><br></div><div>ENV:</div><div>RHEL6.1</div><div>Proftpd 1.3.4</div><div>CMAN</div><div>Corosync</div><div>Pacemaker</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Thanks</div><div><br></div><div>Kobus</div></body></html>
<pre>
Bauer Corporate Services UK LP (BCS) is a division of the Bauer Media Group the
largest consumer publisher in the UK, and second largest commercial radio
broadcaster. BCS provides financial services and manages and develops IT systems
on which our UK publishing, broadcast, digital and partner businesses depend.
The information in this email is intended only for the addressee(s) named above.
Access to this email by anyone else is unauthorised. If you are not the intended
recipient of this message any disclosure, copying, distribution or any action
taken in reliance on it is prohibited and may be unlawful. Bauer Corporate
Services do not warrant that any attachments are free from viruses or other
defects and accept no liability for any losses resulting from infected email
transmissions.
Please note that any views expressed in this email may be those of the
originator and do not necessarily reflect those of this organisation.
Bauer Corporate Services UK LP is registered in England; Registered address is
1 Lincoln Court, Lincoln Road, Peterborough, PE1 2RF.
Registration number LP13195