<div dir="ltr"><div><div>thanks Digimer,<br><br></div>but I cant poweroff the nodes .. they are in production and shouldn't be touched ... <br><br></div>can you tell exactly which files <i>"Copy over the various config files"</i><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 28, 2014 at 1:15 PM, Digimer <span dir="ltr"><<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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).<br>
<br>
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.<span class=""><br>
<br>
On 28/12/14 05:12 AM, Ammar Sheikh Saleh wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks.<br>
<br>
Yes .. everything not only DRBD ... to a fully working replica of<br>
everything (including content)<br>
<br>
thanks in advance<br>
<br>
On Sun, Dec 28, 2014 at 12:10 PM, Digimer <<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a><br></span><span class="">
<mailto:<a href="mailto:lists@alteeve.ca" target="_blank">lists@alteeve.ca</a>>> wrote:<br>
<br>
For DRBD, assuming the installed versions matched, you just need to<br>
copy /etc/drbd*.<br>
<br>
Or are you asking about replicating the contents of the resources as<br>
well?<br>
<br>
<br>
On 28/12/14 02:30 AM, Ammar Sheikh Saleh wrote:<br>
<br>
Hi,<br>
<br>
is there away to replicate a production cluster ( with<br>
DRBD-Corosync-Pacemaker) .. and build an exact clustering<br>
software on a<br>
development setup?<br>
<br>
and what would be the easiest/fastest/most accurate way to do so ...<br>
<br>
<br>
thanks!<br>
<br>
<br></span>
______________________________<u></u>___________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a> <mailto:<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.<u></u>linbit.com</a>><br>
<a href="http://lists.linbit.com/__mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/__<u></u>mailman/listinfo/drbd-user</a><span class=""><br>
<<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/<u></u>mailman/listinfo/drbd-user</a>><br>
<br>
<br>
<br>
--<br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person<br>
without access to education?<br>
<br>
<br>
<br>
<br>
--<br>
--v</span><span class=""><br>
</span></blockquote>
<br><div class="HOEnZb"><div class="h5">
<br>
-- <br>
Digimer<br>
Papers and Projects: <a href="https://alteeve.ca/w/" target="_blank">https://alteeve.ca/w/</a><br>
What if the cure for cancer is trapped in the mind of a person without access to education?<br>
</div></div></blockquote></div><br></div></div>