Showing DRBD inSync Status in Cluster Monitoring Tools Workaround
This document (000020613) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise High Availability Extension 15 all Service Packs
Situation
Also, this information is visible via "crm status -A" under node attrebitute for DRBD resource.
Resolution
Assuming the DRBD resource name is: drbd_ERP
Create a file ( inSync-Flag-DRBD.crm.txt ) with:
primitive PrimaryData Dummy clone inSync PrimaryData location lo-inSync-Data inSync \ rule -inf: master-drbd_ERP ne 10000then run:
crm configure load update inSync-Flag-DRBD.crm.txtIn case DRBD is inSync it will be running:
# crm resource status inSync resource inSync is running on: ha2 resource inSync is running on: ha3 # crm status * Clone Set: inSync [PrimaryData]: * Started: [ ha2 ha3 ]In case the sync is broken the result would be:
# crm resource status inSync resource inSync is running on: ha2 resource inSync is NOT running # crm status * Clone Set: inSync [PrimaryData]: * Started: [ ha2 ] * Stopped: [ ha3 ]This will help avoid triggering failover when second node not in sync.
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020613
- Creation Date: 15-Mar-2022
- Modified Date:16-Mar-2022
-
- SUSE Linux Enterprise High Availability Extension
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com