問一問對DRBD有經驗的朋友

1) 最初時
server1 = primary/secondary, server2 = secondary/primary

2) server1斷電
server2 = primary/unknown

3) server2斷電再重啟
server2 = secondary/unknown
過一會自動變成
server2 = primary/unknown

4) server1再開機
server1 = primary/secondary, server2 = secondary/primary

5) server2斷電
server1 = primary/unknown

6) server1完全關機後再開server2開機
server2 = secondary/unknown 直到永遠....


想問第6步果度要點樣先可以"自動"變成
server2 = primary/unknown

因為試了當server2 online時關server1就能做到,但當server2在secondary情況下關機,再將primary關埋,然後才開翻server2時,佢會一直處於secondary/unknown狀態,如果是手動是知道怎樣做,但有冇方法自動primary/unknwon呢?直到server1起翻時才變會secondary/primary

log不斷顯示
helper command: /sbin/drbdadm fence-peer minor-0 exit code 5 (0x500)
block drbd0: State change failed: Need access to UpToDate data
block drbd0:   state = { cs:WFConnection ro:Secondary/Unknown ds:Diskless/DUnknown r----- }
block drbd0:  wanted = { cs:WFConnection ro:Primary/Unknown ds:Diskless/DUnknown r----- }