0

我已经安装了具有一个代理和 3 个主服务器的 DCOS,并尝试安装 ArangoDB,但无法部署 arangodb。

以下是根据日志看到的配置。

ArangoDB 图片:arangodb/arangodb-mesos:3.0

模式:集群

异步复制标志:0

SecondaryWithDBservers: 0

CoordinatorsWithDBservers: 0

次要服务器:0

ArangoDBForcePullImage:1

ArangoDBPrivilegedImage: 0

最小资源代理:mem( ):2048;cpus( ):0.25;disk(*):2048

最小资源 DBserver:mem( ):4096;cpus( ):1;disk(*):4096

最小资源辅助DBserver:mem( ):4096;cpus( ):1;disk(*):4096

最小资源协调器:mem( ):4096;cpus( ):1;disk(*):1024

代理人数:3人

数据库服务器数量:2

协调员人数:2

动物园管理员:zk://master.mesos:2181/arangodb3

以下是日志文件中看到的错误。

0901 07:07:34.769537 23 CaretakerCluster.cpp:422] 计划代理实例:3,运行代理实例:1

I0901 07:07:34.769601 23 Caretaker.cpp:400] 报价下降 e2301ebe-fff0-46a5-b71b-ef77b9a7a764-O11

I0901 07:07:37.474743 24 HttpServer.cpp:439] 处理 http 请求 'GET /v1/health.json'

I0901 07:07:40.802276 23 CaretakerCluster.cpp:416] 这里提供:

{"id":{"value":"e2301ebe-fff0-46a5-b71b-ef77b9a7a764-O12"},"framework_id":{"value":"37ac79b8-bc37-4493-9558-aa72638290db-0002"}," slave_id":{"value":"37ac79b8-bc37-4493-9558-aa72638290db-S0"},"hostname":"192.168.12.167","url":{"scheme":"http","address": {"hostname":"192.168.12.167","ip":"192.168.12.167","port":5051},"path":"/slave(1)","query":[]},"resources ":[{"name":"ports","type":1,"ranges":{"range":[{"begin":1026,"end":2180},{"begin":2182,"结束“:3887},{“开始”:3889,“结束”:5049},{“开始”:5052,"end":8079},{"begin":8082,"end":8180},{"begin":8182,"end":17140},{"begin":17144,"end":32000} ]},"role":" "},{"name":"disk","type":0,"scalar":{"value":1.17866e+06},"role":" "},{ "name":"cpus","type":0,"scalar":{"value":7.5},"role":" "},{"name":"mem","type":0,"标量":{"值":12298},"角色":"磁盘","type":0,"scalar":{"value":1.17866e+06},"role":" "},{"name":"cpus","type":0,"scalar" :{"value":7.5},"role":" "},{"name":"mem","type":0,"scalar":{"value":12298},"role":"磁盘","type":0,"scalar":{"value":1.17866e+06},"role":" "},{"name":"cpus","type":0,"scalar" :{"value":7.5},"role":" "},{"name":"mem","type":0,"scalar":{"value":12298},"role":""}],"属性":[],"executor_ids":[]}

I0901 07:07:40.802320 23 CaretakerCluster.cpp:422] 计划代理实例:3,运行代理实例:1

I0901 07:07:40.802383 23 Caretaker.cpp:400] 报价下降 e2301ebe-fff0-46a5-b71b-ef77b9a7a764-O12

我相信一台代理服务器也足够了。是不是代理的数量也应该是3台服务器?

如果需要,还需要知道如何重新启动整个集群和单个服务?(杀死进程似乎不是正确的方法)

有人可以建议这里究竟需要做什么......

提前致谢!

4

1 回答 1

6

我是否正确理解您只有一个代理节点(这将解释只有一个实例正在运行)?ArangoDB 至少需要 3 个代理节点。请参阅安装前说明:https ://github.com/mesosphere/universe/blob/version-3.x/repo/packages/A/arangodb3/4/package.json#L10

于 2016-09-02T06:50:48.870 回答