How to install two node HANA-DB cluster with site replication

In the below article we will see how to install a 2-node HANA cluster with Site replication.

Please note: This guide is only for educational usage, please follow SAP notes for official deployments.

Setup Details

  • Node 1:
    • IP: 192.168.211.42
    • Hostname: hana-n1
  • Node 2:
    • IP: 192.168.211.43
    • Hostname: hana-n2
  • iSCSI / NFS Server:
    • 192.168.211.41
  • HANA SID: HA1
  • HANA Instance: 10
  • Site 1: WDF
  • Site 2: ROT

Pre-Requisites

  • SLES for SAP installed and registered with below mentioned partitions on both Nodes.
  • DNS Server configured and resolving hostname of the nodes.
  • iSCSI server configured with 2 GB disk shared as iSCSI targets on both Nodes.
  • Multipath configured and alias for iSCSI disk set properly for consistency. – (Optional)

Partitioning

PartitionSize
/hana/data50G
/hana/shared20G
/hana/log50G
/usr/sap10G
NFS: /dataNFS Partition – 50G (Optional)
iSCSI disk for SBD2 G
Follow SAP Notes for partition type for production requirement, in this tutorial all partitions are configured in LVM.

SAP Installation

Download and Unzip files

Download the SAP HANA Platform Edition Installation files from SAP Software Download Center

The installation files are kept on the /data, it could be kept locally on individual nodes or on any shared partition accessible by both Nodes.

Extract the file 51057281.ZIP

cd /data
mkdir sap_inst
unzip 51057281.ZIP sap_inst/

Start the Installation

We will install Node 1 first

Node 1

Navigate to HDB_SERVER_LINUX_X86_64 directory and execute hdblcm binary to start the installation

cd sap_inst/DATA_UNITS/HDB_SERVER_LINUX_X86_64
./hdblcm
  • Select Option 1 to start Install
  • Select Option 2 for Components
  • Keep Defaults where ever mentioned
  • For System Usage Select Production. Option 1.
  • It will not affect the resource consumption, so you can select any.
  • Select No for Encryption
  • Enter Passwords as required.
  • For DB Password it should have 1 upper case.
  • Post the reboot option it will give you a summary as below
  • If all is good select yes.
  • Once finished you should get the below output
Node 2

Once installation is finished repeat the same steps on Node 2 with same SID and Instance Number as on Node 1

We have successfully installed HANA DB on 2 nodes, next step would be to setup replication between these 2 sites, for details refer here.

2 thoughts on “How to install two node HANA-DB cluster with site replication”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

error: Content is protected !!