Creating an SAP HANA BMS

Scenarios

SAP HANA runs on BMSs. Thus, you need to apply for BMSs on the DeC. BMSs use local disks.

Procedure

  1. Log in to the management console. In the navigation pane on the left, click and choose Computing > Bare Metal Server.
  2. On the displayed page, click Provision BMS in DeC.
  3. Configure the parameters based on section SAP HANA Node Planning.

    Note the following:

    • The BMS name contains a maximum of 13 characters.
    • An EIP has not been bound to the target BMS.
    • Select Key pair for Login Mode. Ensure that all nodes in the SAP system use the same key. Otherwise, the SAP software installation will fail.

      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 BMS.

      To create a key, do as follows:

      Click View Key Pair. On the displayed Key Pair page, 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 view and save the private key as prompted.

  4. Click Buy Now. Switch to the BMS management page and check the status of the created BMS.

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

  5. Change the password of user root for logging in to all BMSs.

    Securely keep the root password. In addition, ensure that all ECSs and BMSs in the SAP system use the same root password.
    1. Log in to a BMS.
    2. Run the following command to switch to user root:

      sudo su -

    3. Run the following command to change the password of user root:

      passwd

      Enter the password as prompted for confirmation.

  6. Open the /etc/fstab file and add the parameter nofail to the end of the /usr/sap directory.

    An example is provided as follows:

    /dev/vg_os/lv_usrsap /usr/sap             ext4       acl,user_xattr        1 2

    Add the parameter nofail to the file as follows:

    /dev/vg_os/lv_usrsap /usr/sap             ext4       acl,user_xattr,nofail        1 2