Advanced
Тема интерфейса

Buying a Cluster

To use MRS, Buy a cluster on the MRS console. The following procedure takes MRS 3.2.0-LTS.1 as an example to describe how to create a cluster on the MRS management console. Operations for other version are subjective to the UI.

Procedure

  1. Log in to the MRS management console.
  2. Choose EI Enterprise Intelligence > MapReduce Service. The MRS management console is displayed.
  3. Click Buy Cluster, the Buy Cluster page is displayed.
  4. Click the Custom Config tab.

    Note

    When creating a cluster, pay attention to quota notification. If a resource quota is insufficient, increase the resource quota as prompted and create a cluster.

  5. Configure cluster software information.

    • Region: Retain the default value.
    • Billing Mode: Retain the default value.
    • Cluster Name: You can use the default name. However, you are advised to include a project name abbreviation or date for consolidated memory and easy distinguishing, for example, mrs_20180321.
    • Cluster Type: Select Analysis cluster.
    • Cluster Version: Select the latest version, which is the default value.
    • Component: Select components such as Spark2x, HBase, and Hive for the analysis cluster. For a streaming cluster, select components such as Kafka and Storm. For a hybrid cluster, you can select the components of the analysis cluster and streaming cluster based on service requirements.
      Note

      For versions earlier than MRS 3.x, select components such as Spark, HBase, and Hive for an analysis cluster.

    • Metadata: Retain the default value.
    • Component Port: Policy for setting the default communication port of each component in the cluster.

  6. Click Next.

    • AZ: Retain the default value.
    • Enterprise Project: Select default.
    • VPC: Use the default value. If there is no available VPC, click View VPC to access the VPC console and create a new VPC.
    • Subnet: Retain the default value.
    • Security Group: Retain the default value.
    • EIP: Retain the default value.
    • CPU Architecture: Retain the default value.
    • Common Node Configurations: Select a template based on service requirements.
    • Cluster Node
      • Node Count: the number of nodes you want to purchase. For MRS 3.x clusters, the default value is 3. You can set the value as you need.
      • Instance Specifications: Retain the default settings for master and core nodes or select proper specifications based on service requirements.
      • System Disk: Retain the default Ultra-high I/O and storage capacity.
      • Data Disk: Retain the default Ultra-high I/O, storage capacity, and quantity.
    • Topology: Retain the default value.

  7. Click Next. The Set Advanced Options page is displayed. Configure the following parameters. Retain the default settings for the other parameters.

    • Kerberos Authentication: Disable Kerberos authentication.
    • Username: name of the Manager administrator. admin is used by default.
    • Password: password of the Manager administrator.
    • Confirm Password: Enter the password again.
    • Login Mode: Select a mode for logging in to an ECS.
      • Password: Set a password for logging in to an ECS.
      • Key Pair: Select a key pair from the drop-down list. Select "I acknowledge that I have obtained private key file SSHkey-xxx and that without this file I will not be able to log in to my ECS." If you have never created a key pair, click View Key Pair to create or import a key pair. And then, obtain a private key file.
    • Hostname Prefix: Prefix for the name of an ECS or BMS in the cluster.

      Enter a maximum of 20 characters that do not start or end with a hyphen (-). Only letters, numbers, and hyphens (-) are allowed.

      When a cluster is created, a DNS domain name is registered for nodes in the cluster. The complete domain name is in the following format: [prefix]-hostname.mrs-{XXXX}.com. (XXXX is a four-character string generated based on the UUID.)

    • Set Advanced Options: To configure some advanced parameters, select Configure.

  8. Click Next.

    • Configure: Confirm the parameters configured in the Configure Software, Configure Hardware, and Set Advanced Options areas.
    • Select the check box for Secure Communications.

  9. Click Buy Now.

    If Kerberos authentication is enabled for a cluster, check whether Kerberos authentication is required. If yes, click Continue. If no, click Back to disable Kerberos authentication and then create a cluster. After a cluster is purchased, this configuration cannot be modified.

  10. Click Back to Cluster List to view the cluster status.

    It takes some time to create a cluster. The initial status of the cluster is Starting. After the cluster has been created successfully, the cluster status becomes Running.