SUSE / ha-sap-terraform-deployments

Automated SAP/HA Deployments in Public/Private Clouds
GNU General Public License v3.0
120 stars 88 forks source link

sbd: use iSCSI server IP and IQN instead of wwn to be reboot persistent #872

Closed yeoldegrove closed 2 years ago

yeoldegrove commented 2 years ago

If the iSCSI server AND any cluster node reboots, the device name of the SBD device attached via iSCSI e.g. '/dev/disk/by-id/scsi-${WWN} will change. The new approach uses /dev/disk/by-path/ip-${ISCSI_SRV_IP}:3260-iscsi-${IQN}-lun-0 which really is perstent accross reboots.

Tested and verified in libvirt and azure.

This solves #718.