[DRBD-user] Secondary node wants to take over as Primary on reboot

Vera, Michael mxvera at qwest.com
Wed Feb 11 18:41:22 CET 2004


Greetings,

I have a two-node heartbeat setup with the /home set up as drbd0. I
tried rebooting bilbo2 (Secondary) prentending to patch the backup. When
bilbo2 came back up, it cried "Do you want to abort waiting for other
server and make this one primary?" and just sits there.

My question is, why doesnt it just happily take back its role as
Secondary? What config changes need I make?

Thanks,
Michael Vera


drbd.conf:
resource drbd0 {
  protocol = C
  fsckcmd  = /bin/true

  disk {
    do-panic
    disk-size = 57865316
  }

  net {
    sndbuf-size = 65534
    sync-nice   = -10
    sync-min    = 50M
    sync-max    = 90M
    tl-size     = 5000
    timeout     = 60
    connect-int = 10
    ping-int    = 10
    ko-count    = 4
  }

  on bilbo1 {
    device  = /dev/nb0
    disk    = /dev/cciss/c0d0p3
    address = 10.0.0.1
    port    = 7788
  }

  on bilbo2 {
    device  = /dev/nb0
    disk    = /dev/cciss/c0d0p3
    address = 10.0.0.2
    port    = 7788
  }

}



More information about the drbd-user mailing list