[ClusterLabs] How to set Two active servers(Masters) using Pacemaker

Andrew Beekhof andrew at beekhof.net
Sun Apr 26 21:00:12 UTC 2015


> On 23 Apr 2015, at 6:36 am, Sayed Mujtaba <mujtaba at riversilica.com> wrote:
> 
> Hi ,
> I went through the material but could not find any option to set two nodes as Active .Can someone let me know How to set two nodes as Active servers ?

Try looking up clones in the documentation

>  
> Thanks
> -Mujtaba
>  
>  
> From: Sayed Mujtaba [mailto:mujtaba at riversilica.com] 
> Sent: Wednesday, April 22, 2015 6:15 PM
> To: 'Cluster Labs - All topics related to open-source clustering welcomed'
> Subject: [ClusterLabs] How to set Two active servers(Masters) using Pacemaker
>  
> Hi ,
>  
> I am trying to form 3 node cluster using pacemaker  .  I want to take two nodes a Master (Active nodes) and one as backup node .
> Is there any configuration step to tell it have two as Active servers?
>  
> Below is snp shot of my 3 node cluster ..
>  
>  
>  
> [root at localhost ~]# pcs status
> Cluster name: mycluster
> Last updated: Wed Apr 22 05:28:27 2015
> Last change: Tue Apr 21 15:01:40 2015 via crmd on node2
> Stack: corosync
> Current DC: node2 (2) - partition with quorum
> Version: 1.1.10-32.el7_0.1-368c726
> 3 Nodes configured
> 2 Resources configured
>  
>  
> Online: [ node1 node2 node3 ]
>  
> Full list of resources:
>  
> ClusterIP      (ocf::heartbeat:IPaddr2):       Started node1
> WebSite        (ocf::heartbeat:apache):        Started node1
>  
> PCSD Status:
>   node1: Online
>   node2: Online
>   node3: Online
>  
> Daemon Status:
>   corosync: active/disabled
>   pacemaker: active/disabled
>   pcsd: active/enabled
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Users mailing list