> --- On Thu, 11/26/09, Andrew Beekhof <[email protected]> wrote:
>> On Fri, Nov 27, 2009 at 8:30 AM, Muhammad Sharfuddin 
>> <[email protected]> wrote:
>>> --- On Wed, 11/25/09, Muhammad Sharfuddin 
>>> <[email protected]> wrote:
>>>
>>> OS: SLES 10 SP2
>>>
>>> rpm -qa |grep heartbeat
>>> heartbeat-pils-2.1.4-0.15.5
>>> heartbeat-2.1.4-0.15.5
>>> heartbeat-cmpi-2.1.4-0.15.5
>>> heartbeat-ldirectord-2.1.4-0.15.5
>>> heartbeat-stonith-2.1.4-0.15.5
>>>
>>> its a two node active/passive test cluster.
>>> both nodes are working fine... if active node shutdowns, the passive node
>>> becomes active and runs all the resources properly.
>>>
>>> but on one node the /var/lib/heartbeat/crm and /var/lib/heartbeat/pengine
>>> is empty... but the node is working quite fine(i.e this node can
>>> resources etc).. how/why ?
>>>
>>> on the other node both 'crm' and 'pengine' directories are populated.
>>>
>>> whats wrong ?
>>
>> if I only start heartbeat on the node where 'crm' and 'pengine' 
>> directories are empty, crm_mon/hb_gui does not show any resources,
>> but when I also start the service on the node where 'pengine' and
>> 'crm' directories are populated, crm_mon/hb_gui starts showing 
>> resources from both nodes.
>>>

Hi Andrew Beekhof,

> Did you try reading the logs?
Not before, but yes now.
issue resolved, thanks for pointing me towards logs.
actually by mistake 'crm' and 'pengine' were owned by root.

from /var/log/messages

Cannot open /var/lib/heartbeat/crm/cib.xml for writing: Permission denied
write_cib_contents: Changes couldn't be written to disk
cib_diskwrite_complete: Disk write failed: status=256, signo=0, exitcode=1
cib_diskwrite_complete: Disabling disk writes after write failure
Cannot chdir to [/var/lib/heartbeat/cores/hacluster]: Permission denied
crm_is_writable: /var/lib/heartbeat/pengine must be owned and r/w by user 
hacluster
Cannot chdir to [/var/lib/heartbeat/cores/hacluster]: Permission denied
Cannot open /var/lib/heartbeat/pengine/pe-input-0.bz2 for writing: Permission 
denied
write_last_sequence: Cannout open series file 
/var/lib/heartbeat/pengine/pe-input.last for writing

issue now resolved by granting owner ship to 'hacluster.haclient'

Regards
Muhammad Sharfuddin



      
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to