<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 6:34 AM, Charles DeVoe <span dir="ltr"><<a href="mailto:scarecrow_57@yahoo.com">scarecrow_57@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">We are attempting to st up the cluster such that a user will be logged into the least busy node via ssh.  The configuration and crm_mon results are included here.  Is it possible to set this up such that doing an ssh to the cluster IP will put the user on one node or the other?  If so what are we missing?  Thnaks<br>
</td></tr></tbody></table></blockquote><div><br></div><div>Having them be logged into /a/ machine in this way isn't hard, just a basic IP address (no cloning or master/slave) will do that.</div><div>Getting them on to the least busy machine might be tricky though, perhaps there is a value for <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 14px; ">clusterip_hash that might give you something close.</span></div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">
<br>CONFIGURATION<br><br>node node1<br>node node2<br>primitive ClusterIP ocf:heartbeat:IPaddr2 \<br>    params ip="10.1.18.100" cidr_netmask="32" clusterip_hash="sourceip" \<br>    op monitor interval="30s"<br>
primitive WebFS ocf:heartbeat:Filesystem \<br>    params device="/dev/sde" directory="/data/SAN-VOL4" fstype="gfs2"<br>ms AlbertIp ClusterIP \<br>    meta master-max="2" master-node-max="2" clone-max="2" clone-node-max="1" notify="true"<br>
clone WedFSClone
 WebFS<br>property $id="cib-bootstrap-options" \<br>    dc-version="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5" \<br>    cluster-infrastructure="cman" \<br>    stonith-enabled="false" \<br>
    last-lrm-refresh="1323285086"<br><br>crm_mon Yields<br>============<br>Last updated: Wed Dec  7 13:48:42 2011<br>Last change: Wed Dec  7 13:48:06 2011 via cibadmin on node1<br>Stack: cman<br>Current DC: node2 - partition with quorum<br>
Version: 1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5<br>2 Nodes configured, unknown expected votes<br>4 Resources configured.<br>============<br><br>Online: [ node1 node2 ]<br><br> Clone Set: WedFSClone [WebFS]<br>
     Started: [ node2 node1 ]<br> Master/Slave Set: AlbertIp [ClusterIP]<br>     Slaves: [ node1 node2 ]<br><br><br><br></td></tr></tbody></table><br>_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br></blockquote></div><br>