[DRBD-user] reinitialise the secondary

Andreas Kurz andreas at hastexo.com
Fri Feb 24 13:38:03 CET 2012


On 02/24/2012 01:05 PM, fatcharly at gmx.de wrote:
> Hi,
> 
> I´m running a mysql-cluster on two CentOS Nodes. I´m using drbd83-8.3.12-2.el5.centos with pacemaker/heartbeat. Is there a way to reinitialize all data on the secondary-node ?
> I tried 
> drbdadm -- --discard-my-data connect resource
>  but this was not working for the whole data, and so I tried a
>  drbdadm -- --overwrite-data-of-peer primary resource 
> on the primary, but nothing happend. Did I missed something ?

on the primary:

drbdadm invalidate-remote resource

Regards,
Andreas

-- 
Need help with DRBD?
http://www.hastexo.com/now

> 
> Any suggestions are welcome
> 
> kind regards
> 
> fatcharly
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 222 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120224/a4416909/attachment.pgp>


More information about the drbd-user mailing list