Thursday, 29 April 2021 14:50

Install ABAP Platform 1909 – Dev Edition on an Azure Ubuntu instance using docker – Part 2

Written by Samuel Davies
Rate this item
(0 votes)
Source https://blogs.sap.com/2021/04/30/install-abap-platform-1909-dev-edition-on-an-azure-ubuntu-instance-using-docker-part-2/
“© 2020. SAP SE or an SAP affiliate company. All rights reserved.” “Used with permission of SAP SE”

Welcome to the second instalment of this tutorial series. In this part, we are going to focus on the installation and access to the ABAP platform.

I will reiterate the process blueprint to help follow the steps we need to achieve to complete this installation. Since we tackled Step 1 of the blueprint in Part 1 of this series, we will continue from step 2 in this part.

Process blueprint

  1. Create and login into an ubuntu instance on Azure.
  2. Prepare the data drive on your ubuntu instance.
  3. Install docker and move docker data directory to the prepared data drive.
  4. Install ABAP Platform 1909 Dev Edition with docker.
  5. Open the necessary ports on Azure.
  6. Access your ABAP instance in SAP GUI and generate a new license.

Step 2: Prepare the data drive on your ubuntu instance.

To render the disk we created in Part 1 usable, we will have to partition, format, and mount this disk on our virtual machine. To start this process, let us first find out which disks are available on our system and their mount points. After you have successfully created an SSH connection to the virtual machine as we did in the last step of Part 1, run the command

lsblk -o NAME,HCTL,SIZE,MOUNTPOINT | grep -i "sd"

The output should look like the image below. The highlighted line with the 256G size is our line of interest. Take a note of the letters (sdb) as we will need it for the next few commands.

Image 1: List all drives and mount points

Now that we have found our disk of interest, it is now time to partition and format our disk.

Run the following commands and substitute the letters in the command according to what you received in your output. So if your disk had letters sdc on the line of interest, you have to place sdc in place of <letters> in the commands below

sudo parted /dev/<letters> --script mklabel gpt mkpart xfspart xfs 0% 100% sudo mkfs.xfs /dev/<letters>1 sudo partprobe /dev/<letters>1

This is how it should look in your terminal

Image%202%3A%20Partition%20and%20format%20disk

Image 2: Partition and format disk

Now that our disk is partitioned and formatted, let us mount the disk on our virtual machine.

To mount the disk, run the following commands.

sudo mkdir /datadrive sudo mount /dev/<letters>1 /datadrive

The above commands should look like this in your terminal

Image%203%3A%20Create%20and%20mount%20datadrive%20directory

Image 3: Create and

Continue reading here
Read 37 times

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.