AliyunEBS Primary Storage Deployment Practice

About this task

ZStack Cloud seamlessly integrates Alibaba Cloud elastic block storage service (EBS) and loads it to ZStack CloudPrivate Cloud as a new primary storage type, AliyunEBS, for business VM instances.

Figure 1. ZStack Seamlessly Integrates Alibaba Cloud EBS and OSS


To deploy an AliyunEBS primary storage, follow these steps:
  1. If you add an AliyunEBS primary storage for the first time, finish the following configurations in ZStack Cloud Hybrid Cloud Management:
    1. Add a Private Alibaba Cloud AccessKey. Choose the AccessKey type as AliyunEBS.
    2. Add the Private Alibaba Cloud region where the EBS resides and the zones in this region.
    3. Add an OSS Bucket in the Private Alibaba Cloud region.
  2. Add an AliyunEBS primary storage on ZStack CloudPrivate Cloud.
  3. Manage the AliyunEBS primary storage.

The procedures are described in details as follows.

Procedure

  1. Finish configurations in ZStack Cloud Hybrid CLoud Management.
    1. Add a Private Alibaba Cloud AccessKey. Choose the AccessKey type as AliyunEBS.

      On the main menu of ZStack Cloud Hybrid Cloud Management, choose Set > AccessKey Management. On the AccessKey Management page, click Add AccessKey. Then, the Add AccessKey page is displayed.

      On the displayed page, set the following parameters:
      • Addition Method: Choose Private Alibaba Cloud.
      • Name: Enter a name for the AccessKey.
      • Description: Optional. Enter a description for the AccessKey.
      • Type: Choose a Private Alibaba Cloud AccessKey type. Options: AliyunEBS and AliyunNAS.
      • AccessKey ID: Enter the AccessKey ID of a Private Alibaba Cloud account. Ensure the correctness of the AccessKey ID.
      • AccessKey Secret: Enter the AccessKey Secret corresponding to the AccessKey ID. Ensure the correctness of the AccessKey Secret.
      Figure 2. Add a Private Alibaba Cloud AccessKey


    2. Add the Private Alibaba Cloud region where the EBS resides and the zones in this region.
      1. Add the Private Alibaba Cloud region where the EBS resides.

        On the main menu of ZStack Cloud Hybrid Cloud Management, choose Data Center > Region. On the Region page, click Add Region. Then, the Add Region page is displayed.

        On the displayed page, set the following parameters:
        • Region Type: Choose Private Alibaba Cloud.
        • Type: Choose AliyunEBS.
        • Endpoint: Enter the domain name of the Ocean external service.
          Note:
          • Ocean provides an external service with HTTP RESTful APIs.
          • Syntax: http://Ocean_Server_Domain:Port/ocean/api
          • Domain names varies according to regions.
        • Region: Enter a region can be accessed by the Private Alibaba Cloud AccessKey.
        • Description: Optional. Enter a description for the region.
        Figure 3. Add a Private Alibaba Cloud Region (Aliyun EBS)


      2. Add zones in the region.

        The zones in the region are automatically synchronized to local after you add the region. If the zones are not synchronized automatically, follow these method to manually add them:

        On the main menu of ZStack Cloud Hybrid Cloud Management, choose Data Center > Zone. On the Zone page, click Add Zone. Then, the Add Zone page is displayed.

        On displayed page, set the following parameters:
        • Region: Select a region can be accessed by the AccessKey.
        • Zone: Select an availability zone from the drop-down list.
        • Description: Enter a description for the zone. This is a required parameter.
    3. Add an OSS Bucket in the region.

      On the Region page, click the private Alibaba Cloud region to enter its details page. On the details page, click Bucket > Add Bucket. Then, the Add Bucket dialog box is displayed.

      On the displayed dialog box, set the following parameters:
      • Add Method: Choose Available Bucket or Create Bucket.
        If you choose Available Bucket, set these parameters:
        • Bucket: Select an available Bucket from the drop-down list.
        • Make Default: Set whether to make this Bucket the default Bucket in the region. You need to set one and only one default Bucket for a region. By default, the checkbox is selected.
        • Description: Optional. Enter a description for the Bucket.
        If you choose Create Bucket, set these parameters:
        • Bucket Name: Enter a name for the Bucket. The name cannot be used by other Buckets.
        • Make Default: Set whether to make the bucket the default Bucket in the region. You need to set one and only on default Bucket for a region. By default, the checkbox is selected.
        • Description: Optional. Enter a description for the Bucket.
      Figure 4. Add a Bucket


  2. Add an AliyunEBS primary storage on ZStack CloudPrivate Cloud.
    On the main menu of ZStack Cloud, choose Resource Center > Hardware > Storage Facility > Primary Storage. On the Primary Storagepage, click Add Primary Storage. Then, the Add Primary Storage page is displayed.
    On the displayed page, set the following parameters:
    • Zone: The current zone is displayed.
    • Name: Enter a name for the primary storage.
    • Description: Optional. Enter a description for the primary storage.
    • Type: Choose AliyunEBS.
    • URL: Enter the endpoint of the Ocean API.
      Note:
      • AliyunEBS uses the URL to sand requests to the Ocean Server.
      • Syntax: http://Ocean_Server_Domain:Port/ocean/api.
    • Zone: Choose a zone added in ZStack Cloud Hybrid Cloud Management.
      Note:
      • You can choose one zone for each AliyunEBS primary storage.
      • A zone can be used to create multiple AliyunEBS primary storage.
    • Volume Type: Optional. Enter the type of physical volumes in AliyunEBS primary storage. Options: io7, io8, and other allowed types.
      Note: An AliyunEBS primary storage supports one physical volume type.
    • TDC Configurations: Set TDC template parameters.
      Note:
      • TDC is an application installed on the compute node. It enables the compute node to communicate with the storage node on Alibaba Cloud (such as Nuwa). TDC configurations refers to the configurations for the access of the compute node to the storage node.
      • TDC parameters include a port for the host to access the TDC service, TDC Region, two sets of River Master (including URL, Server IP, and agent IP), and the cluster where the Aliyun EBS resides. Configure the parameters according to actual requirements.
        Simple:
        {   "tdcPort": "20120",   "tdcRegion": "region1",   "riverMaster": "nuwa://ECS-river/sys/houyi/river_master",   "server": "192.168.0.1:10240,192.168.0.2:10240,192.168.0.3:10240",   "proxy": "192.168.1.1:10240,192.168.1.2:10240,192.168.1.3:10240",   "cluster": "ECS-river" }
        The edit box can be expanded.
        Figure 5. Expand Edit Box


    • Cluster: Specify a cluster for the primary storage.
    Figure 6. Add an AliyunEBS Primary Storage


  3. Manage the AliyunEBS primary storage.

    On the Primary Storage page, you can perform actions on the AliyunEBS primary storage. You can enable, disable, reconnect, attach/detach a cluster to/from, put into maintenance, or delete the primary storage. You can centrally manage the VM instances and volumes on the primary storage, and view the primary storage alarm messages, visualized monitoring, and audit information.

What to do next

Now, you have deployed an AliyunEBS primary storage successfully.

Archives

Download Document Archives

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Cannot be empty.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.
同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

同意 不同意

I have read and concur with the Site TermsPrivacy PolicyRules and Conventions on User Management of ZStack Cloud

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.