diff --git a/xml/article_nfs_storage.xml b/xml/article_nfs_storage.xml index f3ccc8b9..07943ad0 100644 --- a/xml/article_nfs_storage.xml +++ b/xml/article_nfs_storage.xml @@ -288,15 +288,17 @@ - Specifies the fencing policy. For clusters with a &stonith; device - configured, use resource-and-stonith. + Specifies the fencing policy. To be supported, &sleha; clusters must have a + &stonith; device configured. Therefore, use resource-and-stonith. - Enables resource-level fencing. If the DRBD replication link - becomes disconnected, &pace; tries to promote the DRBD resource - to another node. For more information, see . + Enables resource-level fencing to prevent &pace; from starting a service + with outdated data. If the DRBD replication link + becomes disconnected, the crm-fence-peer.9.sh script + stops the DRBD resource from being promoted to another node until the replication link + becomes connected again and DRBD completes its synchronization process. diff --git a/xml/ha_drbd.xml b/xml/ha_drbd.xml index 221dd9fd..0a40b349 100644 --- a/xml/ha_drbd.xml +++ b/xml/ha_drbd.xml @@ -403,15 +403,17 @@ NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE - Specifies the fencing policy. For clusters with a &stonith; device - configured, use resource-and-stonith. + Specifies the fencing policy. To be supported, &sleha; clusters must have a + &stonith; device configured. Therefore, use resource-and-stonith. - Enables resource-level fencing. If the DRBD replication link - becomes disconnected, &pace; tries to promote the DRBD resource - to another node. For more information, see . + Enables resource-level fencing to prevent &pace; from starting a service + with outdated data. If the DRBD replication link becomes disconnected, the + crm-fence-peer.9.sh script stops the DRBD resource from + being promoted to another node until the replication link becomes connected + again and DRBD completes its synchronization process. @@ -773,65 +775,6 @@ resource r0-U { - - Using resource-level fencing with &stonith; - - When a DRBD replication link becomes interrupted, &pace; tries to promote - the DRBD resource to another node. To prevent &pace; from starting a service - with outdated data, enable resource-level fencing in the DRBD configuration - file. - - - The fencing policy can have different values (see man page drbdsetup and the - option). - As a &productname; cluster is normally used with a &stonith; device, the value - resource-and-stonith is used in - . - - - - Configuration of DRBD with resource-level fencing using the Cluster - Information Base (CIB) - resource RESOURCE { - net { - fencing resource-and-stonith; - # ... - } - handlers { - fence-peer "/usr/lib/drbd/crm-fence-peer.9.sh"; - after-resync-target "/usr/lib/drbd/crm-unfence-peer.9.sh"; - # ... - } - ... -} - - If the DRBD replication link becomes disconnected, DRBD does the - following: - - - DRBD calls the crm-fence-peer.9.sh script. - - - The script contacts the cluster manager. - - - - The script determines the &pace; resource associated with this - DRBD resource. - - - The script ensures that the DRBD resource no longer gets - promoted to any other node. It stays on the currently active one. - - - If the replication link becomes connected again and DRBD - completes its synchronization process, then the constraint is removed. - The cluster manager is now free to promote the resource. - - - - - Testing the DRBD service