Besides the default SAP HANA and HA cluster environment, the project can be tuned to deploy a NFS server base on DRBD device. This allows to create a high availability NFS share for NetWeaver with the SAP HANA database.
The deployment will create 2 new virtual machines to host the NFS environment based on DRBD cluster. The DRBD cluster is managed by HA cluster to assure high availability of NFS backing device.
More details in the official SAP on SUSE HA NFS.
The deployment is performed using the drbd-formula and habootstrap-formula.
Disclaimer: Only available for libvirt, azure and gcp by now.
In order to deploy a DRBD environment for NFS, some changes must be executed in terraform and salt folders. By default DRBD cluster is not enabled.
-
In order to enable/disable the DRBD deployment update the value of
drbd_enabled
variable to true/false in theterraform.tfvars
file, update thedrbd_count
if want to use more than 2 nodes. -
Update the
drbd_ips
entry in theterraform.tfvars
file with available addresses that will be given to the drbd cluster nodes.
-
Choose the
drbd_cluster_vip
to be used as the drbd cluster floating ip address. This address must be outside of the subnet ip range (gcp only). -
Configure the
drbd_disk_size
for the size of attached DRBD backing device. Modify thepartitions
grain in salt_provisioner.tf for the layout of the disk for DRBD resource. -
Modify the content of cluster.sls and drbd.sls. The unique mandatory changes are
promotion
andresource
in thedrbd.sls
file. Changeres_template
if want to use customized template. These values must match with the environment(hostname, ip, ports, etc...), the current values are just an example.