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
# 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