Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 2.08 KB

File metadata and controls

27 lines (14 loc) · 2.08 KB

DRBD(Distributed Replicated Block Device)

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.

Quickstart

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 the terraform.tfvars file, update the drbd_count if want to use more than 2 nodes.

  • Update the drbd_ips entry in the terraform.tfvars file with available addresses that will be given to the drbd cluster nodes.

Additional options

  • 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 the partitions 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 and resource in the drbd.sls file. Change res_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.