Drbd

De Admin -- TALEVAS.
Version du 27 janvier 2010 à 12:46 par 193.252.149.222 (discuter)
(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)

data02-P ~ #drbdadm create-md SERVICE

Valid meta data seems to be in place.
Do you really want to overwrite?     
[need to type 'yes' to confirm] yes  
Writing meta data...
initialising activity log
NOT initialized bitmap   
New drbd meta data block sucessfully created.
data02-P ~ # drbdadm attach SERVICE
data02-P ~ # /etc/init.d/drbd start 
Starting DRBD resources:    [ d(SERVICE) s(SERVICE) n(SERVICE) ].
..........                                                       
***************************************************************  
DRBD's startup script waits for the peer node(s) to appear.     
- In case this node was already a degraded cluster before the   
  reboot the timeout is 10 seconds. [degr-wfc-timeout]          
- If the peer was available before the reboot the timeout will  
  expire after 20 seconds. [wfc-timeout]                        
  (These values are for resource 'SERVICE'; 0 sec -> wait forever)
To abort waiting enter 'yes' [  20]:    


data01-P ~ # drbdadm connect SERVICE


data02-P ~ # drbdsetup /dev/drbd0 syncer -r 90M

data02-P ~ # dstat 1

data02-P ~ # watch cat /proc/drbd