Hi,<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 5:12 PM, Proskurin Kirill <span dir="ltr"><<a href="mailto:k.proskurin@corp.mail.ru">k.proskurin@corp.mail.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello all<br>
<br>
I have 4 nodes - all of them with two nic in two network. All of them have 2 DNS name - one for internal network and one for external.<br>
<br>
This host *must* have a hostname of external network(for other software to work). Corosync must works on internal nic.<br>
<br>
But it is ask for uname -n for node name and get external name.<br>
<br>
How to avoide this? I can`t change hostname to int one and can`t run corosync on ext network.<br></blockquote><div><br></div><div>Corosync runs on the IP addresses that you configure in /etc/corosync/corosync.conf. </div>
<div><br></div><div>Pacemaker requires unique hostnames (as they are retrieved via uname -n) to function properly. </div><div><br></div><div>If they are "internal" or "external" it really doesn't matter for the cluster stack, that's a human point of view, the machine has no real opinion in this (e.g.: if you configure IP communication channels properly, then corosync will use the internal network, but the hostnames will be set to the "external" hostname as these two are unrelated).</div>
<div><br></div><div>Regards</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
-- <br>
Best regards,<br>
Proskurin Kirill<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-<u></u>foundation.org/enter_bug.cgi?<u></u>product=Pacemaker</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dan Frincu<div>CCNA, RHCE</div><br>