Questions regarding offsite disaster/recovery (from stacked drbd device)

View: New views
3 Messages — Rating Filter:   Alert me  

Questions regarding offsite disaster/recovery (from stacked drbd device)

by Schmidt, Torsten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Questions regarding offsite disaster/recovery (from stacked drbd device)

Hi list,

i've successfully implemented a three-node setup with an offsite node via drbd stacked-device as explained in the users-guide

( http://www.drbd.org/users-guide/s-pacemaker-stacked-resources.html )

the offsite drbd-device status is always 'secondary' because it has to stay in sync with the 'primary' (stacked) device managed by pacemaker crm.

afaik 'secondary' devices cannot be mounted/accessed.

so, how can i access the offsite data, assumed all nodes in my ha-cluster failed?

how to handle the different states, the offsite-device can be in and how to do a recovery from it?
i can think these:
  -  cs:WFConnection   ro:Secondary/Unknown ds:UpToDate/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Outdated/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Consistent/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Inconsistent/DUnknown


is there a possibility to make the data on the offsite node permanently available (read only)?
  e.g. so i can always 'clone' my production data to my test-environment from the state:
    cs:Connected   ro:Secondary/Primary ds:UpToDate/UpToDate


Mit freundlichen Grüßen / with kind regards

Torsten Schmidt


_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user

Re: Questions regarding offsite disaster/recovery (from stacked drbd device)

by Schmidt, Torsten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Questions regarding offsite disaster/recovery (from stacked drbd device)
can anyone give me a tip or two about this?
 
Mit freundlichen Grüßen / with kind regards

Torsten Schmidt
 
 

Von: drbd-user-bounces@... [mailto:drbd-user-bounces@...] Im Auftrag von Schmidt, Torsten
Gesendet: Mittwoch, 21. Oktober 2009 13:13
An: drbd-user@...
Betreff: [DRBD-user] Questions regarding offsite disaster/recovery (fromstacked drbd device)

Hi list,

i've successfully implemented a three-node setup with an offsite node via drbd stacked-device as explained in the users-guide

( http://www.drbd.org/users-guide/s-pacemaker-stacked-resources.html )

the offsite drbd-device status is always 'secondary' because it has to stay in sync with the 'primary' (stacked) device managed by pacemaker crm.

afaik 'secondary' devices cannot be mounted/accessed.

so, how can i access the offsite data, assumed all nodes in my ha-cluster failed?

how to handle the different states, the offsite-device can be in and how to do a recovery from it?
i can think these:
  -  cs:WFConnection   ro:Secondary/Unknown ds:UpToDate/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Outdated/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Consistent/DUnknown
  -  cs:WFConnection/Unknown   ro:Secondary/Primary ds:Inconsistent/DUnknown


is there a possibility to make the data on the offsite node permanently available (read only)?
  e.g. so i can always 'clone' my production data to my test-environment from the state:
    cs:Connected   ro:Secondary/Primary ds:UpToDate/UpToDate


Mit freundlichen Grüßen / with kind regards

Torsten Schmidt


_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user

Re: Questions regarding offsite disaster/recovery (from stacked drbd device)

by Johan Verrept :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> i've successfully implemented a three-node setup with an offsite node
> via drbd stacked-device as explained in the users-guide
>
> ( http://www.drbd.org/users-guide/s-pacemaker-stacked-resources.html )
>
> the offsite drbd-device status is always 'secondary' because it has to
> stay in sync with the 'primary' (stacked) device managed by pacemaker
> crm.

Congrats.

> afaik 'secondary' devices cannot be mounted/accessed.

True. Florian has a post about that on his blog.

http://blogs.linbit.com/florian/2007/06/18/why-drbd-wont-let-you-mount-the-secondary/#more-14

> so, how can i access the offsite data, assumed all nodes in my
> ha-cluster failed?

I am not quite sure what you want. If you fix the problems with the
cluster and restore the config, you make them sync from your offsite
node.

If your other nodes failed, I also see no problem in making the offsite
node primary until the other nodes are back up (and in sync with the
offsite node).

> is there a possibility to make the data on the offsite node
> permanently available (read only)?
>   e.g. so i can always 'clone' my production data to my
> test-environment from the state:
>     cs:Connected   ro:Secondary/Primary ds:UpToDate/UpToDate

Use drbd on lvm and make an lvm snapshot of the running drbd device and
mount that snapshot read-only. It isn't live data, but it is as recent
as the snapshot. Also seems good for backups.

        J.


_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user