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