ECS Cloud Disks Test

Cloud disks are block-level Elastic Block Storage (EBS) products provided by Alibaba Cloud for ECS and provide low latency, high performance, high durability, and high reliability. Cloud disks use a distributed triplicate mechanism to ensure 99.9999999% (nine 9's) data durability for ECS instances. If service disruptions occur within a zone (for example, due to hardware failures), data within the zone is copied to an available disk in another zone to help ensure data availability.

Cloud disks are classified into the following categories based on their performance:

  • Enhanced SSDs (ESSDs): ESSDs are based on the next-generation distributed block storage architecture and the 25 Gigabit Ethernet (25 GE) and remote direct memory access (RDMA) technologies. Each ESSD has low latency and can deliver up to one million input/output operations per second (IOPS).
  • Standard SSDs: Standard SSDs are high-performance disks that provide consistent high random IOPS and high data reliability.
  • Ultra disks: Ultra disks are cost-effective and provide medium random IOPS and high data reliability.
  • Basic disks: Basic disks are the previous generation of disks and are unavailable for purchase.

Cloud disks are classified into system disks and data disks based on their purpose.

  • System disks contain operating systems and can be created only along with instances. The lifecycle of a system disk is the same as that of the instance to which the system disk is attached.
  • Data disks are used to store application data and can be created separately or along with instances.

If a system/data disk is suddenly detached/deleted, all instances attached to such disks will be adversely impacted. For instance, without access to the OS files stored in the system disk, the instance may not even boot up. Likewise, the loss of application data in the data disk, may degrade application performance and may also affect user productivity. This is why, before initiating a disk detach/delete operation, administrators must first determine which instances are attached to the disk, and then analyze how the deletion/detachment of the disk will impact the instances

Using the ECS Cloud Disks test, you can closely monitor the status of each cloud disk and learn what features/properties are enabled for every disk. In the process, detaching disks can be rapidly identified. The test also reports the count and details of instances attached to each disk, thus enabling administrators quickly figure out which instances will be impacted when a disk is deleted or is in the 'Deleting' state.

Target of the test : An Alibaba Cloud Account

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each cloud disk

Configurable parameters for the test
Parameters Description

Test period

How often should the test be executed

Host

The host for which the test is to be configured.

Alibaba Access Key and Alibaba Secret Key

This test makes REST API requests to the Alibaba cloud to pull the metrics. For this purpose, the test needs to be configured with an AccessKey pair. An AccessKey pair is typically used to call an operation of an Alibaba Cloud service. It is also used to initiate an API request or use a cloud service SDK to manager cloud resources. An AccessKey pair is characterized by an AccessKey ID and an AccessKey Secret. The AccessKey ID is used to identify a user/cloud account. The AccessKey Secret is used to verify a user/cloud account.

The first step to configuring the eG agent with an AccessKey pair is to create an AccessKey pair for the target cloud acount. To achieve this, follow the steps below:

  1. Log on to the RAM console by using an Alibaba Cloud account.
  2. In the left-side navigation pane, click Users under Identities.
  3. On the Users page, click the username of the RAM user for which you want to create an AccessKey pair in the User Logon Name/Display Name column.
  4. On the page that appears, click Create AccessKey in the User AccessKeys section.

    Note:

    You must enter a verification code if you create an AccessKey pair for the first time.

  5. Click Close.

    Note:

    • The AccessKey secret is displayed only when you create an AccessKey pair.
    • If the AccessKey pair is leaked or lost, you must create a new one. You can create a maximum of two AccessKey pairs.

  6. Make note of the AccessKey ID and AccessKey secret, once they are displayed.
  7. Then, configure the Alibaba Access Key parameter of the test with the AccessKey ID, and the Alibaba Secret Key parameter with the AccessKey Secret you made note of.

If you failed to make note of the AccessKey ID and AccessKey Secret at the time of creating the AccessKey pair, then you can obtain the same at a later point in time. Similarly, if an AccessKey pair pre-exists for the target cloud account, then you do not have to create another one. Instead, you can obtain the AccessKey ID and AccessKey Secret of the existing AccessKey pair and configure the eG agent with the same. For this, follow the steps below:

  1. Use an Alibaba Cloud account to log on to the Alibaba Cloud Management console.
  2. Move the pointer over the profile picture in the upper-right corner, and click AccessKey.
  3. In the Security Tips message that appears, click Continue to manage AccessKey. AccessKey ID and AccessKey Secret are displayed. 
  4. Make note of the displayed ID and secret.
  5. Then, configure the Alibaba Access Key parameter of the test with the AccessKey ID, and the Alibaba Secret Key parameter with the AccessKey Secret you made note of.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Status

Indicates the current status of this disk.

 

The values that this measure reports, their descriptions, and their corresponding numeric values are listed below:

Measure Value Description Numeric Value
Creating After a disk is created by calling the RunInstances, CreateInstance, or CreateDisk operation, the disk enters the Creating state. 1
Available After a pay-as-you-go disk is created by calling the CreateDisk operation or a pay-as-you-go data disk is detached by calling the DetachDisk operation, the disk enters the Unattached or Available state. 2
In-use The disk is in use. 3
Attaching If a pay-as-you-go data disk is attached by using AttachDisk operation, the disk enters the Attaching state. 4
Detaching After a pay-as-you-go data disk is detached by calling the DetachDisk operation, the disk enters the Detaching state. 5
Reiniting After you reinitialize a system or data disk by calling the ReInitDisk operation, the disk enters the Initializing state. 6

Note:

This measure reports the Measure Values listed in the table above to indicate the current state of a cloud disk. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Use the detailed diagnosis of this measure to know more about the disk. Such details include the disk type, when the disk was created, the image that stores a copy of the data in the disk, and the zone to which the disk belongs.

Delete with instance

Indicates whether this disk is configured to be released when the associated instance is released.

Number

The values that this measure reports, their descriptions, and their corresponding numeric values are listed below:

Measure Value Description Numeric Value
True The disk is released when its associated instance is released. 1
False The disk is not released but is retained as a pay-as-you-go data disk when its associated instance is released. 0

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not the disk will be released with its instance. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Delete auto snapshot

Indicates whether the automatic snapshots of the disk are deleted when the disk is released.

 

Automatic snapshot policies allow ECS to create normal snapshots and back up data for a disk on a regular basis. These policies can be applied to both system disks and data disks. Automatic snapshot policies improve data security and tolerance against operation faults.

You can enable the Delete Automatic Snapshots While Releasing Disk feature to delete automatic snapshots of a disk when the disk is released and reduce the amount of disk space occupied by snapshots. Using the value reported by this measure, you can figure out if this feature has been enabled for this disk or not.

The values that this measure reports and their corresponding numeric values are listed below:

Measure Value Numeric Value
True 1
False 0

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not auto snapshots will be deleted when the disk is released. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Enable auto snapshot

Indicates whether/not the automatic snapshot policy is enabled for this disk.

 

Automatic snapshot policies allow ECS to create normal snapshots and back up data for a disk on a regular basis. Such policies improve data security and tolerance against operation faults.

Using the value reported by this measure, you can figure out if the Automatic Snapshot Policy feature is enabled for this disk or not.

The values that this measure reports and their corresponding numeric values are listed below:

Measure Value Numeric Value
True 1
False 0

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not Automatic Snapshot Policy feature is enabled for the disk. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Enable automated snapshot policy

Indicates whether an automatic snapshot policy is applied to the disk.

 

Automatic snapshot policies allow ECS to create normal snapshots and back up data for a disk on a regular basis. Such policies improve data security and tolerance against operation faults.

Once the Automatic Snapshot Policy feature is enabled for a disk, you need to create a policy and then apply it to the disk before you can use that policy.

Using the value reported by this measure, you can figure out if any such policy has applied to this disk.

The values that this measure reports and their corresponding numeric values are listed below:

Measure Value Numeric Value
True 1
False 0

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not any automatic snapshot policy has been applied to the disk. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Is disk encrypted?

Indicates whether/not this disk is encrypted.

 

The values that this measure reports and their corresponding numeric values are listed below:

Measure Value Numeric Value
True 1
False 0

Note:

This measure reports the Measure Values listed in the table above to indicate whether/not the disk is encrypted. In the graph of this measure however, the same is indicated using the numeric equivalents only.

Disk size

Indicates the size of this disk.

GB

Observe the variations to this measure over time to capture abnormal growth (if any) in disk size.

Attached instances

Indicates the number of ECS instances that are attached to this disk.

Number

Use the detailed diagnosis of this measure to identify the instances that are attached to this disk.