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 <[email protected]
<mailto:[email protected]>> 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 <[email protected]
        <mailto:[email protected]>
        <mailto:[email protected] <mailto:[email protected]>>> 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
        [email protected] <mailto:[email protected]>
        <mailto:drbd-user@lists.__linbit.com
        <mailto:[email protected]>>
        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?
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to