The heartbeat looks well, but no configured resource found in crm_mon.
All configuration files and logs are attached. Any suggestion is appreciated.


Environment
==========

Two nodes of fc6 with kernel 2.6.18-1.2798.fc6:
Primary hostname=IanVM-4, ipaddr=192.168.1.224
Slave    hostname=IanVM-5, ipaddr= 192.168.1.225

What I want to make high-available: my_server - a program repeat to
accept tcp connection request (listen at 192.168.1.230:4567 ) and
disconnect in a few seconds.


Configuration
===========
The follow configuration files as attached is used:

fc6-authkeys
fc6-ha.cf
fc6-haresource.my_server
fc6-init.d-my_server
fc6-logd.cf


Operations
=========

(1) A shell script prepare_my_server.sh as attached is used to apply
above configuration files on the two nodes.

IanVM-4
----------

[EMAIL PROTECTED] scripts]# sh prepare_my_server.sh
Create symbol links...
lrwxrwxrwx 1 root root 44 Aug 24 15:20 /etc/ha.d/authkeys ->
/home/ian/work/linux-ha/scripts/fc6-authkeys
lrwxrwxrwx 1 root root 41 Aug 24 15:20 /etc/ha.d/ha.cf ->
/home/ian/work/linux-ha/scripts/fc6-ha.cf
lrwxrwxrwx 1 root root 43 Aug 24 15:20 /etc/logd.cf ->
/home/ian/work/linux-ha/scripts/fc6-logd.cf
lrwxrwxrwx 1 root root 52 Aug 24 15:20 /etc/init.d/my_server ->
/home/ian/work/linux-ha/scripts/fc6-init.d-my_server
Change mode of authkeys to 600
-rw------- 1 ian users 643 Aug 21 19:13 /etc/ha.d/authkeys
Create cib.xml
-rw-r--r-- 1 hacluster root 2637 Aug 24 15:20
/usr/local/var/lib/heartbeat/crm/cib.xml

IanVM-5
----------

[EMAIL PROTECTED] scripts]# sh prepare_my_server.sh
Create symbol links...
lrwxrwxrwx 1 root root 44 Aug 24 15:21 /etc/ha.d/authkeys ->
/home/ian/work/linux-ha/scripts/fc6-authkeys
lrwxrwxrwx 1 root root 41 Aug 24 15:21 /etc/ha.d/ha.cf ->
/home/ian/work/linux-ha/scripts/fc6-ha.cf
lrwxrwxrwx 1 root root 43 Aug 24 15:21 /etc/logd.cf ->
/home/ian/work/linux-ha/scripts/fc6-logd.cf
lrwxrwxrwx 1 root root 52 Aug 24 15:21 /etc/init.d/my_server ->
/home/ian/work/linux-ha/scripts/fc6-init.d-my_server
Change mode of authkeys to 600
-rw------- 1 ian users 0 Aug 24 15:21 /etc/ha.d/authkeys
Create cib.xml
-rw-r--r-- 1 hacluster root 2637 Aug 24 15:21
/usr/local/var/lib/heartbeat/crm/cib.xml


(2) Start heartbeat on both nodes.

[EMAIL PROTECTED] scripts]# sh hb_start.sh
Starting High-Availability services:
                                                           [  OK  ]

[EMAIL PROTECTED] scripts]# sh hb_start.sh
Starting High-Availability services:
                                                           [  OK  ]

(3) Check status

[EMAIL PROTECTED] scripts]# /usr/sbin/crm_mon -i3
Refresh in 3s...

============
Last updated: Fri Aug 24 15:32:28 2007
Current DC: ianvm-4 (7299b236-da3e-4748-b284-be59b5d09ee7)
2 Nodes configured.
0 Resources configured.
============

Node: ianvm-4 (7299b236-da3e-4748-b284-be59b5d09ee7): online
Node: ianvm-5 (7b2440d8-b23a-4192-b538-a8168a5414c9): online


Logs
====
See
ha-log.IanVM-4
ha-debug.IanVM-4
ha-log.IanVM-5
ha-debug.IanVM-5


-- 
Ian Jiang

Attachment: files.tgz
Description: GNU Zip compressed data

_______________________________________________
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