SAP HANA Cluster on Suse with Pacemaker

JMN-2253 596 Reputation points
2022-04-13T02:35:29.99+00:00

Hi Experts,
I am doing setup for pacemaker cluster for SAP HANA using this article: https://learn.microsoft.com/en-us/azure/virtual-machines/workloads/sap/high-availability-guide-suse-pacemaker#install-the-cluster

Step 13. [2] Add the node to the cluster.
Is failing, as it ask for root user password, instead of using ssh key generated earlier in the steps.

As we all know, there is no root password in Azure Linux VM.

Would you mind testing the steps and advice what is wrong.

I am really fade up reading and going over this article.

Thanks,

SAP HANA on Azure Large Instances
SAP HANA on Azure Large Instances
Microsoft branding terminology for an Azure offer to run HANA instances on SAP HANA hardware deployed in Large Instance stamps in different Azure regions.
120 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 25,446 Reputation points
    2022-04-20T05:08:20.127+00:00

    @JanNuaman-2253

    Apologies in delayed response on this.

    Exchange of keys procedure described in Step 6, 7 and 8 in document needs to be performed using root user.
    You need to sudo its user to root and perform steps described in the doc.

    Once the exchange of keys is fixed, cluster won’t prompt for password when joining the node.

    Node 1- Step 6:

    194541-image.png

    Node 2- Step 7:

    Copy content from /root/.ssh/id_rsa.pub from NODE 1 to /root/.ssh/authorized_keys in NODE2.

    194478-image.png

    Node 1- Step 8:

    Copy content from /root/.ssh/id_rsa.pub from NODE 2 to /root/.ssh/authorized_keys in NODE1.

    194542-image.png

    Verification: Perform ssh to Node 2. It won’t ask any password.

    194532-image.png

    Hope that helps.
    Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments