[DRBD-user] How to backup all configs - just in case

Digimer lists at alteeve.ca
Sun Dec 28 11:31:22 CET 2014

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


Not without knowing your setup better.

If you are new, I would start by building a cluster from scratch, using 
your production environment as a guide. This will go a long way to help 
you both find the files you need and also to help you develop a good 
understanding of your production environment and how clustering works.

It's very well worth the time investment. :)

On 28/12/14 05:29 AM, Ammar Sheikh Saleh wrote:
> thanks Digimer,
>
> but I cant poweroff the nodes .. they are in production and shouldn't be
> touched ...
>
> can you tell exactly which files /"Copy over the various config files"/
>
> On Sun, Dec 28, 2014 at 1:15 PM, Digimer <lists at alteeve.ca
> <mailto:lists at alteeve.ca>> wrote:
>
>     That is a lot harder to do... The easiest would be to power off the
>     nodes and clone the systems (adjusting on boot for things like
>     different MAC addresses, avoid duplicate IPs, etc).
>
>     In truth though, for dev/testing, I don't think you need to do this.
>     Copy over the various config files, copy the data from the FS on
>     DRBD from backups and have at it. I actually think the practice of
>     rebuilding (repeatedly in a dev environment) what you have in
>     production is a great way to know if you're ready to do it in an
>     emergency.
>
>     On 28/12/14 05:12 AM, Ammar Sheikh Saleh wrote:
>
>         Thanks.
>
>         Yes .. everything not only DRBD ... to a fully working replica of
>         everything (including content)
>
>         thanks in advance
>
>         On Sun, Dec 28, 2014 at 12:10 PM, Digimer <lists at alteeve.ca
>         <mailto:lists at alteeve.ca>
>         <mailto:lists at alteeve.ca <mailto:lists at alteeve.ca>>> wrote:
>
>              For DRBD, assuming the installed versions matched, you just
>         need to
>              copy /etc/drbd*.
>
>              Or are you asking about replicating the contents of the
>         resources as
>              well?
>
>
>              On 28/12/14 02:30 AM, Ammar Sheikh Saleh wrote:
>
>                  Hi,
>
>                  is there away to replicate a production cluster ( with
>                  DRBD-Corosync-Pacemaker)  .. and build an exact clustering
>                  software on a
>                  development setup?
>
>                  and what would be the easiest/fastest/most accurate way
>         to do so ...
>
>
>                  thanks!
>
>
>                  ___________________________________________________
>                  drbd-user mailing list
>         drbd-user at lists.linbit.com <mailto:drbd-user at lists.linbit.com>
>         <mailto:drbd-user at lists.__linbit.com
>         <mailto:drbd-user at lists.linbit.com>>
>         http://lists.linbit.com/____mailman/listinfo/drbd-user
>         <http://lists.linbit.com/__mailman/listinfo/drbd-user>
>                  <http://lists.linbit.com/__mailman/listinfo/drbd-user
>         <http://lists.linbit.com/mailman/listinfo/drbd-user>>
>
>
>
>              --
>              Digimer
>              Papers and Projects: https://alteeve.ca/w/
>              What if the cure for cancer is trapped in the mind of a person
>              without access to education?
>
>
>
>
>         --
>         --v
>
>
>
>     --
>     Digimer
>     Papers and Projects: https://alteeve.ca/w/
>     What if the cure for cancer is trapped in the mind of a person
>     without access to education?
>
>


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the drbd-user mailing list