How do I use MariaDB template with auto-clustering?

How do I use MariaDB template with auto-clustering?

Auto-Clustering is provided for the 10.x MariaDB versions only.

Automatic clusterization of the databases with pre-configured replication and auto-discovery of the nodes.

Based on the requirements, I can select Scheme of the following types:

1. Master-Master with Extra Slaves:
Pre-configured replication with two interconnected master databases. During the horizontal scaling, the cluster is extended with additional slave nodes.


2. Master-Slave with Extra Slaves:
Pre-configured replication with one master and one slave database. During the horizontal scaling, the cluster is extended with additional slave nodes.


3. Galera Cluster:
All servers can accept updates even if being issued concurrently.