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]>> 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]>
        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?




--
--
Best Regards,

Ammar Sheikh Saleh
================
Mobile Phone: +962799700733
Skype: aalishe
MSN: [email protected] <mailto:[email protected]>
P.O.BOX 141287
Amman - Jordan


--
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