[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Has anyone succeeded in using WTI RPS-10?



On Monday 22 January 2007 11:10, Fajar Priyanto wrote:
> Hi all,
> We are setting up 2-note cluster with RHEL4U3 with RHCS-1.0.25 using WTI
> Remote Power Switch as fence device. We are aware that the device is rather
> obsolete, but in the mean time that's all we have.

Ok, we have been experimenting still.
When we rebooted node1, the ftp service we configure is failed over to node2 
successfully, and when node1 back on, the service is relocated to node1 
again.

However, when we unplugged eth0 from node1, the failed over failed, with 
this /var/log/messages:

In node1:
kernel eth0: link down
kernel CMAN removing node ftp2.test.com from the cluster: MIssed too many 
heartbeats
fenced : ftp2.test.com not a cluster member after 0 sec post_fail_delay
fenced : fencing node "ftp2.test.com" 
fenced : agent "fence_rps10" reports: Rebooting port 1 ... failed
fenced : agent "fence_rps10" reports: wait_for : Connection timed out

In node2:
CMAN : removing node ftp1.test.com from the cluster: Missed too many 
heartbeats
fenced: ftp1.test.com not a cluster member after 0 sec post_fail_delay
fenced : fencing node "ftp1.test.com" 
fenced : agent "fence_rps10" reports: wait_for : Connection timed out

This is my cluster.conf:
<?xml version="1.0"?>
<cluster config_version="38" name="ftpcluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="ftp1.test.com" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="RPS-10M"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="ftp2.test.com" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="RPS-10S"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <fencedevices>
                <fencedevice agent="fence_rps10" device="/dev/ttyS0" 
name="RPS-10M" option="reboot" port="0" speed="9600"/>
                <fencedevice agent="fence_rps10" device="/dev/ttyS0" 
name="RPS-10S" option="reboot" port="1" speed="9600"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="ftpdom" ordered="1" 
restricted="1">
                                <failoverdomainnode name="ftp1.test.com" 
priority="1"/>
                                <failoverdomainnode name="ftp2.test.com" 
priority="2"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="192.168.1.201" monitor_link="0"/>
                        <script file="/etc/init.d/vsftpd" name="vsftpd"/>
                </resources>
                <service autostart="1" domain="ftpdom" name="ftp" 
recovery="relocate">
                        <ip ref="192.168.1.201">
                                <script ref="vsftpd"/>
                        </ip>
                </service>
        </rm>
        <cman expected_votes="1" two_node="1"/>
</cluster>

Thank you very much for any clues and helps.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
10:05pm up 2:06, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

Attachment: pgpnbwS5gXzIa.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]