XenServer identifies iSCSI storage repositories via a calculated SCSI ID rather than the iSCSI serial, causing storage repositories to become unplugged after failover or reboot when the SCSI ID changes. The fix requires ensuring both the `vpd_unit_serial` and `iblock` number remain consistent across failover nodes. When using Corosync/Pacemaker, these values must be explicitly set in the iSCSILogicalUnit OCF resource using `scsi_sn` and `lio_iblock` parameters. Configuration examples are provided for both `pcs` and Puppet-managed Pacemaker setups using LIO iSCSI targets.
Sort: