[Freeipa-devel] Move replication topology to the shared tree

James purpleidea at gmail.com
Fri Jun 6 10:58:48 UTC 2014


On Mon, Jun 2, 2014 at 4:46 AM, Ludwig Krispenz <lkrispen at redhat.com> wrote:
> Ticket 4302 is a request for an enhancement: Move replication topology to
> the shared tree


One comment to add:

It would be particularly useful if the interface used to set the
topology is something sane that a single host can use to set its
peers. Eg:

host1$ ipa-topology-set-peers host2
host2$ ipa-topology-set-peers host3
host3$ ipa-topology-set-peers host4
host4$ ipa-topology-set-peers host1 # redundant, but okay...

This way config management could define topologies in terms of algorithms. Eg:

Ring topology:
Order hostnames alphabetically.
Peer with host name index of self + 1
(Example shown above)

Star topology:
Peer with every other host in list

Pick two topology:
Peer with each subsequent hosts in ordered list...

And so on...
If running the command changes the topology again, then that's great
because changing the algorithm would re-arrange the graph :)

Hope this made sense.
Cheers,
James




More information about the Freeipa-devel mailing list