Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-12-05 Thread Hui Xiang
> > > > > stickiness=1 > > > > > > Operations: monitor interval=3 timeout=30 > > > (vip__management_old- > > > > > > monitor-3) > > > > > > start interval=0 timeout=30 > > > (vip__man

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-12-04 Thread Ken Gaillot
   Attributes: manage_northd=yes master_ip=192.168.0.2 > > > > > nb_master_port=6641 sb_master_port=6642  > > > > >    Operations: start interval=0s timeout=30s (tst-ovndb- > > start- > > > > > timeout-30s) > > > > >          

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-12-04 Thread Hui Xiang
r-interval-10s-role-Master) > > > >monitor interval=30s role=Slave timeout=20s (tst- > > > > ovndb-monitor-interval-30s-role-Slave) > > > > > > > > > > > > colocation colocation-tst-ovndb-master-vip__management_old- > &g

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-12-01 Thread Ken Gaillot
> > > <30>Nov 30 15:22:19 node-1 ovndb-servers(tst-ovndb)[2980860]: > > > INFO: ovsdb_server_monitor > > > <30>Nov 30 15:22:19 node-1 ovndb-servers(tst-ovndb)[2980860]: > > > INFO: ovsdb_server_check_status > > > <30>Nov 30 15:22:19

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-11-30 Thread Hui Xiang
30>Nov 30 15:22:20 node-1 ovndb-servers(tst-ovndb)[2980860]: INFO: >> ovsdb_server_master_update end} >> <30>Nov 30 15:22:20 node-1 ovndb-servers(tst-ovndb)[2980860]: INFO: >> monitor is going to return 7 >> <30>Nov 30 15:22:20 node-1 ovndb-servers(undef

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-11-30 Thread Hui Xiang
monitor is going to return 7 > <30>Nov 30 15:22:20 node-1 ovndb-servers(undef)[2980970]: INFO: metadata > exit OCF_SUCCESS} > > 6. The cluster property: > property cib-bootstrap-options: \ > have-watchdog=false \ > dc-version=1.1.12-a14efad \ > c

Re: [ClusterLabs] pcs create master/slave resource doesn't work (Ken Gaillot)

2017-11-30 Thread Hui Xiang
nk you very much for any help. Hui. Date: Mon, 27 Nov 2017 12:07:57 -0600 From: Ken Gaillot To: Cluster Labs - All topics related to open-source clustering welcomed, jpoko...@redhat.com Subject: Re: [ClusterLabs] pcs create master/slave resource doesn't work Message-

Re: [ClusterLabs] pcs create master/slave resource doesn't work

2017-11-27 Thread Jan Pokorný
On 27/11/17 12:07 -0600, Ken Gaillot wrote: > On Fri, 2017-11-24 at 18:00 +0800, Hui Xiang wrote: >>   Very appreciated on your help, I am getting further more, but still >> it looks very strange. >> >> 1. To use "debug-promote", I upgrade pacemaker from 1.12 to 1.16, pcs >> to 0.9.160. >> >> 2.

Re: [ClusterLabs] pcs create master/slave resource doesn't work

2017-11-27 Thread Ken Gaillot
On Fri, 2017-11-24 at 18:00 +0800, Hui Xiang wrote: > Jan, > >   Very appreciated on your help, I am getting further more, but still > it looks very strange. > > 1. To use "debug-promote", I upgrade pacemaker from 1.12 to 1.16, pcs > to 0.9.160. > > 2. Recreate resource with below commands > pcs

[ClusterLabs] pcs create master/slave resource doesn't work

2017-11-24 Thread Hui Xiang
Jan, Very appreciated on your help, I am getting further more, but still it looks very strange. 1. To use "debug-promote", I upgrade pacemaker from 1.12 to 1.16, pcs to 0.9.160. 2. Recreate resource with below commands pcs resource create ovndb_servers ocf:ovn:ovndb-servers \ master_ip=192.1

Re: [ClusterLabs] pcs create master/slave resource doesn't work

2017-11-23 Thread Jan Pokorný
On 23/11/17 23:52 +0800, Hui Xiang wrote: > I am working on HA with 3-nodes, which has below configurations: > > """ > pcs resource create ovndb_servers ocf:ovn:ovndb-servers \ > master_ip=168.254.101.2 \ > op monitor interval="10s" \ > op monitor interval="11s" role=Master > pcs resource ma

[ClusterLabs] pcs create master/slave resource doesn't work

2017-11-23 Thread Hui Xiang
Hi Folks, I am working on HA with 3-nodes, which has below configurations: """ pcs resource create ovndb_servers ocf:ovn:ovndb-servers \ master_ip=168.254.101.2 \ op monitor interval="10s" \ op monitor interval="11s" role=Master pcs resource master ovndb_servers-master ovndb_servers \