1 Index: git/scripts/drbd.ocf
2 ===================================================================
3 --- git.orig/scripts/drbd.ocf
4 +++ git/scripts/drbd.ocf
5 @@ -418,6 +418,29 @@ drbd_condition() {
7 ocf_log info "${OCF_RESKEY_drbd_resource} outdated"
10 + case "${DRBD_CSTATE}" in
12 + rc=$OCF_DATA_STANDALONE
13 + if [ $status -eq $OCF_SUCCESS ]
15 + ocf_log info "${OCF_RESKEY_drbd_resource} standby standalone, attempting to reconnect."
16 + do_drbdadm connect ${OCF_RESKEY_drbd_resource}
18 + ocf_log info "${OCF_RESKEY_drbd_resource} standalone"
21 + StartingSyncT | WFBitMapT | WFSyncUUID | SyncTarget | \
24 + ocf_log info "${OCF_RESKEY_drbd_resource} sync"
27 + rc=$OCF_DATA_INCONSISTENT
28 + ocf_log info "${OCF_RESKEY_drbd_resource} inconsistent"
33 case "${DRBD_CSTATE}" in