Michael Paul
2003-09-09 14:33:45 UTC
Hi all
I installed failsafe as described in the README file.
For the node and resource definition I used the following script.
Everything seems to be fine but there are no resources located on my node.
How does the interconnection between the 2 nodes work? I have a ethernet and
a serial connection, but I would prefer the ethernet connection.
something is wrong with the interconnection.
can anyone help me
mipa
###################################################################
[root at testnode1 root]# tail /var/log/failsafe/crsd_testnode1
* * * L o g g i n g R e s t a r t e d * * *
Tue Sep 9 16:15:33.166 <N crsd crs 14744:0 crsd_main.c:200> Crsd restarted.
Tue Sep 9 16:15:34.114 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:03.367 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:04.377 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:05.390 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:34.676 <W crsd crs 14744:0 crsd_pending.c:920>
CI_CRSERR_INVAL, The node specified for a reset request has its controlled
port disabled. Ignoring this request.
Tue Sep 9 16:17:44.901 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
###################################################################
logfile /var/log/failsafe/ifd_testnode1:
* * * L o g g i n g R e s t a r t e d * * *
Tue Sep 9 16:16:00.296 <W ha_ifd ifd 14790:0 ifd_net.c:681> CI_FAILURE, lo
is neither broadcast, point-to-point, nor loopback
Tue Sep 9 16:16:00.296 <I0 ha_ifd ifd 14790:0 ifd_main.c:346> ha_ifd
monitoring network interfaces
Tue Sep 9 16:16:24.397 <E ha_ifd ifd 14790:0 ifd_net.c:605> CI_FAILURE,
interface eth0 is sick: Check cables
Tue Sep 9 16:16:24.398 <I0 ha_ifd ifd 14790:0 ifd_net.c:381> CI_FAILURE,
marking interface eth0 as SICK
Tue Sep 9 16:17:11.697 <I0 ha_ifd ifd 14790:0 ifd_net.c:442> interface eth0
has been restored
Tue Sep 9 16:17:28.747 <E ha_ifd ifd 14790:0 ifd_net.c:605> CI_FAILURE,
interface eth0 is sick: Check cables
Tue Sep 9 16:17:28.748 <I0 ha_ifd ifd 14790:0 ifd_net.c:381> CI_FAILURE,
marking interface eth0 as SICK
Tue Sep 9 16:17:45.207 <I0 ha_ifd ifd 14790:0 ifd_net.c:442> interface eth0
has been restored
###################################################################
[root at testnode1 root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:80:AD:87:16:F7
inet addr:192.168.80.1 Bcast:192.168.80.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21345 errors:0 dropped:0 overruns:0 frame:0
TX packets:21391 errors:3 dropped:0 overruns:0 carrier:2
collisions:0
RX bytes:15367490 (14.6 Mb) TX bytes:15435978 (14.7 Mb)
eth1 Link encap:Ethernet HWaddr 00:04:76:E0:BF:19
inet addr:141.201.80.98 Bcast:141.201.80.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:434180 errors:0 dropped:0 overruns:1 frame:0
TX packets:224889 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:43633918 (41.6 Mb) TX bytes:40029276 (38.1 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:680624 errors:0 dropped:0 overruns:0 frame:0
TX packets:680624 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:64032854 (61.0 Mb) TX bytes:64032854 (61.0 Mb)
###################################################################
define node testnode1
set hostname to testnode1.plus.sbg.ac.at
set nodeid to 1
set sysctrl_type to null
set sysctrl_status to disabled
set sysctrl_password to *******
set sysctrl_owner to testnode2
set sysctrl_device to /dev/ttyS0
set sysctrl_owner_type to tty
add nic 192.168.80.1
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 141.201.80.98
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
define node testnode2
set hostname to testnode2.plus.sbg.ac.at
set nodeid to 2
set sysctrl_type to null
set sysctrl_status to disabled
set sysctrl_password to *****
set sysctrl_owner to testnode1
set sysctrl_device to /dev/ttyS0
set sysctrl_owner_type to tty
add nic 192.168.80.2
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 141.201.80.202
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
define cluster test
set notify_cmd to /usr/bin/mail
set notify_addr to root <at> testnode1.plus.sbg.ac.at root <at>
testnode2.plus.sbg.ac.at
add node testnode1
add node testnode2
done
define failover_policy testnode1-primary
set attribute to Auto_Failback
set attribute to Auto_Recovery
set script to ordered
set domain to testnode1 testnode2
done
define failover_policy testnode2-primary
set attribute to Auto_Failback
set attribute to InPlace_Recovery
set script to ordered
set domain to testnode2 testnode1
done
define resource 141.201.80.99 of resource_type IP_address in cluster test
set NetworkMask to 0xffffff00
set interfaces to eth1
set BroadcastAddress to 141.201.80.255
done
define resource 141.201.80.100 of resource_type IP_address in cluster test
set NetworkMask to 0xffffff00
set interfaces to eth1
set BroadcastAddress to 141.201.80.255
done
define resource_group testnode1-group in cluster test
set failover_policy to testnode1-primary
add resource 141.201.80.100 of resource_type IP_address
done
define resource_group testnode2-group in cluster test
set failover_policy to testnode2-primary
add resource 141.201.80.99 of resource_type IP_address
done
quit
_________________________________________________________________
Michael Paul
University of Salzburg/ZID
Hellbrunnerstrasse34
A-5020 Salzburg, Austria
Tel: +43(0)662 8044 6746/6711
Fax: +43(0)662 8044 173
E-Mail: mipa at unix.sbg.ac.at
I installed failsafe as described in the README file.
For the node and resource definition I used the following script.
Everything seems to be fine but there are no resources located on my node.
How does the interconnection between the 2 nodes work? I have a ethernet and
a serial connection, but I would prefer the ethernet connection.
something is wrong with the interconnection.
can anyone help me
mipa
###################################################################
[root at testnode1 root]# tail /var/log/failsafe/crsd_testnode1
* * * L o g g i n g R e s t a r t e d * * *
Tue Sep 9 16:15:33.166 <N crsd crs 14744:0 crsd_main.c:200> Crsd restarted.
Tue Sep 9 16:15:34.114 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:03.367 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:04.377 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:05.390 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
Tue Sep 9 16:16:34.676 <W crsd crs 14744:0 crsd_pending.c:920>
CI_CRSERR_INVAL, The node specified for a reset request has its controlled
port disabled. Ignoring this request.
Tue Sep 9 16:17:44.901 <W crsd crs 14744:0 crsd_pending.c:490>
CI_CRSERR_INVAL, The node specified for monitoring has its controlled port
disabled. Ignoring this request.
###################################################################
logfile /var/log/failsafe/ifd_testnode1:
* * * L o g g i n g R e s t a r t e d * * *
Tue Sep 9 16:16:00.296 <W ha_ifd ifd 14790:0 ifd_net.c:681> CI_FAILURE, lo
is neither broadcast, point-to-point, nor loopback
Tue Sep 9 16:16:00.296 <I0 ha_ifd ifd 14790:0 ifd_main.c:346> ha_ifd
monitoring network interfaces
Tue Sep 9 16:16:24.397 <E ha_ifd ifd 14790:0 ifd_net.c:605> CI_FAILURE,
interface eth0 is sick: Check cables
Tue Sep 9 16:16:24.398 <I0 ha_ifd ifd 14790:0 ifd_net.c:381> CI_FAILURE,
marking interface eth0 as SICK
Tue Sep 9 16:17:11.697 <I0 ha_ifd ifd 14790:0 ifd_net.c:442> interface eth0
has been restored
Tue Sep 9 16:17:28.747 <E ha_ifd ifd 14790:0 ifd_net.c:605> CI_FAILURE,
interface eth0 is sick: Check cables
Tue Sep 9 16:17:28.748 <I0 ha_ifd ifd 14790:0 ifd_net.c:381> CI_FAILURE,
marking interface eth0 as SICK
Tue Sep 9 16:17:45.207 <I0 ha_ifd ifd 14790:0 ifd_net.c:442> interface eth0
has been restored
###################################################################
[root at testnode1 root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:80:AD:87:16:F7
inet addr:192.168.80.1 Bcast:192.168.80.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21345 errors:0 dropped:0 overruns:0 frame:0
TX packets:21391 errors:3 dropped:0 overruns:0 carrier:2
collisions:0
RX bytes:15367490 (14.6 Mb) TX bytes:15435978 (14.7 Mb)
eth1 Link encap:Ethernet HWaddr 00:04:76:E0:BF:19
inet addr:141.201.80.98 Bcast:141.201.80.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:434180 errors:0 dropped:0 overruns:1 frame:0
TX packets:224889 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:43633918 (41.6 Mb) TX bytes:40029276 (38.1 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:680624 errors:0 dropped:0 overruns:0 frame:0
TX packets:680624 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:64032854 (61.0 Mb) TX bytes:64032854 (61.0 Mb)
###################################################################
define node testnode1
set hostname to testnode1.plus.sbg.ac.at
set nodeid to 1
set sysctrl_type to null
set sysctrl_status to disabled
set sysctrl_password to *******
set sysctrl_owner to testnode2
set sysctrl_device to /dev/ttyS0
set sysctrl_owner_type to tty
add nic 192.168.80.1
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 141.201.80.98
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
define node testnode2
set hostname to testnode2.plus.sbg.ac.at
set nodeid to 2
set sysctrl_type to null
set sysctrl_status to disabled
set sysctrl_password to *****
set sysctrl_owner to testnode1
set sysctrl_device to /dev/ttyS0
set sysctrl_owner_type to tty
add nic 192.168.80.2
set heartbeat to true
set ctrl_msgs to true
set priority to 1
done
add nic 141.201.80.202
set heartbeat to true
set ctrl_msgs to true
set priority to 2
done
done
define cluster test
set notify_cmd to /usr/bin/mail
set notify_addr to root <at> testnode1.plus.sbg.ac.at root <at>
testnode2.plus.sbg.ac.at
add node testnode1
add node testnode2
done
define failover_policy testnode1-primary
set attribute to Auto_Failback
set attribute to Auto_Recovery
set script to ordered
set domain to testnode1 testnode2
done
define failover_policy testnode2-primary
set attribute to Auto_Failback
set attribute to InPlace_Recovery
set script to ordered
set domain to testnode2 testnode1
done
define resource 141.201.80.99 of resource_type IP_address in cluster test
set NetworkMask to 0xffffff00
set interfaces to eth1
set BroadcastAddress to 141.201.80.255
done
define resource 141.201.80.100 of resource_type IP_address in cluster test
set NetworkMask to 0xffffff00
set interfaces to eth1
set BroadcastAddress to 141.201.80.255
done
define resource_group testnode1-group in cluster test
set failover_policy to testnode1-primary
add resource 141.201.80.100 of resource_type IP_address
done
define resource_group testnode2-group in cluster test
set failover_policy to testnode2-primary
add resource 141.201.80.99 of resource_type IP_address
done
quit
_________________________________________________________________
Michael Paul
University of Salzburg/ZID
Hellbrunnerstrasse34
A-5020 Salzburg, Austria
Tel: +43(0)662 8044 6746/6711
Fax: +43(0)662 8044 173
E-Mail: mipa at unix.sbg.ac.at