[DRBD-user] come back to Primary/Secondary status

Andrés Cañada acanada at cnio.es
Thu Feb 16 11:04:57 CET 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


El Jueves, 16 de Febrero de 2006 10:55, Andrés Cañada escribió:
> Hi!
> Please, I need some help with this. Yesterday again the master director
> failover resources to backup director. Great (althougth it is crashing too
> many times)
> But now, when I want to come back to the old configuration I have some
> problems.
> I had to reboot primary director because it was frozen.
> So when heartbeat started again and with failback off, the backup director
> (now primary) shows in /proc/drbd:
> 	version: 0.7.15 (api:77/proto:74)
> 	SVN Revision: 2020 build by root at prot15, 2006-01-24 16:03:36
> 	 0: cs:StandAlone st:Primary/Unknown ld:Consistent
> 	    ns:0 nr:0 dw:4821556 dr:80335 al:188 bm:700 lo:0 pe:0 ua:0 ap:0
> 	 1: cs:Unconfigured
> And the old primary director, now secondary, shows:
> 	version: 0.7.15 (api:77/proto:74)
> 	SVN Revision: 2020 build by root at prot14, 2006-01-24 16:00:25
> 	 0: cs:WFConnection st:Secondary/Unknown ld:Consistent
> 	    ns:0 nr:0 dw:656 dr:55713 al:3 bm:260 lo:0 pe:0 ua:0 ap:0
> 	 1: cs:Unconfigured
>
> I'd like to have them in Primary/Secondary and Secondary/Primary status but
> I can't go back to that situation.
> Do I have to type #drbdadm syncer all (what I think it should synchronize
> the disks) to get them synchronized?? I can't with this command.
>
> What can I do?
> Thank you very much!
 
I forgot to say. When I run the command #drbdadm connect all
	on actual primary director, I get
**********************************************************************
	[root at prot15:]~ Feb 16 10:59:21 localhost kernel: drbd0: drbdsetup [7140]: 		
cstate StandAlone --> Unconnected
	Feb 16 10:59:21 localhost kernel: drbd0: drbd0_receiver [7141]: cstate 	
Unconnected --> WFConnection
	Feb 16 10:59:21 localhost kernel: drbd0: drbd0_receiver [7141]: cstate 	
WFConnection --> WFReportParams
	Feb 16 10:59:21 localhost kernel: drbd0: Handshake successful: DRBD Network 	
Protocol version 74
	Feb 16 10:59:21 localhost kernel: drbd0: Connection established.
	Feb 16 10:59:21 localhost kernel: drbd0: I am(P): 	
1:00000002:00000001:00000014:00000005:10
	Feb 16 10:59:21 localhost kernel: drbd0: Peer(S): 
1:00000003:00000001:00000014:00000003:00
	Feb 16 10:59:21 localhost kernel: drbd0: drbd0_receiver [7141]: cstate 
WFReportParams --> StandAlone
	Feb 16 10:59:21 localhost kernel: drbd0: asender terminated
	Feb 16 10:59:21 localhost kernel: drbd0: worker terminated
	Feb 16 10:59:21 localhost kernel: drbd0: drbd0_receiver [7141]: cstate 	
StandAlone --> StandAlone
	Feb 16 10:59:21 localhost kernel: drbd0: Connection lost.
	Feb 16 10:59:21 localhost kernel: drbd0: receiver terminated
**********************************************************************
	and on actual secondary director I get
**********************************************************************
	[root at prot14:]~ Feb 16 11:00:53 localhost kernel: drbd0: worker terminated
	Feb 16 11:00:53 localhost kernel: drbd0: drbd0_receiver [5162]: cstate 	
WFConnection --> StandAlone
	Feb 16 11:00:53 localhost kernel: drbd0: Connection lost.
	Feb 16 11:00:53 localhost kernel: drbd0: Discarding network configuration.
	Feb 16 11:00:53 localhost kernel: drbd0: drbd0_receiver [5162]: cstate 	
StandAlone --> StandAlone
	Feb 16 11:00:53 localhost kernel: drbd0: receiver terminated
	Feb 16 11:00:53 localhost kernel: drbd0: drbdsetup [6254]: cstate StandAlone 
	--> Unconnected
	Feb 16 11:00:53 localhost kernel: drbd0: drbd0_receiver [6256]: cstate 	
Unconnected --> WFConnection
**********************************************************************

I'm using debian  2.6.8 and drbd 0.7.15

Thank you

**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido. 
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.




More information about the drbd-user mailing list