[ClusterLabs] Adding and removing a node dyamically

Ken Gaillot kgaillot at redhat.com
Fri Oct 2 09:56:58 EDT 2015


On 10/02/2015 05:36 AM, Vijay Partha wrote:
> could someone help me out with this please? i am making use of cman and
> pacemaker. pcs cluster node add/remove <node> is not working as it throws
> pcsd service is not running on <node>.

pcs relies on pcsd running on all nodes.

Make sure pcs is installed on all nodes, and pcsd is enabled to start at
boot (via service or systemctl depending on which you are using). Then
set a password (same on all nodes) for the hacluster user. Finally, run
"pcs cluster auth <nodenames>" on the machine you want to run pcs from,
and give it the hacluster user/pass.

You may want to review the Clusters From Scratch documentation to see
other common configuration that needs to be done (firewall, SELinux,
hostnames, etc.):

http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html-single/Clusters_from_Scratch/index.html


> On Fri, Oct 2, 2015 at 1:17 PM, Vijay Partha <vijaysarathy94 at gmail.com>
> wrote:
> 
>> Hi,
>>
>> I would like to add and remove a node dynamically in pacemaker. What
>> commands are to be given for this to be done.
>>
>> Thanking you
>>
>> --
>> With Regards
>> P.Vijay
>>
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 





More information about the Users mailing list