Re: [ClusterLabs] Two related Cluster

2016-05-18 Thread ‪H Yavari‬ ‪
Hi,
Thank you for reply. 
I tested the first method "multi-site cluster". it was ok with ticket manually 
assignment. But I had issues with running Booth.I tested second method 
"constraints and attributes". I make a cluster with 4 nodes and define some 
constraints for nodes. But I have problems with node relations now.
I was searching in the docs then I found 
"http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Remote/ch05.html".I
 thinks this is very close to my answer. Do you offer this solution?
Regards,H.Yavari


  From: Kristoffer Grönlund <kgronl...@suse.com>
 To: ‪H Yavari‬ ‪ <hyav...@rocketmail.com>; Cluster Labs - All topics related 
to open-source clustering welcomed <users@clusterlabs.org> 
 Sent: Wednesday, 18 May 2016, 10:36:39
 Subject: Re: [ClusterLabs] Two related Cluster
   
‪H Yavari‬ ‪ <hyav...@rocketmail.com> writes:

> Hi,
> So you think for this solution Booth is better or attribute method? I'm not 
> familiar with them so can you share your experiences with them?Many thanks.
>

I think a single cluster using node attributes should be a lot easier to
understand and maintain, so I'd recommend that solution if it works out
for you.

Cheers,
Kristoffer

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

  ___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-18 Thread Kristoffer Grönlund
‪H Yavari‬ ‪  writes:

> Hi,
> So you think for this solution Booth is better or attribute method? I'm not 
> familiar with them so can you share your experiences with them?Many thanks.
>

I think a single cluster using node attributes should be a lot easier to
understand and maintain, so I'd recommend that solution if it works out
for you.

Cheers,
Kristoffer

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-17 Thread ‪H Yavari‬ ‪
Hi,
I begin to test. So I defined 2 clusters that are include: Cluster 1: App1 and 
App3   Cluster 2: App2 and App4
Now If I want enable IPaddr as a resource on clusters, this resource will 
assign to both nodes. while ip float should run only on App3 and App4.Should I 
use constraints to limit ip float resource to only one node in each cluster? so 
I should do this for other resource too and then use Booth for CTR?Any hints or 
sample save my life :)

Regards,H.Yavari


  From: Klaus Wenninger <kwenn...@redhat.com>
 To: users@clusterlabs.org 
 Sent: Tuesday, 17 May 2016, 11:08:51
 Subject: Re: [ClusterLabs] Two related Cluster
   
On 05/17/2016 08:20 AM, ‪H Yavari‬ ‪ wrote:
> Hi,
>
> Emm I have a scenario and I'm confused. So I'm searching for the
> solutions. Can you please check this
> http://clusterlabs.org/pipermail/users/2016-April/002796.html
>
> I don't know how achieve to this? with Booth? with attribute? 2
> clusters or 1 cluster?

I would say you have 2 options:

- 1 cluster with node attributes and these dummy resources I had
described previously in the thread. (Unless
  anybody has a better idea how to tackle this).
- 2 small clusters and use booth

Which one is better depends e.g. on where your servers are located -
timing/reliability issues with certain network connections
between them?
Bringing up the booth infrastructure is of course an issue as well...

>
> Please show me a way.
>
> Many thanks.
>
> Regards,
> H.Yavari
>
>
> 
> *From:* Kristoffer Grönlund <kgronl...@suse.com>
>
>
>
> ‪H Yavari‬ ‪ <hyav...@rocketmail.com <mailto:hyav...@rocketmail.com>>
> writes:
>
> > Thank you for reply.
> > I mean when in cluster X , node A is online and node B is offline,
> in cluster Y nodes will have same status.
>
> Why do you want to have two clusters with the same set of nodes? A
> single cluster can do everything that the two clusters could. If you
> want to run certain resources on only some of the nodes, you can achieve
> this with node attributes and location constraints.
>
>
> Cheers,
> Kristoffer
>
> -- 
> // Kristoffer Grönlund
> // kgronl...@suse.com <mailto:kgronl...@suse.com>
>
>
>
>
> ___
> Users mailing list: Users@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


___
Users mailing list: Users@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


  ___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-17 Thread ‪H Yavari‬ ‪
Hi,
Thank you again. 
Servers are in one location. I read a few about Booth. But I'm afraid of 
ticketing. This servers are very sensitive. 
So with this situation you offer Booth or using attribute method??
Best Regards,H.Yavari
 

  From: Klaus Wenninger <kwenn...@redhat.com>
 To: users@clusterlabs.org 
 Sent: Tuesday, 17 May 2016, 11:08:51
 Subject: Re: [ClusterLabs] Two related Cluster
   
On 05/17/2016 08:20 AM, ‪H Yavari‬ ‪ wrote:
> Hi,
>
> Emm I have a scenario and I'm confused. So I'm searching for the
> solutions. Can you please check this
> http://clusterlabs.org/pipermail/users/2016-April/002796.html
>
> I don't know how achieve to this? with Booth? with attribute? 2
> clusters or 1 cluster?

I would say you have 2 options:

- 1 cluster with node attributes and these dummy resources I had
described previously in the thread. (Unless
  anybody has a better idea how to tackle this).
- 2 small clusters and use booth

Which one is better depends e.g. on where your servers are located -
timing/reliability issues with certain network connections
between them?
Bringing up the booth infrastructure is of course an issue as well...

>
> Please show me a way.
>
> Many thanks.
>
> Regards,
> H.Yavari
>
>
> 
> *From:* Kristoffer Grönlund <kgronl...@suse.com>
>
>
>
> ‪H Yavari‬ ‪ <hyav...@rocketmail.com <mailto:hyav...@rocketmail.com>>
> writes:
>
> > Thank you for reply.
> > I mean when in cluster X , node A is online and node B is offline,
> in cluster Y nodes will have same status.
>
> Why do you want to have two clusters with the same set of nodes? A
> single cluster can do everything that the two clusters could. If you
> want to run certain resources on only some of the nodes, you can achieve
> this with node attributes and location constraints.
>
>
> Cheers,
> Kristoffer
>
> -- 
> // Kristoffer Grönlund
> // kgronl...@suse.com <mailto:kgronl...@suse.com>
>
>
>
>
> ___
> Users mailing list: Users@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


___
Users mailing list: Users@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


  ___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-17 Thread Klaus Wenninger
On 05/17/2016 08:20 AM, ‪H Yavari‬ ‪ wrote:
> Hi,
>
> Emm I have a scenario and I'm confused. So I'm searching for the
> solutions. Can you please check this
> http://clusterlabs.org/pipermail/users/2016-April/002796.html
>
> I don't know how achieve to this? with Booth? with attribute? 2
> clusters or 1 cluster?

I would say you have 2 options:

- 1 cluster with node attributes and these dummy resources I had
described previously in the thread. (Unless
  anybody has a better idea how to tackle this).
- 2 small clusters and use booth

Which one is better depends e.g. on where your servers are located -
timing/reliability issues with certain network connections
between them?
Bringing up the booth infrastructure is of course an issue as well...

>
> Please show me a way.
>
> Many thanks.
>
> Regards,
> H.Yavari
>
>
> 
> *From:* Kristoffer Grönlund 
>
>
>
> ‪H Yavari‬ ‪ >
> writes:
>
> > Thank you for reply.
> > I mean when in cluster X , node A is online and node B is offline,
> in cluster Y nodes will have same status.
>
> Why do you want to have two clusters with the same set of nodes? A
> single cluster can do everything that the two clusters could. If you
> want to run certain resources on only some of the nodes, you can achieve
> this with node attributes and location constraints.
>
>
> Cheers,
> Kristoffer
>
> -- 
> // Kristoffer Grönlund
> // kgronl...@suse.com 
>
>
>
>
> ___
> Users mailing list: Users@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


___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-17 Thread ‪H Yavari‬ ‪
Hi,
Emm I have a scenario and I'm confused. So I'm searching for the solutions. Can 
you please check this 
http://clusterlabs.org/pipermail/users/2016-April/002796.html
I don't know how achieve to this? with Booth? with attribute? 2 clusters or 1 
cluster?
Please show me a way.
Many thanks.
Regards,H.Yavari


  From: Kristoffer Grönlund 

 
   
‪H Yavari‬ ‪  writes:

> Thank you for reply.
> I mean when in cluster X , node A is online and node B is offline, in cluster 
> Y nodes will have same status.

Why do you want to have two clusters with the same set of nodes? A
single cluster can do everything that the two clusters could. If you
want to run certain resources on only some of the nodes, you can achieve
this with node attributes and location constraints.

Cheers,
Kristoffer

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

  ___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-16 Thread ‪H Yavari‬ ‪
Thank you for reply.
I mean when in cluster X , node A is online and node B is offline, in cluster Y 
nodes will have same status.

Regards,

  From: Kristoffer Grönlund 
 
   
‪H Yavari‬ ‪  writes:

> Hi,
> I have a question, it is possible to make a relation between 2 Clusters?I 
> mean when a node changing occurs in one cluster, it happens on other cluster 
> too.
>

I'm not sure what you mean by a node changing, but there is booth [1]
which enables the transfer of resource ownership between multiple
clusters.

[1]: https://github.com/ClusterLabs/booth

Cheers,
Kristoffer

> It is accessible?
> Thanks for helps.
>
> Regards,H.Yavari
>
> ___
> Users mailing list: Users@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

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

  ___
Users mailing list: Users@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


Re: [ClusterLabs] Two related Cluster

2016-05-16 Thread Kristoffer Grönlund
‪H Yavari‬ ‪  writes:

> Hi,
> I have a question, it is possible to make a relation between 2 Clusters?I 
> mean when a node changing occurs in one cluster, it happens on other cluster 
> too.
>

I'm not sure what you mean by a node changing, but there is booth [1]
which enables the transfer of resource ownership between multiple
clusters.

[1]: https://github.com/ClusterLabs/booth

Cheers,
Kristoffer

> It is accessible?
> Thanks for helps.
>
> Regards,H.Yavari
>
> ___
> Users mailing list: Users@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

-- 
// Kristoffer Grönlund
// kgronl...@suse.com

___
Users mailing list: Users@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