[Pacemaker] Floating IP Address
Gopalakrishnan N
gopalakrishnan.an at gmail.com
Tue Jul 23 03:38:45 CEST 2013
It supposed to be Master/Salve concept... if am not wrong...
Let me try with DRBD and GFS setup... .
On Mon, Jul 22, 2013 at 10:09 PM, Gopalakrishnan N <
gopalakrishnan.an at gmail.com> wrote:
> Now I got one more issue, when I stop the complete pacemaker application,
> the other one node automatically projects me the http service.
>
> But when I stop the http service alone in one node which is pointing to
> ClusterIP, the page is not opening.
>
> Basically, the crm_mon -1 shows it is always pointed to node1,
>
> [root at pcmk-2 ~]# crm_mon -1
> Last updated: Mon Jul 22 20:33:47 2013
> Last change: Sat Jul 20 02:21:28 2013 via crm_shadow on pcmk-2
> Stack: cman
> Current DC: pcmk-1 - partition with quorum
> Version: 1.1.8-7.el6-394e906
> 3 Nodes configured, 2 expected votes
> 5 Resources configured.
>
>
> Online: [ pcmk-1 pcmk-2 ]
> OFFLINE: [ localhost.localdomain ]
>
> Clone Set: WebIP [ClusterIP] (unique)
> ClusterIP:0 (ocf::heartbeat:IPaddr2): Started pcmk-1
> ClusterIP:1 (ocf::heartbeat:IPaddr2): Started pcmk-1
> Clone Set: WebSiteClone [WebSite]
> Started: [ pcmk-1 ]
> Stopped: [ WebSite:1 WebSite:2 ]
>
> So the problem is when I stop http service in pcmk-1, its not point
> automatically to node2 i.e.pcmk-2.
>
> I didn't configured DRBD and GFS2 filesystem. Will that matters?
>
> Regards
>
>
> On Sat, Jul 20, 2013 at 4:35 AM, Gopalakrishnan N <
> gopalakrishnan.an at gmail.com> wrote:
>
>> Finally did a test setup without DRBD its working fine with Apache
>> services, now need to work out for my application, my application works
>> with Apache Tomcat.
>>
>> Will enjoy my weekend.... :D
>>
>>
>> On Fri, Jul 19, 2013 at 2:26 AM, Gopalakrishnan N <
>> gopalakrishnan.an at gmail.com> wrote:
>>
>>> Thank you for your valuable information. ..:)
>>> On 19 Jul 2013 02:09, "Digimer" <lists at alteeve.ca> wrote:
>>>
>>>> Be sure to enable and use stonith!
>>>>
>>>> This is extremely important to avoid split-brains, and something many
>>>> people skip at first, not properly appreciating the important role stonith
>>>> plays.
>>>>
>>>> digimer
>>>>
>>>> On 18/07/13 16:29, Gopalakrishnan N wrote:
>>>>
>>>>> ok thanks.. then let me start with basic functional Active/Passive node
>>>>> sync with example... (Apache)
>>>>>
>>>>> Once again thanks...
>>>>>
>>>>>
>>>>> On Fri, Jul 19, 2013 at 1:54 AM, Digimer <lists at alteeve.ca
>>>>> <mailto:lists at alteeve.ca>> wrote:
>>>>>
>>>>> If periodic rsync does the job, then no, you don't need drbd.
>>>>>
>>>>>
>>>>> On 18/07/13 16:12, Gopalakrishnan N wrote:
>>>>>
>>>>> Thanks for your comments...
>>>>>
>>>>> Ok better I can do rync periodically in crontab.
>>>>>
>>>>> I will take up with crm itself, and still i have doubt that do
>>>>> I
>>>>> need to
>>>>> use DRBD...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 19, 2013 at 1:34 AM, Digimer <lists at alteeve.ca
>>>>> <mailto:lists at alteeve.ca>
>>>>> <mailto:lists at alteeve.ca <mailto:lists at alteeve.ca>>> wrote:
>>>>>
>>>>> On 18/07/13 15:56, Gopalakrishnan N wrote:
>>>>>
>>>>> And I have some configuration files where it has to
>>>>> sync
>>>>> automatically
>>>>> and when the primary goes down, the secondary has to
>>>>> come UP
>>>>> automatically.
>>>>>
>>>>>
>>>>> This confuses me a little. I don't use asterix or MySQL,
>>>>> so
>>>>> I don't
>>>>> know what they need. If you need to keep files in sync
>>>>> between the
>>>>> nodes at all times, you need shared storage with a
>>>>> cluster file
>>>>> system. If you only change the files periodically though,
>>>>> you can
>>>>> manually rsync the updated configs yourself and avoid
>>>>> this.
>>>>>
>>>>>
>>>>> --
>>>>> Digimer
>>>>> Papers and Projects: https://alteeve.ca/w/
>>>>> What if the cure for cancer is trapped in the mind of a
>>>>> person
>>>>> without access to education?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Digimer
>>>>> Papers and Projects: https://alteeve.ca/w/
>>>>> What if the cure for cancer is trapped in the mind of a person
>>>>> without access to education?
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Digimer
>>>> Papers and Projects: https://alteeve.ca/w/
>>>> What if the cure for cancer is trapped in the mind of a person without
>>>> access to education?
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20130723/64073d1d/attachment-0001.html>
More information about the Pacemaker
mailing list