Before you begin
You need:- A SimpleCloud network with one working serverhost
- A supported Linux or macOS machine with root or sudo access
- Network access between the serverhosts
Add the serverhost
1
Create an installation command
Open the SimpleCloud dashboard, select your
network, and go to Settings > Server Hosts. Select Add Host.
2
Install SimpleCloud
Copy the generated command and run it on the machine you want to add. The
command installs SimpleCloud, registers the serverhost, and starts it.
Synchronize shared files
Serverhosts need the same files when they can run the same servers. SimpleCloud does not synchronize these directories by default. After you configure and enable synchronization, it keeps these directories synchronized:templates/contains the files used to prepare serversworkflows/contains preparation and cleanup workflowsoptions/contains configurator settings and platform mappings
templates/cache/ is excluded. Each serverhost creates its own cache and archived logs.
On Linux, the CLI offers to install and start Syncthing when needed. On macOS,
install and start it before continuing:
1
Initialize synchronization
On the primary sync host, run:Use a unique, recognizable name for each host. When the command finishes,
it prints the complete join command for the new host.
If your serverhost runs as root, add
--as-root and use that option for
every sc sync command on the host.2
Join the new serverhost
Run the generated
sc sync join ... command on the new serverhost. It
prints an approval command when it finishes.3
Approve the serverhost
Run the generated
sc sync approve ... command on the primary sync host.
Synchronization starts automatically after the hosts connect.Verify the setup
Run this command on both serverhosts:connected. Under
Managed folders, templates, workflows, and options should each show as
configured.
Fix an interrupted setup
- If you lose the join command, run
sc sync addagain on the primary sync host to generate a new one. - If joining or approval stops with an error, fix the reported problem and rerun that command. The commands keep existing synchronization settings.
- If a peer shows as
offline, confirm both serverhosts are running and can reach each other. If a firewall blocks direct connections, allow TCP and UDP port22000between the hosts. - If you use
--as-root, include it when runningsc sync statusor retrying a setup command on that host.
sc sync reset on that host. This removes its synchronization settings but
keeps the synchronized files. Then generate a new join command on the primary
sync host and repeat the join and approval steps.