搜索

6.104. GlusterVolume

download PDF

此服务管理单个 gluster 卷。

表 6.300. 方法概述
名称概述

get

获取 gluster 卷详细信息。

getprofilestatistics

获取 gluster 卷配置文件统计信息。

rebalance

重新平衡 gluster 卷。

remove

删除 gluster 卷。

resetalloptions

重置 gluster 卷中设置的所有选项。

resetoption

重置 gluster 卷中的特定选项。

setoption

在 gluster 卷中设置特定选项。

start

启动 gluster 卷。

startprofile

启动 gluster 卷性能分析.

stop

停止 gluster 卷。

stopprofile

停止分析 gluster 卷。

stoprebalance

停止重新平衡 gluster 卷。

6.104.1. 获取 GET

获取 gluster 卷详细信息。

例如,若要获取群集 456 中标识符为 123 的 gluster 卷详情,请发送类似如下的请求:

GET /ovirt-engine/api/clusters/456/glustervolumes/123

此 GET 请求将返回以下输出:

<gluster_volume id="123">
 <name>data</name>
 <link href="/ovirt-engine/api/clusters/456/glustervolumes/123/glusterbricks" rel="glusterbricks"/>
 <disperse_count>0</disperse_count>
 <options>
   <option>
     <name>storage.owner-gid</name>
     <value>36</value>
   </option>
   <option>
     <name>performance.io-cache</name>
     <value>off</value>
   </option>
   <option>
     <name>cluster.data-self-heal-algorithm</name>
     <value>full</value>
   </option>
 </options>
 <redundancy_count>0</redundancy_count>
 <replica_count>3</replica_count>
 <status>up</status>
 <stripe_count>0</stripe_count>
 <transport_types>
   <transport_type>tcp</transport_type>
 </transport_types>
 <volume_type>replicate</volume_type>
 </gluster_volume>
表 6.301. 参数摘要
名称类型方向概述

follow

字符串

in

指明应遵循哪些内联链接

GlusterVolume

out

gluster 卷的表示形式.

6.104.1.1. follow

指明应遵循哪些内联链接。这些链接引用的对象将在当前请求中获取。详情请查看此处

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.