As you’re aware, I use ndbcluster here.
I’m finally starting to finish up our database deployment, and there’s just one last piece to the puzzle that needs cleared up…
We have multiple web servers, and multiple database servers. I have used mysql’s built-in replication to replicate mysql.user to my non-virtualmin mysql servers. I add a user on my virtualmin box, it gets created on the other servers.
Whether I do it this way, or use Jamie’s feature to create users on multiple servers, one issue remains…
Each user needs grant permissions for all of our web servers. By default, virtualmin only does so on it’s host, and localhost.
I’d like to be able to say “when you create the mysql user, also grant on hosts x, y, and z”. I can probably hack this in, but ideally I could grant specific permissions from multiple hosts at user creation time, and just run a script that hits all of the existing users.
For now I’ll probably just put a cron job in that makes sure all of the users have grant from the web servers. Here’s to hoping!