[Pacemaker] Always reload/restart a resource

2011-05-13 Thread Michael Liebl
Hello List! I'm looking for a possibility to always reload or restart a resource independent of the action (start/stop). For example, I am using samba and if on resource gets started or stopped on the node, the smb.conf is changing dynamically by script and samba should be reloaded or restartet.

Re: [Pacemaker] Failover when storage fails

2011-05-13 Thread Max Williams
Well this is not what I am seeing here. Perhaps a bug? I also tried adding "op stop interval=0 timeout=10" to the LVM resources but still when the storage disappears the cluster just stops where it is and those log entries (below) just get printed in a loop. Cheers, Max -Original Message

Re: [Pacemaker] Multi-site support in pacemaker (tokens, deadman, CTR)

2011-05-13 Thread Gao,Yan
Hi Andrew, Lars, Thanks for the comments! For the convenience of further development, before we reach the consensus on the cib syntax, I temporarily implemented the syntax as the following -- It's somewhat different from my previous idea. :-) Please see also the attached patch which includes the

Re: [Pacemaker] Problem with ocf.pacemaker.pingd and host unreachable.

2011-05-13 Thread Thomas
Hello Pierre, I see you don't define your IPs in the cluster. Am I right you want to ensure that the active node is reaching most of your pingd IPs? I have a simple failover config that actually works as follows: - DRBD active/active - one node (default gateway) is pinged by 'pingd' from any clus

[Pacemaker] combining connectivity and stickiness: howto?

2011-05-13 Thread Thomas
So, I have tried to help with that topic in the near past, but I must admit, I havent't understood it myself. Yet. My objective: - IP and dependent resources should stick to clusternode1 as it has the most powerful hardware (new server) - IP should react to ping or pingd scores and move to a reac

Re: [Pacemaker] Always reload/restart a resource

2011-05-13 Thread Vladislav Bogdanov
13.05.2011 10:52, Michael Liebl wrote: > Hello List! > > I'm looking for a possibility to always reload or restart a resource > independent of the action (start/stop). > > For example, I am using samba and if on resource gets started or > stopped on the node, the smb.conf is changing dynamically

Re: [Pacemaker] combining connectivity and stickiness: howto?

2011-05-13 Thread Thomas
i retract my request again. It suddenly works the way I want, without any changes. Clustering can be really confusing. Any improvements to my config are still welcome though, as it is my first clusterconfig. thanx for all of your attention. Greetings Thomas __