Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi guys. After the primary server went down secondary takes over when primary when back on line I get this: Primary: /proc/drbd version: 8.2.5 (api:88/proto:86-88) GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root at demogenx.demogenx.local, 2008-03-16 13:16:31 0: cs:WFConnection st:Primary/Unknown ds:UpToDate/DUnknown C r--- ns:0 nr:0 dw:57516 dr:19997 al:1 bm:148 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:14378 misses:1 starving:0 dirty:0 changed:1 /etc/drbd.conf global { usage-count yes; } common { syncer { rate 100M; } } resource "r0" { protocol C; # There are A, B and C protocols. Stick with C. # incon-degr-cmd "echo 'DRBD Degraded!' | wall; sleep 60 ; halt -f"; # If a cluster starts up in degraded mode, it will echo a message to all # users. It'll wait 60 seconds then halt the system. on Master { device /dev/drbd0; # The name of our drbd device. disk /dev/sda4; # Partition we wish drbd to use. address 172.16.160.44:7789; # node0 IP address and port number. meta-disk internal; # Stores meta-data in lower portion of sdb1. } on Slave { device /dev/drbd0; # Our drbd device, must match node0. disk /dev/sda4; # Partition drbd should use. address 172.16.160.24:7789; # IP address of node1, and port number. meta-disk internal; #Stores meta-data in lower portion of sdb1. } disk { on-io-error detach; # What to do when the lower level device errors. } net { max-buffers 2048; #datablock buffers used before writing to disk. ko-count 4; # Peer is dead if this count is exceeded. #on-disconnect reconnect; # Peer disconnected, try to reconnect. } syncer { rate 10M; # Synchronization rate, in megebytes. Good for 100Mb network. #group 1; # Used for grouping resources, parallel sync. al-extents 257; # Must be prime, number of active sets. } startup { wfc-timeout 0; # drbd init script will wait infinitely on resources. degr-wfc-timeout 120; # 2 minutes. } } # End of resource r0 secondary: /proc/drbd version: 8.2.5 (api:88/proto:86-88) GIT-hash: 9faf052fdae5ef0c61b4d03890e2d2eab550610c build by root at demogenx.demogenx.local, 2008-03-16 13:16:31 0: cs:StandAlone st:Secondary/Unknown ds:UpToDate/DUnknown r--- ns:0 nr:0 dw:772 dr:17118 al:0 bm:28 lo:0 pe:0 ua:0 ap:0 resync: used:0/31 hits:0 misses:0 starving:0 dirty:0 changed:0 act_log: used:0/257 hits:193 misses:0 starving:0 dirty:0 changed:0 /etc/drbd.conf global { usage-count yes; } common { syncer { rate 100M; } } resource "r0" { protocol C; # There are A, B and C protocols. Stick with C. # incon-degr-cmd "echo 'DRBD Degraded!' | wall; sleep 60 ; halt -f"; # If a cluster starts up in degraded mode, it will echo a message to all # users. It'll wait 60 seconds then halt the system. on Master { device /dev/drbd0; # The name of our drbd device. disk /dev/sda4; # Partition we wish drbd to use. address 172.16.160.44:7789; # node0 IP address and port number. meta-disk internal; # Stores meta-data in lower portion of sdb1. } on Slave { device /dev/drbd0; # Our drbd device, must match node0. disk /dev/sda4; # Partition drbd should use. address 172.16.160.24:7789; # IP address of node1, and port number. meta-disk internal; #Stores meta-data in lower portion of sdb1. } disk { on-io-error detach; # What to do when the lower level device errors. } net { max-buffers 2048; #datablock buffers used before writing to disk. ko-count 4; # Peer is dead if this count is exceeded. #on-disconnect reconnect; # Peer disconnected, try to reconnect. } syncer { rate 10M; # Synchronization rate, in megebytes. Good for 100Mb network. #group 1; # Used for grouping resources, parallel sync. al-extents 257; # Must be prime, number of active sets. } startup { wfc-timeout 0; # drbd init script will wait infinitely on resources. degr-wfc-timeout 120; # 2 minutes. } } # End of resource r0 I don`t know what do to anymore. Thank you Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20080327/e350c636/attachment.htm>