> On Wed, Apr 02, 2008 at 07:51:24PM +0200, Niels de Carpentier wrote:
>> > On Wed, Apr 02, 2008 at 01:21:24PM +0200, Dejan Muhamedagic wrote:
>> >>
>> >> Did you read this howto on removing/deleting nodes:
>> >>
http://www.linux-ha.org/v2/faq#head-09fdadc641deb9ee88120bb122c49502071b0495
>>
>> The example/howto is only for a 2 node cluster, and there is a comment
>> in
>> the hb_addnode/hb_delnode scripts that it will only work for a 2 node
>> cluster.
>
> I suspect that the comment is a copy from another script. At any
> rate, it's not limited to two-node clusters.

Ok, I checked and it does indeed work correctly.
>
>> I expect the command makes changes to a local file, and you actually
>> have
>> to run the command on all servers to make it work.
>
> No, the changes are propagated to all nodes in a cluster. Check
> the hostcache file to verify if this holds.

Yes, the hostcache file is indeed updated on all nodes. The hb_delnode
command doesn't actually remove the node from the configuration though,
just the hostcache? I used cibadmin after this to remove the node from the
config, and after that it is actually gone.

Niels


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to