工具

Ozone Admin

师成师成· 更新于 2026-09-28· 阅读 3 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录

ozone admin 命令是一组仅供管理员使用的工具集合。

以下是可用功能的快速概览:

  • ozone admin safemode
    检查安全模式状态,并强制进入或退出安全模式。
    --verbose 选项会打印用于评估安全模式状态的所有规则的校验结果。
  • ozone admin container
    容器是复制的最小单元。
    各子命令可用于调试当前容器状态(列出 / 获取 / 创建 / …)。
  • ozone admin pipeline
    帮助检查可用的管道(DataNode 集合)。
  • ozone admin datanode
    提供有关 DataNode 的信息。
  • ozone admin printTopology
    显示与机架感知相关的信息。
  • ozone admin replicationmanager
    检查复制状态,并可在紧急情况下启动或停止复制。
  • ozone admin om
    与 Ozone Manager HA 相关的工具,用于获取集群信息。

如需了解更详细的用法,请参阅 --help 的输出。

$ ozone admin --help

Usage: ozone admin [-hV] [--verbose] [-conf=<configurationPath>]
                   [-D=<String=String>]... [COMMAND]

Developer tools for Ozone Admin operations

Options:
  -conf=<configurationPath>
  -D, --set=<String=String>
  -h, --help      Show this help message and exit.
  -V, --version   Print version information and exit.
      --verbose   More verbose output. Show the stack trace of the errors.

Commands:
  containerbalancer   ContainerBalancer specific operations
  replicationmanager  ReplicationManager specific operations
  safemode            Safe mode specific operations
  printTopology       Print a tree of the network topology as reported by SCM
  cert                Certificate related operations
  container           Container specific operations
  datanode            Datanode specific operations
  pipeline            Pipeline specific operations
  namespace           Namespace Summary specific admin operations
  om                  Ozone Manager specific admin operations
  reconfig            Dynamically reconfigure server without restarting it
  scm                 Ozone Storage Container Manager specific admin operations

评论

登录后参与评论

正在加载评论…