Getting started with Clusters

SYSTEM INFORMATION
OS type and version EL 9
Webmin version 2.303

I am trying to learn about clusters.
So far I have created a GPLVirtualmin server and a Webmin server.
They both can (only) communicate with each other via ssh-keys.
On the Vmin server, Webmin Servers Index and created a server for the Webmin system which works in that it can auto log into the webmin server with a single click.
Then on the Vmin server I went to Cluster Users and Groups and created a Managed Server as the Vmin server (self) which would be the master (so I have read).
But, there is no option now to add another server. I have tried and read a lot, it all suggest that there should be an option to add another server, but if it exists then I can’t find it.

Any help appreciated. The purpose if for creating/editing/deletin users on a Vmin server to be replicated on the Webmin server.

Where have you read that?

you could do

then add

I will start with the doc on Clusters.

Registering a server

Before this module can be used to manage another system’s software, that system must be added to its list of servers. To do this, follow these steps:

  • Use the Webmin Servers Index module to add the remote system, and make sure you provide a username and password. This does not have to be done if you want to manage the master server though.
  • In this module select the system from the menu next to the Add server button and then click it. The menu will usually include the special entry this server, which is the master system. It will never include any servers that have already been added though. Alternately you can select an entire group of servers from the menu next to Add servers in group. Groups can be defined in the Webmin Servers Index module as well.

Asa mentioned, I added the remote Webmin server to the master Vmin server.
It then suggest add the master and there should be a special entry “this server” which is nowhere to be seen.

  • A page showing all of the hosts added and the number of packages on each will be displayed. If a host cannot be contacted or the RPC login fails, an error message explaining what went wrong for that host will appear instead.
  • Return to the module’s main page, on which a new icon for each host should now be listed.

This to me doesn’t make sense. We are still in Webmin Servers Index and I don’t see anything about the number of packages.
Then returning to the modules main page - which is where you already are, so how do you return?

Reading further, it doesn’t mention going to the Cluster section - which is where you can see all the packages on a remote server, but doesn’t allow me to add a remote server.

So yeah, I am stumped.

Thanks, but while the docs say to use that to add a remote server, Webmin Servers is for a different function to Webmin clusters, and at least in my case, after adding a webmin server it didn’t show up in the Cluster section.

I didn’t even know about the cluster ‘thing’ until now. I added the server under Webmin servers to do dns.

Where is the option to add another (more) servers? I have only the host server so far.

Whole can or worms regarding Webmin → Webmin Servers Index versus Cluster → Cluster Webmin Servers.

I tested and had a secondary DNS server get updated from the Vmin master as per docs.

Enabling DNS cluster secondary servers

To configure automatic management of secondary zones:

  1. In Servers ⇟ BIND DNS Server, click on the Cluster Secondary Servers icon.
  2. Add your secondary server, ensuring Create secondary on slave when creating locally? option set to Yes.
  3. To propagate existing master zones, set Create all existing master zones on secondary? option to Yes.
  4. For a custom NS record name, ensure it correctly points to your secondary server.
  5. Click Add Now button to add the secondary server to the cluster.

You seem to be making a mountain out of a mole hill, take a step back and just experiment with clustering, if your systems are setup well clustering won’t hurt the running servers. Learn to walk before you run

1 Like

You seem to have more experience, what’s the difference between:
Webmin → Webmin Servers Index
Cluster → Cluster Webmin Servers.

I am not worried that anything will hurt the servers, these are 2 thow aways for testing.

Thanks for trying.

I have already spent a day on this, trying to make sense of it all. I don’t ask on the forum unless I have read all I can find and tried all the options.

Truth is that the docs here are a bit of a mess, no clarity. Perhaps written for experts whereas to be helpful they really need to be written for people without this specific experience.

Webmin → Webmin Servers Index is where you add your new server
Cluster → Cluster Webmin Servers is where you add a server to the cluster
so are you trying to add a third webmin server ?

I may have found the problem.

Clusters requires login via Usermame/Password for root.

My VPS host doesn’t allow username/password login for root, it has to be via SSH keys.

Webmin Servers is OK with ssh keys, can Clusters be changed to allow that too?

Should this be where I add atstaff?

This has nothing to do with clustering, just use a privileged webmin user to login with, remember this is not using ssh to communicate it’s using webmin