[ClusterLabs] Asterisk as a resource

2015-09-28 Thread ‪H Yavari‬ ‪
Hi,
I want to add Asterisk pbx as a rsource to pacemaker/corosync. I'm using that 
latest version (version 1.1.13-a14efad). I searched but I could find only old 
version configuration.Can you give me some hints for configs?Thanks.
Regards.


   ___
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] a newbie --question

2015-09-28 Thread ‪H Yavari‬ ‪
Hi ,
Sorry but I'm a little confused.I should create a cluster with 4 node, how each 
node will be configured? 
I should note this, that end users only work with App Z. App Y only is in 
communication with App Z.So I should define one floating IP on all nodes? or on 
2 App Z nodes?
I should configure all services that related to App Z and App Y on all nodes?
For example App Z is Apache. I should add Apache to resources on all nodes? or 
only to nodes that run this service? 

Thanks for your reply.
Regards.

  From: Michael Schwartzkopff 
Am Dienstag, 15. September 2015, 13:38:59 schrieb H Yavari‬:


> Hi,
> Thanks for reply.
> The problem is Compute resource, the appY and appZ can't run on same Server.
> It is possible ?
> Regards,

As far as I understood:

You have the applications Y and Z and the servers A, B, C and D.

The applications Y and Z cannot run on the same node.



Solution    1:
Make two clusters M (from node A and B) and Cluster N (from nodes C and D). 
Cluster M runs the application Y and Cluster N run the application Z.

Solution 2:
Make one big cluster from all four nodes and configure constraints that the 
applications will not run on the same node. Side note: Basically you only need 
three nodes in this scenario:
- application Y running on node A
- application Z running on node B
- in case of a failure of A or B the cluster starts the failed application on 
node C


Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

  ___
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


[ClusterLabs] Cannot use upstart resources

2015-09-28 Thread dan
Hi

If I do pcs resource standards 
I get:
ocf
lsb
service
upstart
stonith

But if I do pcs resource create  upstart:yyy
I get:
Error: Unable to create resource 'upstart:yyy', it is not installed on this 
system (use --force to override)

What can be the problem?
I I do strace on the above I see that it looks at:
stat("/usr/lib/ocf/resource.d/heartbeat/upstart:yyy", 0x7ffc8694f6b0) = -1 
ENOENT (No such file or directory)
stat("/usr/lib/ocf/resource.d/linbit/upstart:yyy", 0x7ffc8694f6b0) = -1 ENOENT 
(No such file or directory)
stat("/usr/lib/ocf/resource.d/pacemaker/upstart:yyy", 0x7ffc8694f6b0) = -1 
ENOENT (No such file or directory)
stat("/usr/lib/ocf/resource.d/redhat/upstart:yyy", 0x7ffc8694f6b0) = -1 ENOENT 
(No such file or directory)

Is it my version of pcs that is doing something wrong?
I am using pcs 0.9.143

   Dan


___
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