Re: [Pacemaker] DRBD with Pacemaker on CentOs 6.5

2014-11-13 Thread Sihan Goi
Hi, So it seems that my setup was not working because SELinux was not disabled. Once I disabled it, my web server displays the correct index.html. In my master node's /var/www/html, I see the correct index.html, but in the slave's /var/www/html I still see the old index.html. Once I do a failover

Re: [Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread Andrew Beekhof
> On 14 Nov 2014, at 6:54 am, GrĂ¼ninger, Andreas (LGL Extern) > wrote: > > I am really sorry but I forgot the reason. It is now 2 years ago when I had > problems with starting pacemaker as root. > When I remember well pacemaker got always access denied when connection to > corosync. > With a

Re: [Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread LGL Extern
I am really sorry but I forgot the reason. It is now 2 years ago when I had problems with starting pacemaker as root. When I remember well pacemaker got always access denied when connection to corosync. With a non-root account it worked flawlessly. The pull request from branch upstream3 can be c

[Pacemaker] resource-stickiness not working?

2014-11-13 Thread Scott Donoho
Here is a simple Active/Passive configuration with a single Dummy resource (see end of message). The resource-stickiness default is set to 100. I was assuming that this would be enough to keep the Dummy resource on the active node as long as the active node stays healthy. However, stickiness is

Re: [Pacemaker] TOTEM Retransmit list in logs when a node gets up

2014-11-13 Thread Daniel Dehennin
Digimer writes: > This generally happens if the network is slow or congested. It is > corosync saying it needs to resend some messages. It is not uncommon > for it to happen now and then, but that is a fairly large amount of > retransmits. Thanks for the explanation. > Is your network slow or s

Re: [Pacemaker] TOTEM Retransmit list in logs when a node gets up

2014-11-13 Thread Digimer
This generally happens if the network is slow or congested. It is corosync saying it needs to resend some messages. It is not uncommon for it to happen now and then, but that is a fairly large amount of retransmits. Is your network slow or saturated often? It might be that the traffic from the

Re: [Pacemaker] drbd / libvirt / Pacemaker Cluster?

2014-11-13 Thread Digimer
On 13/11/14 07:57 AM, Heiner Meier wrote: stonith-enabled="false" \ This is your problem. DRBD absolutely requires fencing/stonith. Please configure it in pacemaker, confirm that it works properly, then configure DRBD to use the crm-fence-peer.sh fence handler (and the crm-unfence-peer.sh un

Re: [Pacemaker] drbd / libvirt / Pacemaker Cluster?

2014-11-13 Thread emmanuel segura
And you need to configure your cluster fencing and you need to be sure sure to configure drbd to use the pacemaker fencing http://www.drbd.org/users-guide/s-pacemaker-fencing.html 2014-11-13 14:58 GMT+01:00 Dejan Muhamedagic : > Hi, > > On Thu, Nov 13, 2014 at 01:57:08PM +0100, Heiner Meier wrote:

Re: [Pacemaker] resource-discovery question

2014-11-13 Thread David Vossel
- Original Message - > 12.11.2014 22:57, David Vossel wrote: > > > > > > - Original Message - > >> 12.11.2014 22:04, Vladislav Bogdanov wrote: > >>> Hi David, all, > >>> > >>> I'm trying to get resource-discovery="never" working with cd7c9ab, but > >>> still > >>> get "Not insta

Re: [Pacemaker] drbd / libvirt / Pacemaker Cluster?

2014-11-13 Thread Dejan Muhamedagic
Hi, On Thu, Nov 13, 2014 at 01:57:08PM +0100, Heiner Meier wrote: > Hello, > > i need an Cluster with drbd, the active Cluster Member should hold a > running kvm instance, started via libvirt. > > A virtual IP is not needet. > > It runs, but from time to Time it doesnt take over correctly when

[Pacemaker] TOTEM Retransmit list in logs when a node gets up

2014-11-13 Thread Daniel Dehennin
Hello, My cluster seems to works correctly but when I start corosync and pacemaker on one of them[1] I start to have some TOTEM logs like this: #+begin_src Nov 13 14:00:10 nebula3 corosync[5345]: [TOTEM ] Retransmit List: 4e 4f Nov 13 14:00:10 nebula3 corosync[5345]: [TOTEM ] Retransmit List:

[Pacemaker] drbd / libvirt / Pacemaker Cluster?

2014-11-13 Thread Heiner Meier
Hello, i need an Cluster with drbd, the active Cluster Member should hold a running kvm instance, started via libvirt. A virtual IP is not needet. It runs, but from time to Time it doesnt take over correctly when i reboot the "master" System, normaly all resources after the machine is up again s

Re: [Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread Andrew Beekhof
> On 13 Nov 2014, at 9:50 pm, GrĂ¼ninger, Andreas (LGL Extern) > wrote: > > I added heartbeat and corosync to have both available. > Personally I use pacemaker/corosync. > > There is no need any more to run pacemaker as non-root with the newest > version of pacemaker. I'm curious... what was

[Pacemaker] Reset failcount for resources

2014-11-13 Thread Arjun Pandey
Hi I am running a 2 node cluster with this config Master/Slave Set: foo-master [foo] Masters: [ bharat ] Slaves: [ ram ] AC_FLT (ocf::pw:IPaddr): Started bharat CR_CP_FLT (ocf::pw:IPaddr): Started bharat CR_UP_FLT (ocf::pw:IPaddr): Started bharat Mgmt_FLT (ocf::pw:IPaddr): Started bharat where I

Re: [Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread LGL Extern
I added heartbeat and corosync to have both available. Personally I use pacemaker/corosync. There is no need any more to run pacemaker as non-root with the newest version of pacemaker. The main problems with pacemaker are the changes in the last months especially in services_linux.c. As the nam

Re: [Pacemaker] resource-discovery question

2014-11-13 Thread Andrew Beekhof
> On 13 Nov 2014, at 8:36 am, Vladislav Bogdanov wrote: > > 12.11.2014 22:57, David Vossel wrote: >> >> >> - Original Message - >>> 12.11.2014 22:04, Vladislav Bogdanov wrote: Hi David, all, I'm trying to get resource-discovery="never" working with cd7c9ab, but sti

Re: [Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread Andrew Beekhof
Interesting work... a couple of questions... - Why heartbeat and corosync? - Why the need to run pacemaker as non-root? Also, I really encourage the kinds of patches referenced in these instructions to bring them to the attention of upstream so that we can work on getting them merged. > On 13

[Pacemaker] Operation attribute change leads to resource restart

2014-11-13 Thread Vladislav Bogdanov
Hi! Just noticed that deletion of a trace_ra op attribute forces resource to be restarted (that RA does not support reload). Logs show: Nov 13 09:06:05 [6633] node01cib: info: cib_process_request: Forwarding cib_apply_diff operation for section 'all' to master (origin=local/cibad

[Pacemaker] Notes on pacemaker installation on OmniOS

2014-11-13 Thread Vincenzo Pii
Hello, I have written down my notes on the setup of pacemaker and corosync on IllumOS (OmniOS). This is just the basic setup, to be in condition of running the Dummy resource agent. It took me quite some time to get this done, so I want to share what I did assuming that this may help someone else