[DRBD-user] DRBD server not become as primary and sync data from other one after reboot.

Digimer lists at alteeve.ca
Sat May 7 18:20:45 CEST 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 07/05/16 06:44 AM, Pratip Ghosh wrote:
> Hello Guys,
> 
> I am a new user in this group and need some urgent help.
> 
> I am trying to configure HA storage using DRBD with OCFS2 on Ubuntu
> 14.04 at AWS EC2 instance. I configured both server as primary. If I
> shutdown one server and start again it will automatically become primary
> after booting process and have up-to date data in both servers, but if I
> reboot any one server it was not connecting again as a primary after
> booting process and showing following status in both servers. I have
> restarted DRBD service in both server one by one but having same issue.
> Can anyone guide me one this?
> 
> Server1
> =====
> root at drbd01:~# service drbd status
> drbd driver loaded OK; device status:
> version: 8.4.3 (api:1/proto:86-101)
> srcversion: 6551AD2C98F533733BE558C
> m:res  cs          ro               ds                 p mounted  fstype
> 0:r0   StandAlone  Primary/Unknown  UpToDate/DUnknown  r-----
> 
> 
> Server2
> =====
> root at drbd02:~# service drbd status
> drbd driver loaded OK; device status:
> version: 8.4.3 (api:1/proto:86-101)
> srcversion: 6551AD2C98F533733BE558C
> m:res  cs          ro               ds                 p mounted  fstype
> 0:r0   StandAlone  Primary/Unknown  UpToDate/DUnknown  r-----
> 
> 
> Regards,
> Pratip Ghosh

This is the definition of a split-brain and it is the result of not
having fencing configured.

For a more useful answer, please share more information on your
environment and config.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?



More information about the drbd-user mailing list