Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-28 Thread Andrew Beekhof
could be a bug in 2.1.3, i'd suggest upgrading to pacemaker On Fri, Jul 24, 2009 at 5:14 PM, Jiayin Mao wrote: > There are two nodes in the cluster, and I shutdown haproxy1, and start a new > node and name it as haproxy1 and set its uuid to the same as the dead > haproxy1. Here's the log from hapr

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-27 Thread Alexander Födisch
Michael Schwartzkopff schrieb: Second step - we have to add a resource, for which Node4 should become the preferred node. My idea: Node1: /etc/init.d/heartbeat stop Node1: add a line to haresources like: node4 IPaddr2::192.168.y.z/24/ethX:Y samba-ha::node4 Node1: /etc/init.d/heartbe

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Jiayin Mao
There are two nodes in the cluster, and I shutdown haproxy1, and start a new node and name it as haproxy1 and set its uuid to the same as the dead haproxy1. Here's the log from haproxy2, the ever living node: >>> cib[2924]: 2009/07

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Jiayin Mao
I added "autojoin any" on all of the nodes before starting heartbeat. On Fri, Jul 24, 2009 at 10:42 PM, Michael Schwartzkopff wrote: > Am Freitag, 24. Juli 2009 16:34:14 schrieb Jiayin Mao: > > Do you mean "autojoin any"? I had it there, but heartbeat still > complained > > the new node is not in

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Michael Schwartzkopff
Am Freitag, 24. Juli 2009 16:34:14 schrieb Jiayin Mao: > Do you mean "autojoin any"? I had it there, but heartbeat still complained > the new node is not in their membership. > > On Fri, Jul 24, 2009 at 8:16 PM, Andrew Beekhof wrote: > > On Thu, Jul 23, 2009 at 11:07 AM, Jiayin Mao wrote: > > > Ca

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Andrew Beekhof
On Fri, Jul 24, 2009 at 4:34 PM, Jiayin Mao wrote: > Do you mean "autojoin any"? right > I had it there, but heartbeat still complained > the new node is not in their membership. logs? ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Jiayin Mao
Do you mean "autojoin any"? I had it there, but heartbeat still complained the new node is not in their membership. On Fri, Jul 24, 2009 at 8:16 PM, Andrew Beekhof wrote: > On Thu, Jul 23, 2009 at 11:07 AM, Jiayin Mao wrote: > > Can i leave heartbeat running and add new node at the same time? >

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-24 Thread Andrew Beekhof
On Thu, Jul 23, 2009 at 11:07 AM, Jiayin Mao wrote: > Can i leave heartbeat running and add new node at the same time? only if the existing nodes already have "autojoin on" in ha.cf (ie. when they were last started) > I've tried > thousands of times, but never made it work. The heartbeat on the r

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-23 Thread Jiayin Mao
Can i leave heartbeat running and add new node at the same time? I've tried thousands of times, but never made it work. The heartbeat on the running node always complains the new node is not in their membership. I've set autojoin to any and propagate the UUID of the crashed node to the replacement

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-23 Thread Andrew Beekhof
On Thu, Jul 23, 2009 at 6:22 AM, Michael Schwartzkopff wrote: > Am Mittwoch, 22. Juli 2009 23:38:26 schrieb Alexander Födisch: >> Hi, >> >> I have a samba cluster w/ three nodes (heartbeat 2.1.3 / crm-enabled). Now >> I need to add a fourth one. What will be the best way to do this w/o any >> servi

Re: [Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-22 Thread Michael Schwartzkopff
Am Mittwoch, 22. Juli 2009 23:38:26 schrieb Alexander Födisch: > Hi, > > I have a samba cluster w/ three nodes (heartbeat 2.1.3 / crm-enabled). Now > I need to add a fourth one. What will be the best way to do this w/o any > service interruption? > > First step - Node4 has to become a member of the

[Linux-HA] Adding a node to HA-Cluster without service interruption

2009-07-22 Thread Alexander Födisch
Hi, I have a samba cluster w/ three nodes (heartbeat 2.1.3 / crm-enabled). Now I need to add a fourth one. What will be the best way to do this w/o any service interruption? First step - Node4 has to become a member of the cluster. I would do it like this: Node1: /etc/init.d/heartbeat stop N