• SAP HANA

saphana
  1. Help Center
  2. SAP HANA
  3. User Guide (Single Node)
  4. Deployment
  5. Creating ECSs
  6. Creating an SAP HANA Node

Creating an SAP HANA Node

Scenarios

SAP HANA software runs on HANA ECSs. Depending on deployment scenarios, you need to create one or multiple HANA ECSs for deploying the SAP HANA software.

Determine the number of HANA ECSs and related planning information based on sections "Scheme" and "Data Planning".

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select a region and project.
  3. On the system homepage, choose Computing > Elastic Cloud Server to switch to the Elastic Cloud Server page.
  4. Click Create HANA ECS on the right. The Create HANA ECS page is displayed.

    NOTE:

    You can create SAP HANA nodes through Create ECS.

  5. Configure the parameters listed in Table 1.

    Table 1 HANA ECS parameters

    Parameter

    Description

    Region

    Specifies the region where ECSs are located. Choose a region as required.

    All ECSs in the SAP HANA system must be within the same region.

    AZ

    Specifies the AZ where ECSs are located. The AZ must support SAP HANA. Choose the AZ as required.

    Specifications

    Select Large memory.

    Select Flavor Name as required.

    For details, see section SAP HANA Nodes.

    DeH

    Select Do not configure.

    Image

    Select Public image and select the corresponding SAP HANA ECS image based on Requirements on OSs and Disks.

    Disk

    In single-node scenarios, regardless of whether HA is required, one system disk and multiple data disks are required.

    For details about disk requirements, see section SAP HANA Nodes.

    If additional disks are required, you can click Add Data Disk to add more disks.

    VPC

    Use the VPC in section Applying for a Subnet and Configuring a Security Group.

    Security Group

    Use the security group in section Applying for a Subnet and Configuring a Security Group.

    NIC

    Determine the number of NICs and configure the NICs according to the deployment plan provided in section Network Planning.

    EIP

    Do not bind an elastic IP address to the HANA ECS.

    Login Mode

    Select Key pair. An SSH key certificate is used for authenticating users who attempt to log in to HANA ECSs. To create a key pair, click View Key Pair and then click Create Key Pair on the Key Pair page.

    Ensure that the HANA ECSs/ECSs where SAP HANA, SAP HANA Studio, and NAT servers are to be deployed use the same key. Otherwise, SAP HANA installation will fail.

    NOTE:

    If you choose an existing SSH key certificate from the drop-down list, make sure that you have saved the certificate locally. Otherwise, you may fail to log in to the HANA ECS or ECS.

    To create a key, do as follows:

    Click View Key Pair. On the Key Pair page that is displayed, click Create Key Pair, specify the key pair name, and click OK. In the Information dialog box that is displayed, click OK. Then, you can query and save the private key.

    Auto Recovery

    Select Enable to enable the Auto Recovery function in the single-node scenario where HA is not required.

    User Data Injection

    This parameter is displayed only after you click Configure now next to Advanced Settings.

    Select Text and enter the following content in the text box to assign permissions to user root so that the user can log in to a HANA ECS using a private key through SSH:

    #cloud-config

    disable_root: false

    runcmd:

    - sed -i 's/^PermitRootLogin.*$/PermitRootLogin without-password/' /etc/ssh/sshd_config

    - sed -i '/^KexAlgorithms.*$/d' /etc/ssh/sshd_config

    - service sshd restart

    When you enter the preceding content, pay attention to the line feed between texts, which must be consistent with the following screenshot.

    ECS Group

    This parameter is displayed only after you click Configure now next to Advanced Settings.

    Specifies a HANA ECS group. When you create ECSs, the system will allocate the HANA ECSs in the same server group to different physical servers to ensure the running reliability of these HANA ECSs.

    Determine the policy of a HANA ECS group based on the scenario:

    • Single-node scenario where HA is not required: ECS Group is not required.
    • Single-node scenario where HA is required: The two HANA ECSs must belong to the same ECS Group.
    NOTE:

    If no ECS group is available, perform the following operations to create one:

    Click View ECS Group. On the page that is displayed, click Create ECS Group, specify the ECS group name, and click OK.

    Tag

    This parameter is displayed only after you click Configure now next to Advanced Settings.

    A tag, including a key and a value, identifies an ECS. This parameter is optional.

    Agency Name

    This parameter is displayed only after you click Configure now next to Advanced Settings.

    After the agency is specified, the delegated domain can obtain the credentials from the agency to temporarily access the public cloud.

    Data Provider is an SAP indicator collector on the public cloud platform to collect key performance data of ECSs and Cloud Eye in the SAP NetWeaver system and then surface the data to SAP applications. Specify the DataproviderAccess agency to ECSs where SAP HANA and SAP NetWeaver are all deployed.

    Before using the agency, log in to the public cloud management console as the tenant administrator and create the DataproviderAccess agency.

    NOTE:

    Log in to the public cloud management console and choose Management & Deployment > Identity and Access Management. On the left side of the page, choose Agencies. Then, click Create Agency on the right side of the page.

    Set the parameters as follows:

    • Agency NameDataProviderAccess
    • Agency TypeCloud service
    • Cloud ServiceECS/BMS
    • Validity Period: Retain the default setting.
    • Permissions: Locate the Region and project in which the target HANA ECS is located and configure the Base > Tenant Guest permission for the HANA ECS.

    ECS Name

    Specifies the ECS name. The name contains a maximum of 13 characters.

    When you create ECSs in batches, the number in the ECS Name is generated automatically in ascending order based on the Quantity value that you filled in. For example, if you fill hana in ECS Name, the first ECS is hana-0001, and the second ECS is hana-0002.

    For details, see SAP Note 611361.

    Quantity

    Set this parameter as required.

  6. Click Create Now. On the page that is displayed, click Submit.
  7. The system returns to the Elastic Cloud Server page. Check the status of the created task in Task Status on the right of the page.

    After the HANA ECS is created, you can view the ECS from the ECS list on the right of the page.

  8. Create other HANA ECSs as required.
  9. Change the password of user root for logging in to all HANA ECSs.

    Securely keep the password of user root. In addition, ensure that the passwords of user  root for logging in to all HANA ECSs are the same.
    1. Log in to an SAP HANA ECS using VNC.

      After you create the VNC connection, the system displays the default username and password on the ECS login page.

      For details, see the Elastic Cloud Server User Guide.

    2. Run the following command to switch to user root:

      sudo su -

    3. Change the password of user root.

      passwd

      Enter the new password as prompted and confirm it.