-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[curve/toos-v2]: add do-snapshot-all #2352
Comments
I want to complete this task, can you assign it to me? |
@iiiuwioajdks You can do it first do-snapshot |
ok |
|
Currently snapshot-related commands cannot use the cluster deployed by curveadm palygroud (there is no s3, so there is no snapshot). kind: curvebs
global:
...
s3.nos_address: <> // ip:9000 is the ip and port number deployed by minio
s3.snapshot_bucket_name: <> // created bucket name
s3.ak: <> // ak minioadmin
s3.sk: <> //sk minioadmin
...
chunkserver_services:
config:
...
copiesets: 100
chunkfilepool.enable_get_chunk_from_pool: false
deploy:
- host: ${target}
- host: ${target}
- host: ${target}
... |
目前snapshot 相关的命令不能使用 curveadm palygroud 部署的集群(没有s3,所以没有snapshot). kind: curvebs
global:
... ...
s3.nos_address: <> // ip:9000 为minio部署的ip和端口号
s3.snapshot_bucket_name: <> // 创建的桶名
s3.ak: <> // ak minioadmin
s3.sk: <> //sk minioadmin
... ...
chunkserver_services:
config:
... ...
copysets: 100
chunkfilepool.enable_get_chunk_from_pool: false
deploy:
- host: ${target}
- host: ${target}
- host: ${target}
... ... |
@iiiuwioajdks Are you still going on? |
We temporarily closed this issue because you haven't responded for a long time, others can choose to do it. you are welcome to continue it if have time. |
May I try it? |
Is your feature request related to a problem? (你需要的功能是否与某个问题有关?)
we'd like to support
bs snapshot
command in curve toolcurve/src/tools/curve_cli.cpp
Lines 291 to 314 in 8d6caf7
Refer to tool develop guide to get start, and paste the result of the command in pr.
Build compilation environment:https://github.com/opencurve/curve/blob/master/docs/cn/build_and_run.md
Describe the solution you'd like (描述你期望的解决方法)
Add subcommand clinet to curve bs list.
Describe alternatives you've considered (描述你想到的折衷方案)
Additional context/screenshots (更多上下文/截图)
The text was updated successfully, but these errors were encountered: