【问题标题】:Graphite carbon ceres maintenance石墨碳ceres保养
【发布时间】:2012-10-30 17:37:54
【问题描述】:

我在 Ceres 数据库后端使用Carbon Graphite。我很难弄清楚如何让 dedrag 工作以巩固切片。

我尝试了以下方法,但出现了一个相当奇怪的错误:

$ /opt/graphite/bin/ceres-maintenance --configdir=/opt/graphite/conf/carbon-daemons/example/ defrag
/opt/graphite/storage/ceres/ is not inside a CeresTree

有人有什么见解吗?网络上似乎很少有这方面的内容。

【问题讨论】:

    标签: graphite


    【解决方案1】:

    两种可能:

    1. 数据目录的默认位置由 --root 指定。所以,指定它。也就是说,可能是 /opt/datastore/ceres/ (或不是)。

    2. 如果您确定指向正确的 --root,请确保您没有丢失 .ceres-tree 目录(mkdir /opt/datastore/ceres/.ceres-tree/ )

    把它们放在一起:

    /opt/graphite/bin/ceres-maintenance --configdir=/opt/graphite/conf/carbon-daemons/example --root=/opt/datastore/ceres/

    您可以选择添加 --daemon 和 --logdir=/tmp/mydefrag.log

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多