Attaching the Backup Volume
Scenarios
Attach the backup volume on NFS servers to SAP HANA nodes. If you use SFS Turbo to provide shared file storage, skip this section. For details about how to mount the backup volumes, see section Formatting a Disk in the SAP HANA User Guide.
Procedure
- Log in to the active SAP HANA node and attach the backup volume to the active SAP HANA node.
- Run the following command to create the /hana/backup directory:
mkdir -p /hana/backup
- Run the following command to assign permissions to /backup:
chmod -R 777 /hana/backup
- Add the following content to the end of the /etc/auto.master file:
/- /etc/hananfs.direct
- Create and edit the /etc/hananfs.direct file.
vi /etc/hananfs.direct
Add a sharing record. In this example, the floating IP address of the NFS server is 10.0.5.103.
/hana/backup -rw,intr,rsize=32768,wsize=32768,timeo=14,vers=3 10.0.5.103:/backup
- Check whether autofs has been attached to the backup directory.
systemctl restart autofs
Run the following commands to check whether the /hana/backup directory has been attached properly:
ls /hana/backup
df -h
- Enable automatic start of the autofs service during system startup.
systemctl enable autofs
- Run the following command to create the /hana/backup directory:
- Log in to the standby SAP HANA node, repeat the preceding steps, and attach the backup volume to the standby SAP HANA node.
Last Article: Configuring HA on NFS Servers
Next Article: Formatting a BMS (physical.m2.medium) Disk
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.