6.104. GlusterVolume
此服务管理单个 gluster 卷。
名称 | 概述 |
---|---|
| 获取 gluster 卷详细信息。 |
| 获取 gluster 卷配置文件统计信息。 |
| 重新平衡 gluster 卷。 |
| 删除 gluster 卷。 |
| 重置 gluster 卷中设置的所有选项。 |
| 重置 gluster 卷中的特定选项。 |
| 在 gluster 卷中设置特定选项。 |
| 启动 gluster 卷。 |
| 启动 gluster 卷性能分析. |
| 停止 gluster 卷。 |
| 停止分析 gluster 卷。 |
| 停止重新平衡 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>
名称 | 类型 | 方向 | 概述 |
---|---|---|---|
| in | 指明应遵循哪些内联链接。 | |
| out | gluster 卷的表示形式. |
6.104.1.1. follow
指明应遵循哪些内联链接。这些链接引用的对象将在当前请求中获取。详情请查看此处。