[ClusterLabs] mail server (postfix)

2016-06-03 Thread Dimitri Maziuk
Hi all, quick question: is anyone running an MTA on an active-passive cluster? Specifically, I need to do a stop - wait for drbd fs to move over - update symlinks - then start again -- on both nodes. So that on the active node the MTA runs with "mail gateway" postfix config in /drbd/etc/postfix

Re: [ClusterLabs] Error "xml does not conform to the schema" upon "pcs cluster standby" command

2016-06-03 Thread Jan Pokorný
Hello Nikhil, On 03/06/16 16:33 +0530, Nikhil Utane wrote: > The node is up alright. > > [root@airv_cu pcs]# pcs cluster status > Cluster Status: > Stack: corosync > Current DC: airv_cu (version 1.1.14-5a6cdd1) - partition WITHOUT quorum > Last updated: Fri Jun 3 11:01:32 2016 Last

Re: [ClusterLabs] Can't get nfs4 to work.

2016-06-03 Thread Stephano-Shachter, Dylan
I had the line, RPCNFSDARGS="-N 2 -N 4" which I changed to RPCNFSDARGS="-N 2" It turns out someone else who had initially set up the nfs server had disabled v4 explicitly. On Fri, Jun 3, 2016 at 10:25 AM, Kai Dupke wrote: > On 06/03/2016 04:17 PM, Dylan Stephano-Shachter

Re: [ClusterLabs] Can't get nfs4 to work.

2016-06-03 Thread Kai Dupke
On 06/03/2016 04:17 PM, Dylan Stephano-Shachter wrote: > Okay turns out the issue was not related to pacemaker (I thought it was). > It was just in issue with the nfs config file. Which was? Even if it is trivial, it might help us to avoid such and give the right hint the next time. regards, Kai

Re: [ClusterLabs] Can't get nfs4 to work.

2016-06-03 Thread Stephano-Shachter, Dylan
Okay turns out the issue was not related to pacemaker (I thought it was). It was just in issue with the nfs config file. On Thu, Jun 2, 2016 at 5:04 PM, Jan Pokorný wrote: > On 02/06/16 02:35 +0200, Dennis Jacobfeuerborn wrote: > > On 01.06.2016 20:25, Stephano-Shachter,

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

2016-06-03 Thread Ken Gaillot
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, indicating whether a >> stop action was part of a

Re: [ClusterLabs] Error "xml does not conform to the schema" upon "pcs cluster standby" command

2016-06-03 Thread Klaus Wenninger
On 06/03/2016 01:39 PM, Nikhil Utane wrote: > Thanks for your response Klaus. > Any command to add the cluster name? > All examples use 'pcs cluster setup' command. But if my cluster is > already running, how do I update it? > I tried with crm_attribute: > crm_attribute -t crm_config -n

Re: [ClusterLabs] Error "xml does not conform to the schema" upon "pcs cluster standby" command

2016-06-03 Thread Nikhil Utane
Thanks for your response Klaus. Any command to add the cluster name? All examples use 'pcs cluster setup' command. But if my cluster is already running, how do I update it? I tried with crm_attribute: crm_attribute -t crm_config -n cluster-name -v mycluster It has updated in cib but pcs status

[ClusterLabs] Error "xml does not conform to the schema" upon "pcs cluster standby" command

2016-06-03 Thread Nikhil Utane
Hi, The node is up alright. [root@airv_cu pcs]# pcs cluster status Cluster Status: Stack: corosync Current DC: airv_cu (version 1.1.14-5a6cdd1) - partition WITHOUT quorum Last updated: Fri Jun 3 11:01:32 2016 Last change: Fri Jun 3 09:57:52 2016 by hacluster via crmd on airv_cu 2