Amazon EFS setup - SAP NetWeaver on Amazon
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Amazon EFS setup

The high availability cluster requires an Amazon EFS filesystem to be used for the main SAP directories. If an Amazon EFS filesystem hasn’t been created, we recommend that you follow the Amazon EFS documentation to create it. Make note of the DNS name of the Amazon EFS filesystem and log on to one of the Amazon EC2 instances to mount it. Create the following directories.

# mount efs-id.region.amazonaws.com:/ /mnt # mkdir -p /mnt/ASCSXX /mnt/ERSYY /mnt/SYS /mnt/SAPMNT /mnt/HOME # umount /mnt

Note: replace efs-id and Region with the respective Amazon EFS filesystem id and Amazon Region. Replace XX with the actual ASCS SAP instance number and YY with the ERS SAP instance number.

We recommend that you add /sapmnt, /usr/sap/HA1/home and /usr/sap/HA1/SYS to the /etc/fstab file of both cluster nodes.

Before SAP installation, ensure that the Amazon EFS filesystem is mounted on both of the nodes, as shown in the following example.

On the ASCS Node

[root@hahost01 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 50G 4.6G 46G 10% / /dev/nvme1n1 50G 726M 50G 2% /usr/sap fs-xxxxxx.efs.xxxxxx.amazonaws.com:/SYS 8.0E 3.0G 8.0E 1% /usr/sap/HA1/SYS fs-xxxxxx.efs.xxxx.amazonaws.com:/HOME 8.0E 3.0G 8.0E 1% /usr/sap/HA1/home fs-xxxxxx.efs.xxxx.amazonaws.com:/SAPMNT 8.0E 3.0G 8.0E 1% /sapmnt fs-xxxxxx.efs.xxxxx.amazonaws.com:/ASCS 8.0E 3.0G 8.0E 1% /usr/sap/HA1/ASCS00

On the ERS Node

[root@hahost02 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 50G 4.6G 46G 10% / /dev/nvme1n1 50G 726M 50G 2% /usr/sap fs-xxxxxx.efs.xxxxx.amazonaws.com:/SYS 8.0E 3.0G 8.0E 1% /usr/sap/HA1/SYS fs-xxxxxx.efs.xxxx.amazonaws.com:/HOME 8.0E 3.0G 8.0E 1% /usr/sap/HA1/home fs-xxxxxx.efs.xxxxxx.amazonaws.com:/SAPMNT 8.0E 3.0G 8.0E 1% /sapmnt fs-xxxxxx.efs.xxxxxx.amazonaws.com:/ERS 8.0E 3.0G 8.0E 1% /usr/sap/HA1/ERS10