Ceph Primary Storage
AddCephPrimaryStorage
Adds a Ceph primary storage. For
example,
AddCephPrimaryStorage name=ceph2 zoneUuid=bd73a3d1e6784d49897be5ae785305d8
monUrls=root:password@10.0.41.162:22/6789Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| monUrls | The URL list of the Ceph monitor daemon (Ceph mon). | 0.6 | ||
| rootVolumePoolName | The name of the Ceph pool that is available for root volumes. | Yes | 0.6 | |
| dataVolumePoolName | The name of the Ceph pool that is available for data volumes. | Yes | 0.6 | |
| imageCachePoolName | The name of the Ceph pool that is available for image caches. | Yes | 0.6 | |
| url | The reserved field. | 0.6 | ||
| name | The name of the Ceph primary storage. | 0.6 | ||
| description | The detailed description of the Ceph primary storage. | Yes | 0.6 | |
| type | The primary storage type: Ceph. | Yes | 0.6 | |
| zoneUuid | The zone UUID. | 0.6 | ||
| resourceUuid | The resource UUID. | Yes | 0.6 | |
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| timeout | Yes |
QueryCephPrimaryStorage
Queries a Ceph primary storage. For
example,
QueryCephPrimaryStorage uuid=985ea2eaedf04937ba59ccc2112b636eQueryCephPrimaryStorage cluster.uuid=b993791c88f74c27943b4be6715ce219Primitive Fields of Query
Nested and Expanded Fields of Query
| Field | Inventory | Description | Starting Version |
|---|---|---|---|
| cluster | Cluster Inventory | The cluster to which the Ceph primary storage belongs. | 0.6 |
| mons | 0.6 | ||
| pools | 0.6 | ||
| zone | Zone Inventory | The zone to which the Ceph primary storage belongs. | 0.6 |
| volume | Volume Inventory | The volumes in the Ceph primary storage. | 0.6 |
| volumeSnapshot | Volume Snapshot Inventory | 0.6 |
AddMonToCephPrimaryStorage
Adds a monitor daemon (Ceph mon) to a Ceph primary storage. For
example,
AddMonToCephPrimaryStorage uuid=5021c135ad6f422a9a3298871e516cd5 monUrls=root:password@10.0.41.162:22Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The UUID of the Ceph primary storage. | 0.6 | ||
| monUrls | The URL list of the Ceph mon. | 0.6 | ||
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| timeout | Yes |
RemoveMonFromCephPrimaryStorage
Removes the monitor daemon (Ceph mon) from a Ceph primary storage. For
example,
RemoveMonFromCephPrimaryStorage uuid=5021c135ad6f422a9a3298871e516cd5 monHostnames=10.0.41.162Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The UUID of the Ceph primary storage. | 0.6 | ||
| monHostnames | The hostname list of the Ceph mon. | 0.6 | ||
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| timeout | Yes |
UpdateCephPrimaryStorageMon
Updates the monitor daemon (Ceph mon) of a Ceph primary storage. For
example,
UpdateCephPrimaryStorageMon monUuid=1229015ddaba4b74aff663877e37ec75Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| monUuid | The Ceph mon UUID. | 0.6 | ||
| hostname | The new hostname of the Ceph mon. | Yes | 0.6 | |
| sshUsername | The SSH username of the Ceph mon. | Yes | 0.6 | |
| sshPassword | The SSH password of the Ceph mon. | Yes | 0.6 | |
| sshPort | The SSH port of the Ceph mon. | Yes | 0.6 | |
| monPort | The new port of the Ceph mon. | Yes | 0.6 | |
| userTags | The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. | Yes | 0.6 | |
| timeout | Yes |
AddCephPrimaryStoragePool
Adds a Ceph primary storage pool. For
example,
AddCephPrimaryStoragePool poolName=pool1 primaryStorageUuid=ee00abea8e9d4878b50887c92496a12d \
isCreate=trueParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| primaryStorageUuid | The UUID of the Ceph primary storage. | 0.6 | ||
| description | The detailed description of the resource. | Yes | 0.6 | |
| resourceUuid | Yes | 0.6 | ||
| poolName | The name of the Ceph primary storage pool. | 0.6 | ||
| aliasName | The alias of the Ceph primary storage pool. | Yes | 0.6 | |
| isCreate | Creates an extension pool. If the added Ceph primary storage pool does not exist, you must create an extension pool. | Yes | 0.6 | |
| type | The type of the Ceph primary storage pool. | 3.1.1 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 0.6 | |
| timeout | Yes |
DeleteCephPrimaryStoragePool
Deletes a Ceph primary storage pool. For
example,
DeleteCephPrimaryStoragePool uuid=495b6fda1d9a454a8350e0fef721addcParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The UUID of the Ceph primary storage. | 0.6 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 0.6 | |
| timeout | Yes |
QueryCephPrimaryStoragePool
Queries a Ceph primary storage pool. For
example,
QueryCephPrimaryStoragePool poolName=pool1Primitive Fields of Query
UpdateCephPrimaryStoragePool
Updates a Ceph primary storage pool. For
example,
UpdateCephPrimaryStoragePool uuid=e32dcd14d7514e23a4b21731110dc305Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| uuid | The UUID of the Ceph primary storage pool. | 0.6 | ||
| description | The detailed description of the resource. | Yes | 0.6 | |
| aliasName | The alias of the Ceph primary storage pool. | Yes | 0.6 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 0.6 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 0.6 | |
| timeout | Yes |
QueryCephOsdGroup
Queries a Ceph OSD group. For example,
QueryCephOsdGroup uuid=2f165cecadff4bca936bc04bf3ff3788