I am new to fdb, and I am trying to bring up a single-node fdb
cluster to play with locally.
I have tried using the image docker image foundationdb/foundationdb:7.3.55
and building fdb
myself and trying to run the server like so: ./fdbserver -l public -p 127.0.0.1:4500
which generates the message FDBD joined cluster.
but then fdbcli
fails to connect and reports the server is unavailable.
./fdbcli
Using cluster file `fdb.cluster'.
The database is unavailable; type `status' for more information.
Welcome to the fdbcli. For help, type `help'.
fdb>
Running it in docker-image for 7.3.55 doesn’t work either (presents the same symptoms).
I tried looking at the logs, didn’t find anything obviously wrong, may be I dunno what I am looking for.
Some additional piece of information: I tried docker compose up -d
in https://github.com/apple/foundationdb/blob/main/packaging/docker/samples/golang/docker-compose.yml
yesterday and had the counter-golang-app working. I tried re-tracing my steps to figure out what was wrong with the way I am trying to start single-node cluster, but that doesn’t work anymore either (presents the exact same symptoms). Although it is an old build 6.x, so unsure how useful this information really is.
What is the right way of starting a single-node server to test with locally?