Example YugabyteDB Setup #1797
Replies: 8 comments 9 replies
-
FilCollins (Boost team's test miner) Deployment Platform: Docker |
Beta Was this translation helpful? Give feedback.
-
I originally started my yb-tserver with no parameters (all defaults) expect the data directory and binding addresses as follow: ...but that gave me an SSL error message:
To try to fix this, I thought it was necessary to enable SSL, so I went down the path of enabling Client encryption (as per the Yugabyte documentation link: https://docs.yugabyte.com/preview/secure/tls-encryption/client-to-server/) and then ran the yb-tserver with these additional parameters:
This generated a new error message:
Only by starting the yb-tserver with only the two paramaters below would it start to work:
(leaving the other parameters to their default values) The final yb-tserver startup command then looked like this: I used the "default" migration command on the boost server as per the boost documentation: |
Beta Was this translation helpful? Give feedback.
-
Our setup is pretty simple. Three instances of the YB-Master+YB-TServer per cluster, with one set directly on the miner's server. Deployment Platform: manual deployment (+systemd units) master.conf (
tserver.conf (
YB-Master:
YB-TServer:
At last
|
Beta Was this translation helpful? Give feedback.
-
Quick and easy deployment for an single instance, easy upgrade and management if comfortable with docker: I'm testing the new YugabyteDB install and testing it. I'm running as a local docker image on 1 server:
And then after :
Seems to run fine and is up in less then 10sec, admin page seems to load fine.
|
Beta Was this translation helpful? Give feedback.
-
I notice that a lot of the PostgreSQL connect strings here are connecting to a singular Note that this only applies to those who are setting up a YugabyteDB cluster. |
Beta Was this translation helpful? Give feedback.
-
Can it be implemented in |
Beta Was this translation helpful? Give feedback.
-
***@***.***:3333,198.51.100.33:5555
You can connect to multiple postgres nodes in this format.
…On Sat, Nov 4, 2023, 12:02 AM Shekelme ***@***.***> wrote:
to keep your connect string from being non-redundant
Can it be implemented in boostd-data itself?
—
Reply to this email directly, view it on GitHub
<#1797 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWQ3UTVOBSCOA4ORJZWPL6DYCXR7ZAVCNFSM6AAAAAA62PPILCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINZSHAZDE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
It is possible that yugabyte's version of postgres doesn't support it, in
which case you need to setup a load balancer instead.
…On Sun, Nov 5, 2023, 12:18 AM Shekelme ***@***.***> wrote:
I'm afraid I can't.
Nov 05 10:15:53 lenovo92 boostd-data[1681018]: Error: starting yugabyte store: starting local index directory service: running postgres migrations: getting number of rows in PieceTracker table: dial tcp: lookup 192.168.11.92:5433,192.168.11.11:5433,192.168.11.20:5433: no such host
My boostd-data systemd unit looks like
[Unit]
Description=boostd-data
After=network-online.target
After=yb-tserver.service
Requires=network-online.target
Wants=yb-tserver.service
[Service]
ExecStart=/tmp/boostv2/boostd-data run yugabyte --hosts 192.168.11.92,192.168.11.11,192.168.11.20 ***@***.***:5433,192.168.11.11:5433,192.168.11.20:5433" --addr 0.0.0.0:8044
Restart=always
RestartSec=5
TimeoutStartSec=20
TimeoutStopSec=20
User=admfc
Group=admfc
Type=simple
[Install]
WantedBy=multi-user.target
Or did I misunderstand something?
—
Reply to this email directly, view it on GitHub
<#1797 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWQ3UTUV4S6EUYC7VDBQIBDYC44VVAVCNFSM6AAAAAA62PPILCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TINZXG42DA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We invite all Boost users to please add their YugabyteDB deployment experience and details including all configuration parameters to this discussion. This discussion will serve as a reference architecture for other users.
Please make sure to omit any IP and other sensitive information
A few key points to keep in mind while deploying:
Error: starting yugabyte store: creating cassandra keyspace idx: creating yugabyte cluster: gocql: unable to create session: unable to discover protocol version: EOF
postgresql://<username>:<password>@<yugabytedb>:5433?sslmode=disable
postgresql://<username>:<password>@<yugabytedb>:5433
CQL timeouts
with 60 seconds, the problem is likely on the server side.XFS
.Beta Was this translation helpful? Give feedback.
All reactions