In this day and age, large enterprise companies make use of Ansible, Puppet, or Chef to provision MySQL servers, be it replica sets or clusters. This eases the burden of deployment and workflow management.
However, for some smaller companies, the learning curve hampers the immediate adoption of automation software. This is where the MySQL Shell helps, by allowing you to deploy an N-node InnoDB Cluster or ReplicaSet in less than 60 lines of code.
The Requirements
- Percona Server for MySQL version 8.0.17 or later, preferable version 8.0.19, each node started as standalone servers
- Percona MySQL Shell 8.0 or equivalent upstream version
- MySQL root user and password or equivalent user with grant option
- Hostname configured on each node, can be done with …