Re: [ClusterLabs] mail server (postfix)

2016-06-06 Thread Dimitri Maziuk
On 06/06/2016 03:04 AM, Vladislav Bogdanov wrote: ... > 5) promote service on nodeB - replace config and internally reload/restart > 6) start VIP on nodeB > > 1-2 and 5-6 pairs may need to be reversed if you bind service to a > specific VIP (instead of listening on INADDR_ANY). Yeah, that could

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Vladislav Bogdanov
07.06.2016 02:20, Ken Gaillot wrote: On 06/06/2016 03:30 PM, Vladislav Bogdanov wrote: 06.06.2016 22:43, Ken Gaillot wrote: On 06/06/2016 12:25 PM, Vladislav Bogdanov wrote: 06.06.2016 19:39, Ken Gaillot wrote: On 06/05/2016 07:27 PM, Andrew Beekhof wrote: On Sat, Jun 4, 2016 at 12:16 AM,

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Andrew Beekhof
On Tue, Jun 7, 2016 at 9:07 AM, Ken Gaillot wrote: > On 06/06/2016 05:45 PM, Adam Spiers wrote: >> Adam Spiers wrote: >>> Andrew Beekhof wrote: On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: > Ken

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Andrew Beekhof
On Tue, Jun 7, 2016 at 8:45 AM, Adam Spiers wrote: > Adam Spiers wrote: >> Andrew Beekhof wrote: >> > On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: >> > > Ken Gaillot wrote: >> > >> My main

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Ken Gaillot
On 06/06/2016 03:30 PM, Vladislav Bogdanov wrote: > 06.06.2016 22:43, Ken Gaillot wrote: >> On 06/06/2016 12:25 PM, Vladislav Bogdanov wrote: >>> 06.06.2016 19:39, Ken Gaillot wrote: On 06/05/2016 07:27 PM, Andrew Beekhof wrote: > On Sat, Jun 4, 2016 at 12:16 AM, Ken Gaillot

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Ken Gaillot
On 06/06/2016 05:45 PM, Adam Spiers wrote: > Adam Spiers wrote: >> Andrew Beekhof wrote: >>> On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: Ken Gaillot wrote: > My main question is how useful would it

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Adam Spiers
Adam Spiers wrote: > Andrew Beekhof wrote: > > On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: > > > Ken Gaillot wrote: > > >> My main question is how useful would it actually be in the proposed use > > >> cases.

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Adam Spiers
Andrew Beekhof wrote: > On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: > > Ken Gaillot wrote: > >> On 06/02/2016 08:01 PM, Andrew Beekhof wrote: > >> > On Fri, May 20, 2016 at 1:53 AM, Ken Gaillot wrote: > >>

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Andrew Beekhof
On Tue, Jun 7, 2016 at 8:29 AM, Adam Spiers wrote: > Ken Gaillot wrote: >> On 06/02/2016 08:01 PM, Andrew Beekhof wrote: >> > On Fri, May 20, 2016 at 1:53 AM, Ken Gaillot wrote: >> >> A recent thread discussed a proposed new feature, a

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Adam Spiers
Ken Gaillot wrote: > On 06/02/2016 08:01 PM, Andrew Beekhof wrote: > > On Fri, May 20, 2016 at 1:53 AM, Ken Gaillot wrote: > >> A recent thread discussed a proposed new feature, a new environment > >> variable that would be passed to resource agents,

Re: [ClusterLabs] Pacemaker reload Master/Slave resource

2016-06-06 Thread Ken Gaillot
On 05/20/2016 06:20 AM, Felix Zachlod (Lists) wrote: > version 1.1.13-10.el7_2.2-44eb2dd > > Hello! > > I am currently developing a master/slave resource agent. So far it is working > just fine, but this resource agent implements reload() and this does not work > as expected when running as

Re: [ClusterLabs] Different pacemaker versions split cluster

2016-06-06 Thread Vladislav Bogdanov
06.06.2016 23:28, Ken Gaillot wrote: On 05/30/2016 01:14 PM, DacioMF wrote: Hi, I had 4 nodes with Ubuntu 14.04LTS in my cluster and all of then worked well. I need upgrade all my cluster nodes to Ubuntu 16.04LTS without stop my resources. Two nodes have been updated to 16.04 and the two

Re: [ClusterLabs] Creating a rule based on whether a quorum exists

2016-06-06 Thread Ken Gaillot
On 05/30/2016 08:13 AM, Les Green wrote: > Hi All, > > I have a two-node cluster with no-quorum-policy=ignore and an external > ping responder to try to determine if a node has its network down (it's > the dead one), or if the other node is really dead.. > > The ping helps to determine who the

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Vladislav Bogdanov
06.06.2016 22:43, Ken Gaillot wrote: On 06/06/2016 12:25 PM, Vladislav Bogdanov wrote: 06.06.2016 19:39, Ken Gaillot wrote: On 06/05/2016 07:27 PM, Andrew Beekhof wrote: On Sat, Jun 4, 2016 at 12:16 AM, Ken Gaillot wrote: On 06/02/2016 08:01 PM, Andrew Beekhof wrote:

Re: [ClusterLabs] Different pacemaker versions split cluster

2016-06-06 Thread Ken Gaillot
On 05/30/2016 01:14 PM, DacioMF wrote: > Hi, > > I had 4 nodes with Ubuntu 14.04LTS in my cluster and all of then worked well. > I need upgrade all my cluster nodes to Ubuntu 16.04LTS without stop my > resources. Two nodes have been updated to 16.04 and the two others remains > with 14.04. The

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Ken Gaillot
On 06/06/2016 12:25 PM, Vladislav Bogdanov wrote: > 06.06.2016 19:39, Ken Gaillot wrote: >> On 06/05/2016 07:27 PM, Andrew Beekhof wrote: >>> On Sat, Jun 4, 2016 at 12:16 AM, Ken Gaillot >>> wrote: On 06/02/2016 08:01 PM, Andrew Beekhof wrote: > On Fri, May 20, 2016

Re: [ClusterLabs] how to "switch on" cLVM ?

2016-06-06 Thread Digimer
On 06/06/16 01:13 PM, Lentes, Bernd wrote: > Hi, > > i'm currently establishing a two node cluster. I have a FC SAN and two hosts. > My services are integrated into virtual machines (kvm). The vm's should > reside on the SAN. > The hosts are connected to the SAN via FC HBA. Inside the hosts i

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Vladislav Bogdanov
06.06.2016 19:39, Ken Gaillot wrote: On 06/05/2016 07:27 PM, Andrew Beekhof wrote: On Sat, Jun 4, 2016 at 12:16 AM, Ken Gaillot wrote: On 06/02/2016 08:01 PM, Andrew Beekhof wrote: On Fri, May 20, 2016 at 1:53 AM, Ken Gaillot wrote: A recent thread

[ClusterLabs] how to "switch on" cLVM ?

2016-06-06 Thread Lentes, Bernd
Hi, i'm currently establishing a two node cluster. I have a FC SAN and two hosts. My services are integrated into virtual machines (kvm). The vm's should reside on the SAN. The hosts are connected to the SAN via FC HBA. Inside the hosts i see already the volume from the SAN. I'd like to store

Re: [ClusterLabs] Informing RAs about recovery: failed resource recovery, or any start-stop cycle?

2016-06-06 Thread Ken Gaillot
On 06/05/2016 07:27 PM, Andrew Beekhof wrote: > On Sat, Jun 4, 2016 at 12:16 AM, Ken Gaillot wrote: >> On 06/02/2016 08:01 PM, Andrew Beekhof wrote: >>> On Fri, May 20, 2016 at 1:53 AM, Ken Gaillot wrote: A recent thread discussed a proposed new

Re: [ClusterLabs] [corosync] Virtual Synchrony Property guarantees in case of network partition

2016-06-06 Thread satish kumar
Thanks, really appreciate your help. On Mon, Jun 6, 2016 at 9:17 PM, Jan Friesse wrote: > But C1 is *guaranteed *to deliver *before *m(k)? No case where C1 is >> > > Yes > > delivered after m(k)? >> > > Nope. > > > >> >> Regards, >> Satish >> >> On Mon, Jun 6, 2016 at 8:10

Re: [ClusterLabs] [corosync] Virtual Synchrony Property guarantees in case of network partition

2016-06-06 Thread Jan Friesse
But C1 is *guaranteed *to deliver *before *m(k)? No case where C1 is Yes delivered after m(k)? Nope. Regards, Satish On Mon, Jun 6, 2016 at 8:10 PM, Jan Friesse wrote: satish kumar napsal(a): Hello honza, thanks for the response ! With state sync, I simply

Re: [ClusterLabs] [corosync] Virtual Synchrony Property guarantees in case of network partition

2016-06-06 Thread satish kumar
But C1 is *guaranteed *to deliver *before *m(k)? No case where C1 is delivered after m(k)? Regards, Satish On Mon, Jun 6, 2016 at 8:10 PM, Jan Friesse wrote: > satish kumar napsal(a): > > Hello honza, thanks for the response ! >> >> With state sync, I simply mean that

Re: [ClusterLabs] [Problem] Start is carried out twice.

2016-06-06 Thread renayama19661014
Hi All,  When a node joined while start of the resource takes time, start of the resource is carried out twice.  Step 1) Put sleep in start of the Dummy  resource.(/usr/lib/ocf/resource.d/heartbeat/Dummy)  (snip) dummy_start() {  sleep 60  dummy_monitor  if [ $? =  $OCF_SUCCESS ]; then (snip)

[ClusterLabs] [Problem] Start is carried out twice.

2016-06-06 Thread renayama19661014
Hi All, When a node joined while start of the resource takes time, start of the resource is carried out twice. Step 1) Put sleep in start of the Dummy resource.(/usr/lib/ocf/resource.d/heartbeat/Dummy) (snip) dummy_start() { sleep 60 dummy_monitor if [ $? = $OCF_SUCCESS ]; then (snip) Step 2)

Re: [ClusterLabs] [corosync] Virtual Synchrony Property guarantees in case of network partition

2016-06-06 Thread satish kumar
Hello honza, thanks for the response ! With state sync, I simply mean that 'k-1' messages were delivered to N1, N2 and N3 and they have applied these messages to change their program state. N1.state = apply(m(k-1); N2.state = apply(m(k-1); N3.state = apply(m(k-1); The document you shared cleared

Re: [ClusterLabs] mail server (postfix)

2016-06-06 Thread Vladislav Bogdanov
05.06.2016 22:22, Dimitri Maziuk wrote: On 06/04/2016 01:02 PM, Vladislav Bogdanov wrote: I'd modify RA to support master/slave concept. I'm assuming you use a shared mail store on your imapd cluster? I want No, I use cyrus internal replication. to host the storage on the same cluster

Re: [ClusterLabs] [corosync] Virtual Synchrony Property guarantees in case of network partition

2016-06-06 Thread Jan Friesse
Hi, Hello, Virtual Synchrony Property - messages are delivered in agreed order and configuration changes are delivered in agreed order relative to message. What happen to this property when network is partitioned the cluster into two. Consider following scenario (which I took from one of the

Re: [ClusterLabs] Few questions regarding corosync authkey

2016-06-06 Thread Jan Friesse
Hi, Would like to understand how secure is the corosync authkey. As the authkey is a binary file, how is the private key saved inside the authkey? Corosync uses symmetric encryption, so there is no public certificate. authkey = private key What safeguard mechanisms are in place if the

[ClusterLabs] Few questions regarding corosync authkey

2016-06-06 Thread Nikhil Utane
Hi, Would like to understand how secure is the corosync authkey. As the authkey is a binary file, how is the private key saved inside the authkey? What safeguard mechanisms are in place if the private key is compromised? For e.g I don't think it uses any temporary session key which refreshes