On my two newest heartbeat clusters, when I do a 'cl_status rscstatus'
it shows 'local' on both cluster nodes. I don't know why it does not say
'all' on one and 'none' on the other, since there is only one server
listed in the haresources file and the file is the same on both nodes.
Also, the individual resources are indeed owned by just one node. I am
using heartbeat 2.1.3. 

See below:

ON NODE 1:

[r...@ha05 ~]# cat /etc/ha.d/haresources
ha05.mydomain.com \
        drbddisk::ha_mysql \
        Filesystem::/dev/drbd0::/ha_mysql::ext3 \
        IPaddr2::10.0.15.204/24/bond0 \
        mysql_001
[r...@ha05 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
[email protected], 2009-08-29 14:07:55
m:res       cs         ro                 ds                 p  mounted
fstype
0:ha_mysql  Connected  Primary/Secondary  UpToDate/UpToDate  C
/ha_mysql  ext3
[r...@ha05 ~]# ls /ha_mysql/
hello.txt  lost+found  site001
[r...@ha05 ~]# ip addr|grep 10.0.15.204
    inet 10.0.15.204/24 brd 10.0.15.255 scope global bond0
[r...@ha05 ~]# service mysql_001 status
running with PID 5874.
[r...@ha05 ~]# cl_status rscstatus
local

ON NODE 2:

[r...@ha06 ~]# cat /etc/ha.d/haresources
ha05.mydomain.com \
        drbddisk::ha_mysql \
        Filesystem::/dev/drbd0::/ha_mysql::ext3 \
        IPaddr2::10.0.15.204/24/bond0 \
        mysql_001
[r...@ha06 ~]# service drbd status
drbd driver loaded OK; device status:
version: 8.3.2 (api:88/proto:86-90)
GIT-hash: dd7985327f146f33b86d4bff5ca8c94234ce840e build by
[email protected], 2009-08-29 14:07:55
m:res       cs         ro                 ds                 p  mounted
fstype
0:ha_mysql  Connected  Secondary/Primary  UpToDate/UpToDate  C
[r...@ha06 ~]# service mysql_001 status
Directory '/ha_mysql/site001/mysql' does not exist. We are probably not
the active cluster node. Script aborted.
[r...@ha06 ~]# ls /ha_mysql/
unmounted.txt
[r...@ha06 ~]# ip addr|grep 10.0.15.204
[r...@ha06 ~]# cl_status rscstatus
local

--
Eric Robinson


Disclaimer - February 3, 2010 
This email and any files transmitted with it are confidential and intended 
solely for General Linux-HA mailing list. If you are not the named addressee 
you should not disseminate, distribute, copy or alter this email. Any views or 
opinions presented in this email are solely those of the author and might not 
represent those of . Warning: Although  has taken reasonable precautions to 
ensure no viruses are present in this email, the company cannot accept 
responsibility for any loss or damage arising from the use of this email or 
attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/
_______________________________________________
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