<div dir="ltr"><div><div>yes indeed .. I am new to this environment ... but I can see the clustering software used is as follows:<br><br>corosync-2.3.0-1.el6.x86_64<br>pacemaker-1.1.8-1.el6.x86_64<br>drbd84-utils-8.4.2-1.el6.elrepo.x86_64<br><br></div>these are outdated but working :-]<br><br></div>hope that makes it even clear to you <br><br>thanks!<br><div><div><div><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 28, 2014 at 1:31 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">Not without knowing your setup better.<br>
<br>
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.<br>
<br>
It's very well worth the time investment. :)<span class=""><br>
<br>
On 28/12/14 05:29 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 Digimer,<br>
<br>
but I cant poweroff the nodes .. they are in production and shouldn't be<br>
touched ...<br>
<br></span>
can you tell exactly which files /"Copy over the various config files"/<span class=""><br>
<br>
On Sun, Dec 28, 2014 at 1:15 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>
That is a lot harder to do... The easiest would be to power off the<br>
nodes and clone the systems (adjusting on boot for things like<br>
different MAC addresses, avoid duplicate IPs, etc).<br>
<br>
In truth though, for dev/testing, I don't think you need to do this.<br>
Copy over the various config files, copy the data from the FS on<br>
DRBD from backups and have at it. I actually think the practice of<br>
rebuilding (repeatedly in a dev environment) what you have in<br>
production is a great way to know if you're ready to do it in an<br>
emergency.<br>
<br>
On 28/12/14 05:12 AM, Ammar Sheikh Saleh wrote:<br>
<br>
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>
<mailto:<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> <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<br>
need to<br>
copy /etc/drbd*.<br>
<br>
Or are you asking about replicating the contents of the<br>
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<br>
to do so ...<br>
<br>
<br>
thanks!<br>
<br>
<br></span>
______________________________<u></u>_____________________<span class=""><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></span>
<mailto:<a href="mailto:drbd-user@lists." target="_blank">drbd-user@lists.</a>__<a href="http://linbit.com" target="_blank">linb<u></u>it.com</a><br>
<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><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>
<<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<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>
</span></blockquote><div class="HOEnZb"><div class="h5">
<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 without access to education?<br>
</div></div></blockquote></div><br></div>