I’ve created 2 ubuntu machines on hetzner cloud with port 4500 open. I installed the 7.3.27-1 client then server on each, and ran the make_public
script on one server.
I copied that cluster file to the other server, replacing the existing cluster file, and restarted the server. I am now observing the following 2 issues:
- Both servers show the following with
status
command:
fdb> status
Using cluster file `/etc/foundationdb/fdb.cluster'.
Configuration:
Redundancy mode - single
Storage engine - memory
Log engine - ssd-2
Encryption at-rest - disabled
Coordinators - 1
Desired Commit Proxies - 3
Desired GRV Proxies - 1
Desired Resolvers - 1
Desired Logs - 3
Usable Regions - 1
Cluster:
FoundationDB processes - 1 (less 0 excluded; 1 with errors)
Zones - 1
Machines - 1
Memory availability - 8.0 GB per process on machine with least available
Fault Tolerance - 0 machines
Server time - 03/10/24 13:28:50
Data:
Replication health - Healthy
Moving data - 0.000 GB
Sum of key-value sizes - 0 MB
Disk space used - 105 MB
Operating space:
Storage server - 1.0 GB free on most full server
Log server - 144.1 GB free on most full server
Workload:
Read rate - 36 Hz
Write rate - 1 Hz
Transactions started - 16 Hz
Transactions committed - 1 Hz
Conflict rate - 0 Hz
Backup and DR:
Running backups - 0
Running DRs - 0
Client time: 03/10/24 13:28:49
I would expect the number of machines to be 2, both are happy and no issues in service foundationdb status
either:
Mar 10 13:02:04 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="fdbmonitor": Loading configuration /etc/foundationdb/foundationdb.conf
Mar 10 13:02:04 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="fdbmonitor": Starting backup_agent.1
Mar 10 13:02:04 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="fdbmonitor": Starting fdbserver.4500
Mar 10 13:02:04 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="fdbserver.4500": Launching /usr/sbin/fdbserver (1220) for fdbserver.4500
Mar 10 13:02:04 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="backup_agent.1": Launching /usr/lib/foundationdb/backup_agent/backup_agent (1>
Mar 10 13:02:05 ubuntu-16gb-hil-1 fdbmonitor[1218]: LogGroup="default" Process="fdbserver.4500": FDBD joined cluster.
(this is from the non-coordinator server)
I see the same behavior when adding a third server, not joining the cluster, same status
output. I can confirm that curl -vvv telnet://<coord_ip>:4500
shows that I can connect, so it is definitely listening.
coordinators auto
command hangs:
fdb> coordinators auto
WARNING: Long delay (Ctrl-C to interrupt)
The database is available.
Just sits there forever