Re: [Pacemaker] Hostname issues

2011-06-21 Thread Dan Frincu
Hi,

On Tue, Jun 21, 2011 at 5:12 PM, Proskurin Kirill
wrote:

> Hello all
>
> 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.
>
> This host *must* have a hostname of external network(for other software to
> work). Corosync must works on internal nic.
>
> But it is ask for uname -n for node name and get external name.
>
> How to avoide this? I can`t change hostname to int one and can`t run
> corosync on ext network.
>

Corosync runs on the IP addresses that you configure in
/etc/corosync/corosync.conf.

Pacemaker requires unique hostnames (as they are retrieved via uname -n) to
function properly.

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

Regards


>
> --
> Best regards,
> Proskurin Kirill
>
> __**_
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/**mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: 
> http://www.clusterlabs.org/**doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-**foundation.org/enter_bug.cgi?**
> product=Pacemaker
>



-- 
Dan Frincu
CCNA, RHCE
___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker


[Pacemaker] Hostname issues

2011-06-21 Thread Proskurin Kirill

Hello all

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.


This host *must* have a hostname of external network(for other software 
to work). Corosync must works on internal nic.


But it is ask for uname -n for node name and get external name.

How to avoide this? I can`t change hostname to int one and can`t run 
corosync on ext network.


--
Best regards,
Proskurin Kirill

___
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker