This article has been written by Hans Peyrot
Why do you need a cluster ?
This is more an admin tool than programmers, you can use it to type common commands to servers that are identical or at least very similar, this allows you to:
- update several servers
- edit a config file on all of them at the same time
From a programmer point of view
As an example, I program remote Raspeberri Pi that are connected to electronic scales, etc. And have a very unique code that is similar across them, but I do not have a development environment because I do not have the interest in buying expensive scales or robot arms, to be able to develop. So I connect to all of them simultaneously, they all have exactly the same code; then I edit the code on one terminal and I'm patching on real time the others. Of course I could work on one and then copy the file to the others, but for small adjustments this has been always more practical.
And there are some other more complicated uses when add to the terminals tunnels, expect, etc. All those tunnels will open simultaneously too.
Create a cluster
Clusters, click on the
Add button a provide the name of your new cluster:
Select the connections from the left list and add them to the cluster using button
Add to cluster:
When done selecting, click the
OK button to save your changes:
The new cluster will be available in the menu or the cluster list on the main window.
Using an existing cluster
Either from the system bar menu or from the
Clusters menu in the left side bar of Ásbrú Connection Manager, run your cluster:
This will open all terminals simultaneously and link the keyboard to all terminals in the cluster. So anything you write on one will be simultaneously typed in the others.
Power Cluster Management
The Power Cluster Management (aka PCC), is used on 2 conditions:
- You open several terminals that have no cluster
- So you open the PCC and activate, send keys to all open terminals, similar, but terminals are not clustered
- Open a cluster and for some reason you loose communication with one of them and that terminal reconnects but is no longer with the cluster.
- Its main advantage is that you can type a command on a single terminal and is not passed to the others, you use the PCC to pass it to all. With a cluster you can not type a different command on one of them they are tied together.