Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

timeout

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


vctrjsn at gmail

Aug 4, 2009, 10:57 AM

Post #1 of 2 (715 views)
Permalink
timeout

Hi,

I'm fairly new to DRBD.

I already configures a DRBD pair which works prefectly!

I tried configuring the timeout value (in the net section of the drbd.conf
file) and it seems like no matter what I do I get a timeout of approx 10
seconds.
Am I doing something wrong (probably yes)?

Basically what I do is I write to the Primary and in the middle of the IO I
pull the Ethernet cable from the Secondary. I use iostat to monitor the IO
and I see that IO resumes (locally) after 10 seconds.
Reconnecting the cable back to the Secondary initiates the synchronization
(as expected)

Attached is my drbd.conf file.

Thanks

VJ

resource mydb {
protocol C;
syncer {rate 30M;}
device /dev/drbd1;
disk /dev/drbd-dev/mydbdev;
meta-disk internal;
startup {degr-wfc-timeout 120;
wfc-timeout 0;}
net {connect-int 10;
ping-int 10;
timeout 30;}
on SRVR1 {address 172.16.1.1:7789;}
on SRVR2 {address 172.16.1.2:7789;}
}


vctrjsn at gmail

Aug 8, 2009, 11:43 PM

Post #2 of 2 (609 views)
Permalink
timeout [In reply to]

Hi,

(sorry for re-posting - I'm in a jam)

I'm fairly new to DRBD.

I already configured a DRBD pair which works prefectly!

I tried configuring the "timeout" value (in the "net" section of the
drbd.conf file) and it seems like no matter what I do I get a timeout
of approx 10
seconds. Am I doing something wrong (probably yes)?

Basically what I do is I write to the Primary and in the middle of the
IO I pull the Ethernet cable from the Secondary. I use iostat to
monitor the IO
and I see that IO resumes (locally) after 10 seconds.Reconnecting the
cable back to the Secondary initiates the synchronization (as
expected)

Attached is my drbd.conf file.

Thanks

VJ

resource mydb {
protocol C;
syncer {rate 30M;}
device /dev/drbd1;
disk /dev/drbd-dev/mydbdev;
meta-disk internal;
startup {degr-wfc-timeout 120;
wfc-timeout 0;}
net {connect-int 10;
ping-int 10;
timeout 30;}
on SRVR1 {address 172.16.1.1:7789;}
on SRVR2 {address 172.16.1.2:7789;}
}

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.