While there are many different configurations depending upon which database management system is being used, below is the basic layout that should be adhered to.
- Add virtual ip resources to etc/hosts
- Create virtual ip resources for instance and database hosts
- Set up shared disks
- Shared disks on Fibre Channel or iSCSI
- Create file systems
- Replicated disks using SIOS DataKeeper
- NFS shares
- AWS EFS devices
- Shared disks on Fibre Channel or iSCSI
- Mount the main SAP file systems
- Mount the PAS, ASCS/SCS, and ERS directories (if applicable) as well as any additional Application Servers
Please consult the SAP installation guide specific to the database management system for details on the directory structure for the database. All database files must be located on shared disks to be protected by the LifeKeeper Recovery Kit for the database. Consult the database specific Recovery Kit Documentation for additional information on protecting the database.
Example using network shared devices with the virtual hostname: sap-shc-nfs, SAP SID: SHC, SAP instance: ASCS10, ERS instance: ERS20.
- Create network shared devices and attach to your nodes via DNS name or IP address
- EFS in AWS
- Azure Premium File Shares with NFS
- Google NFS Share
- NFS as a separate cluster
- Create the directories
# mkdir -p /sapmnt/SHC # mkdir -p /usr/sap/SHC/ASCS10 # mkdir -p /usr/sap/SHC/ERS20 # mkdir -p /usr/sap/SHC/SYS
- Add entries into /etc/fstab on all nodes:
sap-shc-nfs:/sapmnt/SHC /sapmnt/SHC nfs vers=4,proto=tcp,rw,sync,bg 0 0 sap-shc-nfs:/usr/sap/SHC/ASCS10 /usr/sap/SHC/ASCS10 nfs vers=4,proto=tcp,rw,sync,bg 0 0 sap-shc-nfs:/usr/sap/SHC/ERS20 /usr/sap/SHC/ERS20 nfs vers=4,proto=tcp,rw,sync,bg 0 0 sap-shc-nfs:/usr/sap/SHC/SYS /usr/sap/SHC/SYS nfs vers=4,proto=tcp,rw,sync,bg 0 0
- Mount the file systems on all nodes
# mount /sapmnt/SHC # mount /usr/sap/SHC/ASCS10 # mount /usr/sap/SHC/ERS20
Post your comment on this topic.