[ClusterLabs] dynamic adding nodes

2015-10-08 Thread Vijay Partha
how to add a node dynamically using cman? could someone help me out by telling the commands and how is it achieved? thanks and regards P.Vijay ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home:

Re: [ClusterLabs] creating a resource on a specific node

2015-10-03 Thread Vijay Partha
can I set target-role along with create command? after I give create command the resource starts. after create command only I am able to set target-role property. On 3 Oct 2015 20:17, "Jorge Fábregas" <jorge.fabre...@gmail.com> wrote: > On 10/03/2015 10:27 AM, Vijay Partha wro

[ClusterLabs] Adding and removing a node dyamically

2015-10-02 Thread Vijay Partha
Hi, I would like to add and remove a node dynamically in pacemaker. What commands are to be given for this to be done. Thanking you -- With Regards P.Vijay ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
For example. Lets have a cluster of 2 nodes node A and node B. Say on node A i have resource A running. If node A goes down i dont want the resource A to start on node B. On Thu, Oct 1, 2015 at 8:18 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > On Thu, Oct 1, 2015 at 5:30 PM, Vij

[ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
Hi, I want to know how to disable failover. If a node undergoes a failover the resources running on the node should not be started on the other node in the cluster. How can this be achieved. -- With Regards P.Vijay ___ Users mailing list:

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
I want this to be done on permanent basis. Could you tell me the constaints that has to be given for this to be achieved. On Thu, Oct 1, 2015 at 8:36 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > On Thu, Oct 1, 2015 at 5:54 PM, Vijay Partha <vijaysarath...@gmail.

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
i want pacemaker to monitor the resources running on each node and at the same time restart it. It should run on the same node. On Thu, Oct 1, 2015 at 9:17 PM, Kai Dupke <kdu...@suse.com> wrote: > On 10/01/2015 05:35 PM, Vijay Partha wrote: > > Could u help me out on this pleas

Re: [ClusterLabs] disable failover

2015-10-01 Thread Vijay Partha
Could u help me out on this please. On Thu, Oct 1, 2015 at 8:38 PM, Vijay Partha <vijaysarath...@gmail.com> wrote: > I want this to be done on permanent basis. Could you tell me the > constaints that has to be given for this to be achieved. > > On Thu, Oct 1, 2015 at 8:36 PM

[ClusterLabs] Failure of apache services

2015-08-05 Thread Vijay Partha
Hi. this is my pcs status Online: [ node1 node2 ] Full list of resources: WebSite(ocf::heartbeat:apache):Started node1 Failed actions: WebSite_start_0 on node2 'unknown error' (1): call=28, status=complete, last-rc-change='Wed Aug 5 08:26:47 2015', queued=0ms, exec=3158ms

Re: [ClusterLabs] Disabling resources and adding apache instances

2015-08-05 Thread Vijay Partha
' is not defined This is the error that i got after location constraint and ClusterIP started on node1 . On Wed, Aug 5, 2015 at 12:37 PM, Andrei Borzenkov arvidj...@gmail.com wrote: On Wed, Aug 5, 2015 at 9:23 AM, Vijay Partha vijaysarath...@gmail.com wrote: Hi, I have 2 doubts. 1.) If i

[ClusterLabs] Resource dependencies

2015-08-03 Thread Vijay Partha
Hi, Is these possible to do in pacemaker and how can it be done? 1) Service dependency: that is if there are two programs, we should be able to define that Prog-B depends on Prog-A, and hence Pacemaker should start them in the correct order. 2) Boot time support: if a machine/cluster

[ClusterLabs] Multiple apache services running

2015-07-29 Thread Vijay Partha
Hi. Victor, Whatever you said i had tried and got it working. Thank you. Could you guys answer the following questions please? 1.) I have 2 apache services running on the same node. If the services go down can pacemaker restart it? 2.) I have 2 apache services running on different nodes. Can i