Skip to content

Howto use databend-meta image delopy databend-meta cluster #11696

Closed Answered by wubx
wubx asked this question in Q&A
Discussion options

You must be logged in to vote

fist node startup:

docker run --name databend-meta \
-v meta_storage_dir:/var/lib/databend/meta \
-v log_dir:/var/log/databend \
-d \
--net=host \
-it datafuselabs/databend-meta \
--single \
--id=1 \
--admin-api-address='0.0.0.0:28101' \
--grpc-api-address='0.0.0.0:9191' \
--log-dir='/var/log/databend' \
--raft-listen-host='0.0.0.0' \
--raft-dir='/var/lib/databend/meta/raft' \
--raft-api-port=28103 

second:

docker run --name databend-meta \
-v meta_storage_dir:/var/lib/databend/meta \
-v log_dir:/var/log/databend \
-d \
--net=host \
-it datafuselabs/databend-meta \
--join=['first_ip:28103'] \
--id=2 \
--admin-api-address='0.0.0.0:28101' \
--grpc-api-address='0.0.0.0:9191' \
--log-dir='/v…

Replies: 1 comment

Comment options

wubx
Jun 8, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by wubx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant