This is only useful for data-workers that will be running on your localhost (same as control process) as remote machines will not be able to look on the control process server for the control process PID.
Looking further into the code, the use of the parent process PID is to monitor the parent:
Here it passes the parent process ID input to the data worker:
Do we need same performance servers for a cluster? If one server is much faster than the others, Iām wondering how quil deals with it, as we only have one ātime_takenā, will this fast server have to wait for the others?
yes. Youād want similar hardware across your entire cluster as anything else just introduces inefficiencies/wasted timeā you could start a new cluster with more powerful hardware that isnāt dragged down by your older hardware and you wouldnāt want to add slower hardware into your clusters as you would be shooting yourself in the foot.
In the ceremonyclient.service file I had ā/rootā specified as a working directory. So the node binary was looking for (and generated default) config files in /root/.config directory. So I updated the working directory to ā/root/ceremonyclient/nodeā.
The config files had '- ā chars appended to dataWorkerMuktiaddrs entries which is not valid for yml. I removed those prefixes.
@Tyga, maybe you should add a notation in the main tutorial to either use the square brackets or the '- ā chars for the dataWorkerMultiaddrs: entries
It can be confusing for first timers.
How can I leave breathing room on my master node? I tried deleting 1 worker from multiadrs but it crashed, then i launched from --core 2 and runned less cores but it crashed aswell.
Now iām thinking about cpulimit but im not sure will the control process take resources. Any suggetsions?
I removed '- ā as you were using sware bracket ā[ā and ā]ā to enclose dataWorkerMuktiaddrs entries (just like the default config file suggests).
In the tutorial an alternative notation without square brackets is used which is likely valid.
Does someone know if one could use Tailscale magic DNS, such as machine-a.taila7r35.ts.net in the config.yml and in the firewall rules?
This would allow for easy management if switching a machine, since AFAIU you can maintain the same DNS which is derived from the name you assign to the machine in Tailscale.
dataWorkerMultiaddrs: [
# Machine A
/ip4/machine-a.taila7r35.ts.net/tcp/40000,
/ip4/machine-a.taila7r35.ts.net/tcp/40001,
/ip4/machine-a.taila7r35.ts.net/tcp/40002,
...
and sudo ufw allow from machine-a.taila7r35.ts.net to any port 40003:40006 proto tcp
I have looked around at other firewall solution, but I donāt find anything that supports DNS in their rules.
But I havenāt dug too much TBH.
Pity, because this way when switching machines one would have to re-edit at least the firewall rules.
Although, I see that Tailscale allows you to change the IP address of each machine. Wondering if you would be able to delete an old machine, add a new one and then change its IP to the one of the old machineā¦
yes. As you found out, currently the only reason for the config on the slave node(s) is to get the addresses to create DataWorker processes for (and their ports).