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

Re: [Linux-cluster] fencing error?



Tu problema es que estas cruzando la ILO, cada ILO debe ser el fence de cada maquina..

Algo asi.

Cluster.conf..
########################################################################
<?xml version="1.0"?>
<cluster alias="ExampleCLST" config_version="2" name="EXM">
        <fence_daemon post_fail_delay="10" post_join_delay="15"/>
        <clusternodes>
                <clusternode name="node1" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="node1_ilo"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="node2" nodeid="2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="node2_ilo"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices>
                <fencedevice agent="fence_ilo" hostname="192.168.1.80" login="rhcs" name="node1_ilo" passwd="rhcs_example"/>
                <fencedevice agent="fence_ilo" hostname="192.168.1.81" login="rhcs" name="node2_ilo" passwd="rhcs_example"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="interactivo-2" ordered="0" restricted="0">
                                <failoverdomainnode name="node1" priority="1"/>
                                <failoverdomainnode name="node2" priority="1"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="192.168.1.85" monitor_link="1"/>
                        <ip address="192.168.1.86" monitor_link="1"/>
                </resources>
                <service autostart="1" name="Apache" recovery="restart">
                        <script file="/etc/init.d/httpd" name="Apache"/>
                        <script file="/etc/init.d/mysqld" name="Mysql"/>
                        <ip ref="192.168.1.85"/>
                </service>
                <service autostart="1" name="FTP" recovery="restart">
                        <script file="/etc/init.d/vsftpd" name="FTP">
                                <ip ref="192.168.1.86"/>
                        </script>
                </service>
        </rm>
</cluster>
##########################################################################


Saludos.

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