active/standby

"Maverick" <[email protected]> Tue, 31 Mar 2009 11:42:29 +0100
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
This is a multipart message in MIME format.

--===============0621091984==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_001D_01C9B1F5.C63C1520"
Content-Language: pt

This is a multipart message in MIME format.

------=_NextPart_000_001D_01C9B1F5.C63C1520
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hi,

 

I've got 2 machines (lb1 and lb2) with heartbeat + ldirectord

 

On both machines the haresources is:

 

lb1        \

        ldirectord::ldirectord.cf \

        LVSSyncDaemonSwap::master \

        IPaddr2::192.168.0.4/24/eth0/192.168.0.255

 

My question is, shouldn't lb1 all ways be the master?

 

I started heartbeat on lb1 and then on lb2, then a few minutes later I
stopped heartbeat on lb1, and lb2 assumed the virtual ip and started
ldirectord.

 

Then a few minutes later i started again heartbeat on lb1, shouldn't  lb1
get the virtual ip and ldirector again?

 

In my case resources stayed on lb2, is this normal?

 

Best regards,

Ricardo.


------=_NextPart_000_001D_01C9B1F5.C63C1520
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Hi,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I&#8217;ve got 2 machines (lb1 and lb2) with =
heartbeat +
ldirectord<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>On both machines the haresources is:<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>lb1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
\<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ldirectord::ldirectord.cf \<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
LVSSyncDaemonSwap::master \<o:p></o:p></p>

<p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
IPaddr2::192.168.0.4/24/eth0/192.168.0.255<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>My question is, shouldn&#8217;t lb1 all ways be the =
master?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I started heartbeat on lb1 and then on lb2, then a =
few
minutes later I stopped heartbeat on lb1, and lb2 assumed the virtual ip =
and
started ldirectord.<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Then a few minutes later i started again heartbeat =
on lb1,
shouldn&#8217;t &nbsp;lb1 get the virtual ip and ldirector =
again?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>In my case resources stayed on lb2, is this =
normal?<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Best regards,<o:p></o:p></p>

<p class=3DMsoNormal>Ricardo.<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_000_001D_01C9B1F5.C63C1520--


--===============0621091984==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ultramonkey-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/ultramonkey-users

--===============0621091984==--