So you start both nodes and all the services are active.  Correct?
Then you stop heartbeat on the node that they're running on... do the
services get transferred to the backup node at this point?
Or is the problem that they go back to the original node when
heartbeat is restarted?


On Mon, Dec 15, 2008 at 23:54, john youkhana <[email protected]> wrote:
>
>> Date: Mon, 15 Dec 2008 09:19:21 +0100
>> From: [email protected]
>> To: [email protected]
>> Subject: Re: [Linux-HA] (no subject)
>>
>> On Mon, Dec 15, 2008 at 04:20, john youkhana <[email protected]> wrote:
>> >
>> > Hi,
>> >
>> > I need help setting up heartbeat with crm. I got the cib.xml from 
>> > converting my haresources by a script supplied by heartbeat. 
>> > (/usr/lib/heartbeat/haresource2cib.py)
>> > The problem i have is when i restart heartbeat to change mastership 
>> > between the two nodes in the cluster, it doesnt work. The primary node 
>> > doesnt give up the resources. I'm not sure what the problem is, this all 
>> > worked when i wasn't using crm. Its when i changed to crm it stopped 
>> > working.
>> >
>> > Any ideas?
>>
>> none.   "I have a cluster and it doesn't work" isn't much to go on.
>> _______________________________________________
>> Linux-HA mailing list
>> [email protected]
>> http://lists.linux-ha.org/mailman/listinfo/linux-ha
>> See also: http://linux-ha.org/ReportingProblems
>
> Sorry,
>
>
>
> attached is my cib.xml (too large to paste here). Is there something that 
> needs to go in the cib.xml to make the nodes change mastership. The starting 
> and stopping of resources works.
>
> other files
>
> ==ha.cf==
> debugfile /var/log/ha-debug
> logfile /var/log/ha-log
> logfacility local0
> debug 3
> keepalive 100ms
> deadtime 10
> warntime 5
> initdead 30
> mcast eth0 225.0.0.1 694 1 0
> mcast eth1 225.0.0.2 694 2 0
> mcast eth2 225.0.0.3 694 3 0
> auto_failback off
> node drbd1
> node drbd2
> ping 192.168.1.254
> respawn hacluster /usr/lib/heartbeat/ipfail
> apiauth ipfail gid=haclient uid=hacluster
> deadping 1
> compression bz2
> compression_threshold 2
> crm yes
>
> ==haresources== (not used after crm is being used but it could still be 
> helpful in finding the problem)
> drbd1 drbddisk Filesystem::/dev/drbd0::/drbd::ext3 mysqld Rnc 192.168.1.113
_______________________________________________
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