Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
Utkarsh_7
Advisor
Advisor
1,373

Hi Folks,

This blog demonstrates how to create an AWS EC2 instance, configure storage using LVM, install SAP Cloud Connector and Data Provisioning (DP) Agent, and integrate DP agent with SAP Business Technology Platform (BTP) trial account. This setup is ideal for learning and proof-of-concept scenarios.

1.        Overview

We are planning to show you end to end AWS server creation along with mount point creation, and installation of SAP DP & Cloud connector installation, and after that we have configured these systems with BTP free trial account.

Aws trial account -- https://aws.amazon.com/free/

BTP trial account -- SAP BTP Cockpit

2.        AWS EC2 instance creation

As per SAP standard we can only choose SUSE & RHEL image.

Utkarsh_7_0-1763135313716.png

Key pair is necessary to generate if you want to access EC2 instance via public ip, other wise server will not authenticate you.

Utkarsh_7_1-1763135313717.png

Either you can select existing security group or create new SG

Utkarsh_7_2-1763135313717.png

Attach disk as per your requirements

Utkarsh_7_3-1763135313717.png

EC2 instance created

Utkarsh_7_4-1763135313717.png

To download media and upload into the server we have configure S3 bucket.

3.        S3 bucket Creation

Simply goto S3 and create by selecting create button and enter bucket name and leave all the filled as it is.

Utkarsh_7_5-1763135313717.png

Utkarsh_7_6-1763135313717.png

4.        Attach IAM role to EC2 instance

To connect S3 bucket with EC2 instance we must attached IAM role to EC2 instance.

Role:

Utkarsh_7_7-1763135313721.png

Via Attaching this role we are enabling Connection of S3 bucket with EC2 instance.

Utkarsh_7_8-1763135313728.png

5.        Creation of file system

We have used LVM for file system creation, LVM (Logical Volume Manager) is a disk management system in Linux that provides a flexible way to manage storage compared to traditional partitions.

 5.1 validate that separate disk is attach or not via lsblk cmd

Utkarsh_7_9-1763135313729.png

PV = Bricks

VG = A big wall built with those bricks

LV = Windows or doors cut out of the wall

Utkarsh_7_10-1763135313730.png

5.2   created physical volume pvcreate

Utkarsh_7_11-1763135313750.png

5.3 Create Volume group VG
  1. Now we created vg (volume group) from the above pv and validated from vgs command.

Utkarsh_7_12-1763135313755.png

5.4 Create LV, Logical Volume
  1. Now we have created lv volume as per our filesystem need
  2. Usrsap - /usr/sap – sap filesystem
  3. Optsapscc - /opt/sap/scc – cloud connector installation

Utkarsh_7_13-1763135313761.png

Utkarsh_7_14-1763135313761.png

5.5 Disk Formating by mkfs command
  1. Run mkfs command as per below screenshots for all the logical volumes that we need to create

Utkarsh_7_15-1763135313764.png

Utkarsh_7_16-1763135313770.png

Blkid – to check disk formatting

Utkarsh_7_17-1763135313772.png

5.6 Maintain entry in Fstab to get the mount permanent
  1. Now maintain fstab entry as per blkid

Utkarsh_7_18-1763135313777.png

5.6 Creation folder creation and mount point creation

                Mkidr -p /foldername

                Mount -a

Utkarsh_7_19-1763135313777.png

6.        Cloud Connector installation
           6.1 Download media from S3:

We have already downloaded media and uploaded in S3 that we have created earlier.

Utkarsh_7_20-1763135313780.png

           6.2 Installation of jvm

(before installing cloud connector we have to install jvm)

Utkarsh_7_21-1763135313781.png

           6.3 Installation of Cloud connector

Utkarsh_7_22-1763135313788.png

Utkarsh_7_23-1763135313794.png

7.        Installation of DP agent
  1. Creating logical volume and disk formatting

Utkarsh_7_24-1763135313794.png

  1. Maintaing in fstab

Utkarsh_7_25-1763135313795.png

7.1 Creating filesystem for DP agent

Utkarsh_7_26-1763135313795.png

Utkarsh_7_27-1763135313798.png

7.2 Copying media from S3 to local mount point

Utkarsh_7_28-1763135313799.png

7.3 Creating os user for the installation

Utkarsh_7_29-1763135313799.png

Utkarsh_7_30-1763135313802.png

Utkarsh_7_31-1763135313804.png

7.4 Installing libraries

Utkarsh_7_32-1763135313806.png

Once required libraries are installed you can start DP agent installation.

8.        BTP trial account

https://account.hanatrial.ondemand.com/trial/#/home/trial

Utkarsh_7_33-1763135313811.png

8.1 Assign role in your BTP user

This is the first thing we have to complete when we are trying to configure CC or DP agent from BTP.

Cloud Connector Admin role for CC configuration with BTP subaccount.

To install SAP hana cloud admin we need SAP HANA Cloud Admin.

Utkarsh_7_34-1763135313811.png

8.2 Create hana cloud instance service

Utkarsh_7_35-1763135313812.png

Click on the hana cloud

Utkarsh_7_36-1763135313812.png

From there you can create an instance

Utkarsh_7_37-1763135313814.png

Utkarsh_7_38-1763135313815.png

Utkarsh_7_39-1763135313819.png

Utkarsh_7_40-1763135313820.png

Utkarsh_7_41-1763135313822.png

8.3 Enable DP agent & cloud connector

To configure DP agent, you should enable DP agent, you can do this either during the instance creation or you can also enable after instance creation as well by manage configuration.

Utkarsh_7_42-1763135313828.png

And all IP addresses for better connectivity

Utkarsh_7_43-1763135313828.png

BTP hana instance created

Utkarsh_7_44-1763135313829.png

8.4 Create Technical user for DP agent registration

HANA User Name for Agent Messaging - Technical user as per your requirements, refer to SAP help guide for user creation, roles, and privileges.

Utkarsh_7_45-1763135313830.png

https://help.sap.com/docs/HANA_SMART_DATA_INTEGRATION/018757bb7f5c4700a8840976c8730f34/1e648c93d82f4...

8.5 Allow all inbound ips from DP agent server.

Utkarsh_7_46-1763135313833.png

8.6 DP agent configuration with BTP Hana cloud instance

Purpose of DP agent:

Setting Up and Configuring the Data Provisioning Agent to Connect

Start agent cli tool from DP agent server.

Utkarsh_7_47-1763135313836.png

Agent cli tool connected with the HANA cloud instance as per above screenshot, now try to register agent.

Utkarsh_7_48-1763135313839.png

Check agent status, if everything is correct you will see green status as per below screenshot.

Utkarsh_7_49-1763135313844.png

Check agent info from hana cloud instance as well.

Utkarsh_7_50-1763135313844.png

So till this part we have configured DP agent with hana cloud instance, now if you wants to replicate data from backend abap systems then you have to configure by creating remote source, for better understanding check this blog.

Transferring data from On-Premise SAP HANA to SAP ... - SAP Community

9.        Cloud connector configuration with BTP subaccounts.

SAP Cloud Connector is an optional on-premise component that establishes a secure communication link between customer's on-premise network and SAP Business Technology Platform or SAP S/4HANA Cloud.

Conclusion

You now have a fully functional setup integrating AWS infrastructure with SAP BTP trial using DP Agent. This foundation enables secure connectivity and data provisioning for SAP HANA Cloud.

4 Comments