Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: Load Balancing CFengine Server
Author: milindk
Link to topic: https://cfengine.com/forum/read.php?3,24633,24634#msg-24634

Pardon my poor understading here and please correct me I am wrong , some time I 
get confused between Hub and Policy servers , I am new to CFE 
I am assuming the enterprise setup I will have set of policy Hubs and policy 
servers and these can be same servers 

reading the snippet from doc 
-------------------------------------------------------------Start---------------------------------------------------------------------------------------------------
3.5 Redundancy and load balancing in the Nova hub
CFEngine does not need a `high availability' architecture to be an effective 
management system. The software was designed to work with very low 
availability, and the designers highly recommend avoiding the introduction of 
dependencies that require such availability. In normal operation, CFEngine will 
be able to continue to repair systems without any contact with the outside 
world, until actual policy changes are made. 

It is nonetheless possible to balance load and account for failures by 
multiplying the number of hubs/policy servers in a Nova star network. This only 
makes sense for the policy servers and reporting hubs, which are in principle 
single points of failure. 

Availability of policy in case of policy server failure. 
Availability of reports in case of reporting hub failure. 

Because CFEngine is a pull-based technology, the two processes look like this: 
Satellite `client' nodes pull policy from a policy server. 
Reporting hubs pull reports from all satellite clients. 

In both cases, the processes are `self-healing'. If a client is unable to 
connect to a policy server, it will continue to work with its old policy until 
the policy server becomes available again.

 If a report hub fails and reports are no longer accessible, no data are lost 
because the actual data are sourced from the satellite nodes. When the hub is 
replaced or restored, it will update and continue as before. 
---------------------------------------------------------------------------------------End------------------------------------------------------------------------------------------------------------------
so Looks like client will not connect to reporting Hub but Hub Will initiate 
connection and since Hub is using Mongo DB replication set only one Hub is 
active at a time but hub is making outgoing connection to get reports so no LB 
involved 

The LB I wanted to install was between Client and Policy servers since client 
making connection of Pull they will connect to LB and LB and will be directed 
to any of the underlying server based on LB Algo 

I am assuming here I will be able to access reporting Hub Via Diff DNS name and 
not colide with Policy server name which will be my LB IP 

My assumption is completly based on policy server and policy hubs are two 
different entities , hope that is not the case

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to