Shared Block Primary Storage

AddSharedBlockGroupPrimaryStorage

Adds a SharedBlock primary storage. For example,
AddSharedBlockGroupPrimaryStorage name=test zoneUuid=a8e220606e8a4db88bd95702d9d1dd07 diskUuids=8a4db88bd95702d9d1dd07a8e220606e

Parameters

Name Description Optional Valid Value Starting Version
diskUuids The unique identifier of the disk. For example, UUID, WWN, and WWID. 2.3.2
name The resource name. 2.3.2
description The detailed description of the resource. Yes 2.3.2
type The primary storage type: SharedBlock. Yes 2.3.2
url The reserved field. 2.3.2
zoneUuid The zone UUID. 2.3.2
resourceUuid Yes 2.3.2
userTags The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. Yes 2.3.2
systemTags The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. Yes 2.3.2
timeout Yes
Note:
  • When you add a Shared Block primary storage in ZStack Cloud, you can specify the default volume provisioning strategy by adding the primaryStorageVolumeProvisioningStrategy option to SystemTags.
    • Format of the primaryStorageVolumeProvisioningStrategy option: primaryStorageVolumeProvisioningStrategy::ThinProvisioning, primaryStorageVolumeProvisioningStrategy::ThickProvisioning
    • Example: primaryStorageVolumeProvisioningStrategy::ThinProvisioning, primaryStorageVolumeProvisioningStrategy::ThickProvisioning

QuerySharedBlockGroupPrimaryStorageHostRef

Queries the reference between a Shared Block primary storage and the host to which the primary storage belongs. For example,
QuerySharedBlockGroupPrimaryStorageHostRef 

Nested and Expanded Fields of Query

Field Inventory Description Starting Version
host Host Inventory The host to which the Shared Block primary storage belongs. 2.3.2
sharedBlockGroup Shared Block Primary Storage Inventory The Shared Block primary storage. 2.3.2

QuerySharedBlockGroupPrimaryStorage

Queries a Shared Block primary storage. For example,
QuerySharedBlockGroupPrimaryStorage 

Primitive Fields of Query

See Shared Block Primary Storage Inventory

Nested and Expanded Fields of Query

Field Inventory Description Starting Version
cluster Cluster Inventory The parent cluster. 2.3.2
sharedBlocks Shared Block Inventory 2.3.2
volume Volume Inventory The volumes in the Shared Block primary storage. 2.3.2
volumeSnapshot Volume Snapshot Inventory The volume snapshots in the Shared Block primary storage. 2.3.2
zone Zone Inventory The zone to which the Shared Block primary storage belongs. 2.3.2

AddSharedBlockToSharedBlockGroup

Adds a LUN to a Shared Block primary storage. For example,
AddSharedBlockToSharedBlockGroup diskUuid=8a4db88bd95702d9d1dd07a8e220606e uuid=a8e220606e8a4db88bd95702d9d1dd07

Parameters

Name Description Optional Valid Value Starting Version
diskUuid The unique identifier of the disk. For example, UUID, WWN, and WWID. 2.3.2
uuid The UUID of the Shared Block primary storage. 2.3.2
userTags The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. Yes 2.3.2
systemTags The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. Yes 2.3.2
timeout Yes

GetSharedBlockCandidate

Obtains the candidate LUNs. For example,
GetSharedBlockCandidate clusterUuid=a8e220606e8a4db88bd95702d9d1dd07

Parameters

Name Description Optional Valid Value Starting Version
clusterUuid The cluster UUID. 2.6.0
userTags The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. Yes 2.6.0
systemTags The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. Yes 2.6.0
timeout Yes

RefreshSharedblockDeviceCapacity

Refreshes the capacity of a LUN. For example,
RefreshSharedblockDeviceCapacity sharedBlockGroupUuid=8a4db88bd95702d9d1dd07a8e220606e

Parameters

Name Description Optional Valid Value Starting Version
uuid Yes 2.6.0
sharedBlockGroupUuid 2.6.0
userTags The user tags. For more information, see CreateUserTag. The resource type is PrimaryStorageVO. Yes 2.6.0
systemTags The system tags. For more information, see CreateSystemTag. The resource type is PrimaryStorageVO. Yes 2.6.0
timeout Yes

QuerySharedBlock

Queries a LUN. For example,
QuerySharedBlock 

Primitive Fields of Query

See Shared Block Inventory.

Nested and Expanded Fields of Query

Field Inventory Description Starting Version
sharedBlockGroup Shared Block Primary Storage Inventory The Shared Block primary storage. 2.3.2
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center