Hi,
On Wed, Jan 23, 2008 at 09:45:53AM +0100, Marco Leone wrote:
>
>>> 1: I receive lot of the following warning messages (4 per second):
>>>
>>> Jan 22 15:56:06 ub704ha01 heartbeat: [9353]: WARN: Invalid authentication
>>> type [2] in message!
>>> Jan 22 15:56:06 ub704ha01 heartbeat: [9353]: WARN: string2msg_ll: node
>>> [ubuntu02] failed authentication
>>> Jan 22 15:56:06 ub704ha01 heartbeat: [9353]: WARN: Invalid authentication
>>> type [2] in message!
>>> Jan 22 15:56:06 ub704ha01 heartbeat: [9353]: WARN: string2msg_ll: node
>>> [ubuntu01] failed authentication
>> What does the /etc/ha.d/authkeys look like? Are you sure that
>> there's no firewall in between?
>
> I've got a simple authkeys:
>
> auth 1
> 1 sha1 mypasskey
>
>
> And not, there's no firewall between the two nodes. They are in the same
> network (I've also tried with two virtual machine with the same
> configuration under a ESX server but I receive the same error messages).
Could it be that you have more than one cluster on the network?
Can you watch the wire and see what's going on? The Heartbeat
uses a single udp port for communication.
>>> 2: I use the apache2 web server and I thought (after configuring the
>>> mod_status) that the ocf script was the one used but I continue receiving
>>> the following error message in console:
>>>
>>> *Usage: /etc/init.d/apache2 {start|stop|restart|reload|force-reload}
>>>
>>> as if heartbeat is not using the ocf script but the ubuntu init.d script
>>> for apache2 and so it lacks the status parameter.
>>>
>>> I assume this is a basic cluster configuration can anyone help me out
>>> with this problems?
>> Use apache and not apache2 as the resource type.
>
> I tried but I'm still receiving the usage error.
>
> Here it is the resource section of my cib.xml:
>
> <resources>
> <group id="group_1">
> <primitive class="ocf" id="IPaddr_192_168_42_89"
> provider="heartbeat" type="IPaddr">
> <operations>
> <op
> id="IPaddr_192_168_42_89_mon" interval="5s" name="monitor" timeout="5s"/>
> </operations>
> <instance_attributes
> id="IPaddr_192_168_42_89_inst_attr">
> <attributes>
> <nvpair
> id="IPaddr_192_168_42_89_attr_0" name="ip" value="192.168.42.89"/>
> </attributes>
> </instance_attributes>
> </primitive>
> <primitive class="ocf" id="apache_2"
> provider="heartbeat" type="apache">
> <operations>
> <op id="apache_2_mon"
> interval="120s" name="monitor" timeout="60s"/>
> </operations>
> </primitive>
There's a required parameter for the apache RA. IIRC it's called
configfile. Read the meta-data for usage:
/usr/lib/ocf/.../apache meta-data
Thanks,
Dejan
> </group>
> </resources>
>
>
> Thanks.
> --
>
> Marco Leone
> Engisud S.p.a. - Gruppo Engineering I.I. S.p.a.
> Viale Regione Siciliana, 7275 - 90146 Palermo
> Tel.091-7511730 Fax 091-7511720
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems