Hi All,

My Problem is DRBD is not mirroring data from Primary node to secondary node.

My Firewall is stopped.


I have done with the  Heartbeat. Its working perfectly and also did the  
failover.
   My current heartbeat  configuration satisfied the following crieteria. 
 
   When heartbeat starts it also starts  the MySQL, HTTPD, and DRBD.  
   When I shutdown master, VIP is  automatically transfer the request on slave 
machine.  
   When I start the Master it  automatically take over the control from the 
slave  machine. 
  Still I am facing the  problem with the DRBD. Though DRBD is not giving any 
error message while I start  the DRBD service, and I have also checked the 
command /cat  /proc/drbd,
   DRBD is not migrating  data from /mysql folder to seconday /mysql folder.
  [Primary  Server]
 Version: 0.7.21  (api:79/proto:74)
 SVN Revision: 2326  build by [EMAIL PROTECTED], 2006-08-26 20:44:47
  0: cs:Connected  st:Primary/Secondary ld:Consistent
     ns:4 nr:8 dw:12  dr:21 al:0 bm:1 lo:0 pe:0 ua:0 ap:0
  
  
 [Secondary  server]
 on: 0.7.21  (api:79/proto:74)
 SVN Revision: 2326  build by [EMAIL PROTECTED], 2006-08-26 20:44:47
  0: cs:Connected  st:Secondary/Primary ld:Consistent
     ns:12 nr:8 dw:16  dr:21 al:0 bm:7 lo:0 pe:0 ua:0 ap:0
  
 When I am executing  mount –a on secondary node it give me error like
 /O error on device  drbd0, logical block 1190144
 drbd0: Not in Primary  state, no IO requests allowed
 Buffer I/O error on  device drbd0, logical block 1190145
 drbd0: Not in Primary  state, no IO requests allowed
 Buffer I/O error on  device drbd0, logical block 1190146
 drbd0: Not in Primary  state, no IO requests allowed
 Buffer I/O error on  device drbd0, logical block 1190147
 drbd0: Not in Primary  state, no IO requests allowed
 Buffer I/O error on  device drbd0, logical block 1190148
 Buffer I/O error on  device drbd0, logical block 1190149
  
  On primary node mount  –a working properly but in secondary node it give me 
the error messages as above.

I have done the below entry on both node in /etc/fstab table.

/dev/drbd0 /mysql ext3 noauto 0 0

I have also created /mysql directory on both node.



I have attached the DRBD.conf file. Please solve the above problem.

Thanks for your support.

Best Regards,
Jugal Shah




 
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.

Attachment: drbd.conf
Description: 2041306112-drbd.conf

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to