Comments (22)
你好,可以进一步描你的问题吗?安装是指部署集群吗?操作系统,ansible版本,截图补充一下呢
from curve.
from curve.
单机部署
from curve.
你好 @renatozhang ,麻烦提供下详细的安装环境信息,如操作系统发行版、ansible版本等。
from curve.
https://github.com/opencurve/opencurve.github.io/blob/master/image/curve-wechat.jpeg
方便的话可以加上我们的沟通群,那边回复你的问题会比较及时。
from curve.
from curve.
from curve.
ansible版本是多少?我们目前只支持ansible 2.5.9下的安装
from curve.
from curve.
能否把集群状态详情贴一下过来?
from curve.
from curve.
from curve.
from curve.
硬盘怎么添加到curve中去$ curve_ops_tool status curve_ops_tool: /lib64/libcurl.so.4: no version information available (required by /lib64/libaws-cpp-sdk-core.so) Cluster status: Get status metric from 127.0.0.1:8081 fail No snapshot-clone-server is active snapshot-clone-server 127.0.0.1:5556 is offline cluster is not healthy total copysets: 100, unhealthy copysets: 0, unhealthy_ratio: 0% physical pool number: 1, logical pool number: 1 total space = 0GB, logical used = 0GB(0.00%, can be recycled = 0GB(0.00%)), physical used = 0GB(0.00%) Client status: MDS status: version: 0.1.1 current MDS: 127.0.0.1:6666 online mds list: 127.0.0.1:6666 offline mds list: Etcd status: version: 3.4.0 current etcd: 127.0.0.1:2379 online etcd list: 127.0.0.1:2379 offline etcd list: SnapshotCloneServer status: no version found! GetAndCheckSnapshotCloneVersion fail Get status metric from 127.0.0.1:8081 fail current snapshot-clone-server: online snapshot-clone-server list: offline snapshot-clone-server list: 127.0.0.1:5556 ChunkServer status: version: 0.1.1 chunkserver: total num = 3, online = 3, offline = 0(recoveringout = 0, chunkserverlist: []) left size: min = 0GB, max = 0GB, average = 0.00GB, range = 0GB, variance = 0.00
…
------------------ 原始邮件 ------------------ 发件人: "Wangpan"<[email protected]>; 发送时间: 2020年7月21日(星期二) 晚上6:39 收件人: "opencurve/curve"<[email protected]>; 抄送: "Z"<[email protected]>; "Mention"<[email protected]>; 主题: Re: [opencurve/curve] 安装失败 (#14) 能否把集群状态详情贴一下过来? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
你好,从工具的显示来看是正常的,集群不健康是因为快照克隆服务没有部署,如果不需要快照功能,可以忽略这个错误。
你说的添加磁盘到curve是指添加物理磁盘给chunkserver用吗?还是创建一个curve的云硬盘?
from curve.
from curve.
chunkserver和磁盘对应是在部署的时候就指定的,部署结束以后只能通过扩容的方式增加磁盘以及对应的chunkserver。
我们的curve-ansible目前提供了两种部署方式,单机部署和多机部署。单机部署默认是不挂盘的,只是创建一个data目录,多机部署默认是预格式化所有磁盘,有几个磁盘就部署几个chunkserver。
请问你是单机部署还是多机部署,是只想挂载一部分磁盘还是全部数据盘?
from curve.
部署结束以后只能通过扩容的方式增加磁盘以及对应的chunkserver 是不是重新执行playbook 还是怎么操作
from curve.
单机部署只是个demo,不支持扩容。多机部署的情况扩容比较复杂,文档和自动化都还在整理中。
from curve.
from curve.
在实际的生产环境中,chunkserver需要将盘的部分空间(我们一般是80%)格式化成chunkFilePool,剩余的空间用于存放braft的WAL等数据。因此chunkserver能够用到的容量不是分区的容量大小而是chunkFilePool的容量。curve_ops_tool中统计的容量是chunkFilePool的容量,单机部署的情况下没有chunkFilePool,所以显示为0。
如果想要挂载全部数据盘的话,参考部署文档 中的多机部署步骤,格式化chunkFilePool,挂盘都可以自动化完成的。
我们是通过文件系统读写的,所以nvme也是支持的
from curve.
[curve@curve curve-ansible]$ sudo curve create --filename /test --length 10 --user curve
Traceback (most recent call last):
File "curvefs_tool.py", line 20, in
import curvefs
File "/usr/curvefs/curvefs.py", line 37, in
_curvefs = swig_import_helper()
File "/usr/curvefs/curvefs.py", line 36, in swig_import_helper
return importlib.import_module('_curvefs')
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: libunwind.so.8: cannot open shared object file: No such file or directory
from curve.
[curve@curve curve-ansible]$ sudo curve create --filename /test --length 10 --user curve
Traceback (most recent call last):
File "curvefs_tool.py", line 20, in
import curvefs
File "/usr/curvefs/curvefs.py", line 37, in
_curvefs = swig_import_helper()
File "/usr/curvefs/curvefs.py", line 36, in swig_import_helper
return importlib.import_module('_curvefs')
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: libunwind.so.8: cannot open shared object file: No such file or directory
查看一下libunwind软件包有没有安装,如果没有尝试从软件源或者编译安装。
如果已经安装,看一下libunwind.so.8的目录,把目录加到LD_LIBRARY_PATH
中
from curve.
Related Issues (20)
- s3 user agent configuration is incorrect.
- Deploy monitor error
- chunkserver 是否有计划使用io_uring来提高性能 HOT 3
- [tools-v2]: curve bs need a command for files in recycle bin to restore HOT 2
- curvefs/metaserver unit test IteratorTest.MergeIterator segmentation fault in release binary HOT 1
- [tools-v2] The command "curve bs check chunkserver" works incorrectly HOT 2
- curvefs/metaserver unit test `TestTrash.testAdd3ItemAndDelete` assertion fails and blocks
- [Feat]: Optimize LRU cache promotion HOT 3
- [BUG](common): ARCCache's param `c` means cache capacity HOT 5
- Occasional failed unit test cases
- cp -a will trigger alarm information
- Fix arc remove operation
- curvefs cannot create fs when cluster degraded
- `curve bs status cluster` still reports chunkserver offline after replacing the bad disk
- Nit(build): download dependency unsuccessfully
- Calculate curvefs used storage capacity HOT 1
- CI(coverage): Existing tests coverage is low
- could not determine kind of name for C.int64_t
- report nlink <= 0 when run tpc-ds test
- Report the use of components with vulnerabilities in curve
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curve.