Re: [Pacemaker] crm_mon --as-html default permissions

2014-02-21 Thread Marko Potocnik
I found the umask code after further inspection. Solution was chmod from php right before html output from crm_mon is read. On Tue, Feb 18, 2014 at 1:38 AM, Andrew Beekhof wrote: > > On 12 Feb 2014, at 9:53 pm, Marko Potocnik > wrote: > > > Hi, > > > > I've

[Pacemaker] crm_mon --as-html default permissions

2014-02-12 Thread Marko Potocnik
Hi, I've upgraded from pacemaker-1.1.7-6.el6.x86_64 to pacemaker-1.1.10-14.el6_5.2.x86_64. I use crm_mon with --as-html option to get the cluster status in html file. I've noticed that the permissions for file have changed from 644 to 640. Looking at source code I see that umask is set to reflect

Re: [Pacemaker] Filesystem resource agent patch

2011-03-20 Thread Marko Potocnik
wrote: > Hi, > > On Fri, Mar 18, 2011 at 11:35:01AM +0100, Marko Potocnik wrote: > > If you use symbolic links in Filesystem resource agent directory > parameter, > > then monitoring operation fails, because actual mount point in > /proc/mounts > > (or the output

[Pacemaker] Filesystem resource agent patch

2011-03-18 Thread Marko Potocnik
If you use symbolic links in Filesystem resource agent directory parameter, then monitoring operation fails, because actual mount point in /proc/mounts (or the output of mount command) is diferent as the configured one. Here is the patch that fixes this: --- Filesystem_new_org 2011-03-18 11:32:3

Re: [Pacemaker] Reboot host when service fails

2010-12-20 Thread Marko Potocnik
service fails. Also is it possible to fence a node only when fail-count of a resource reaces a certain number? Regards, Marko On Wed, Dec 8, 2010 at 1:29 PM, Pavlos Parissis wrote: > On 8 December 2010 10:50, Marko Potocnik wrote: > > Hi, > > is it possible to configure pace

[Pacemaker] Reboot host when service fails

2010-12-08 Thread Marko Potocnik
Hi, is it possible to configure pacemaker to reboot host machine when a service pacemaker monitors fails (or migration-threshold) for the service is reached? Service could be Virtual Machine or ordinary service (apache, database, ...) Regards, Marko __

Re: [Pacemaker] Pacemaker on RHEL 4.8

2010-11-25 Thread Marko Potocnik
Scratch that, resource stopping works also. And I can live without yum :) Thanks again. On Thu, Nov 25, 2010 at 2:05 PM, Marko Potocnik wrote: > Thanks Andrew, I downloaded and compiled libxml2 2.8.7-1. Resource editing > with crm now work, but I am still having problems with resource st

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-25 Thread Marko Potocnik
On Thu, Nov 25, 2010 at 2:05 PM, Michael Schwartzkopff wrote: > On Thursday 25 November 2010 08:56:21 Marko Potocnik wrote: > (...) > > The order constraint does not affect the IP migration strategy in case of > > service failure. I agree that I missed it, but I does not affe

Re: [Pacemaker] Pacemaker on RHEL 4.8

2010-11-25 Thread Marko Potocnik
:55 PM, Marko Potocnik > wrote: > > Hi, > > > > > > > > I’m also having problem with pacemaker / heartbeat on RHEL 4.8. > > > > First of all clusterlabs repo for epel doesn’t work with yum on RHEL 4.8 > > (yum is installed from EPEL):

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-25 Thread Marko Potocnik
, Nov 24, 2010 at 11:02 PM, Devin Reade wrote: > --On Tuesday, November 23, 2010 10:21:04 AM +0100 Marko Potocnik > wrote: > > > I'm using ftp just for test. I want a service to run on both nodes and > > only IP to move in case a service fails. > > I don't

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Marko Potocnik
On Wed, Nov 24, 2010 at 4:04 PM, Michael Schwartzkopff wrote: > On Tuesday 23 November 2010 10:21:04 Marko Potocnik wrote: > > On Tue, Nov 23, 2010 at 9:55 AM, Michael Schwartzkopff > > > > > > wrote: > > > > > > On Tuesday 23 November 2

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-24 Thread Marko Potocnik
On Wed, Nov 24, 2010 at 2:37 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Nov 23, 2010 at 09:10:58AM +0100, Marko Potocnik wrote: > > Hi, > > > > > > > > I am trying to configure a service (ftp for proof of concept) to run in > an > > active

[Pacemaker] Pacemaker on RHEL 4.8

2010-11-24 Thread Marko Potocnik
Hi, I’m also having problem with pacemaker / heartbeat on RHEL 4.8. First of all clusterlabs repo for epel doesn’t work with yum on RHEL 4.8 (yum is installed from EPEL): [r...@lucija ~]# yum search pacemaker Searching Packages: Setting up repositories epel 100% |

Re: [Pacemaker] Active / Active pacemaker configuration advice

2010-11-23 Thread Marko Potocnik
I'm using ftp just for test. I want a service to run on both nodes and only IP to move in case a service fails. I don't want to stop / start service if node fails. On Tue, Nov 23, 2010 at 9:55 AM, Michael Schwartzkopff wrote: > On Tuesday 23 November 2010 09:10:58 Marko Potocnik

[Pacemaker] Active / Active pacemaker configuration advice

2010-11-23 Thread Marko Potocnik
Hi, I am trying to configure a service (ftp for proof of concept) to run in an active / active configuration. A floating IP is used to access this service. What I am trying to achieve is that a floating IP would move to second node, if service fails on the first node. After that service should b