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.
- Create and login into an ubuntu instance on Azure.
- Prepare the data drive on your ubuntu instance.
- Install docker and move docker data directory to the prepared data drive.
- Install ABAP Platform 1909 Dev Edition with docker.
- Open the necessary ports on Azure.
- 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 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 3: Create and