[Linux-HA] Newbie question again

Diego de Felice diego.defelice at gmail.com
Wed Aug 3 01:30:42 MDT 2005


Nothing to do, it doesn't work without host file aliases. The problem
seems to be in slave1 not capable of acquiring it's own resources! In
fact, look at the last rows in the node1 log:

heartbeat[8083]: 2005/08/02_09:37:37 WARN: node slave2: is dead
heartbeat[8083]: 2005/08/02_09:37:37 info: Local status now set to: 'active'
heartbeat[8083]: 2005/08/02_09:37:37 WARN: No STONITH device configured.
heartbeat[8083]: 2005/08/02_09:37:37 WARN: Shared disks are not protected.
heartbeat[8083]: 2005/08/02_09:37:37 info: Resources being acquired from slave2.
harc[8096]:	2005/08/02_09:37:37 info: Running /etc/ha.d/rc.d/status status
mach_down[8106]:	2005/08/02_09:37:37 info:
/usr/lib/heartbeat/mach_down: nice_failback: foreign resources
acquired
mach_down[8106]:	2005/08/02_09:37:37 info: mach_down takeover complete
for node slave2.
heartbeat[8083]: 2005/08/02_09:37:37 info: Exiting status process 8096
returned rc 0.
req_resource[8139]:	2005/08/02_09:37:37 debug: in
/usr/lib/heartbeat/req_resource 10.10.1.45
req_resource[8139]:	2005/08/02_09:37:37 debug: dont_ask: yes nice_failback: yes
heartbeat[8120]: 2005/08/02_09:37:37 info: 1 local resources from
[/usr/lib/heartbeat/ResourceManager listkeys slave1]
heartbeat[8120]: 2005/08/02_09:37:37 info: Local Resource acquisition completed.
heartbeat[8083]: 2005/08/02_09:37:37 info: Exiting req_our_resources
process 8120 returned rc 0.
heartbeat[8083]: 2005/08/02_09:37:37 info: AnnounceTakeover(local 1,
foreign 0, reason 'req_our_resources' (0))

first it says "Resources being acquired from slave2", but slave2 has
no resources (in haresources it is slave1 to have them). Then the log
says "AnnounceTakeover" but nothing more. In other logs on ML or on
the GettingStarted doc I can see other things. Is there something else
I can check ?

On 8/3/05, Le Roux, Hendrik <hendrik.p.leroux at siemens.com> wrote:
>  
> 
> I think the documentation and comments in the ha.cf file are quite clear on
> this:  the names you give the nodes must be the real names of the systems
> (the name you see if you execute `uname -n`). 
> 
> Do not use host file aliasses - it does not work consistently (been there,
> checked that - rather listen to the documentation). 
> 

-- 
Diego de Felice


More information about the Linux-HA mailing list