Buscar

Este contenido no está disponible en el idioma seleccionado.

7.4. Cluster Configuration File for Backup Fence Method

download PDF
Configuring a cluster with Conga modifies the cluster configuration file. This section shows the cluster configuration file before and after the procedures documented in Section 7.3, “Backup Fencing Configuration Procedure” were performed.
Before the cluster resources and service were configured, the cluster.conf file appeared as follows.

<?xml version="1.0"?>
<cluster alias="backupclust" config_version="34" name="backupclust">
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="clusternode1.example.com" nodeid="1" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="clusternode2.example.com" nodeid="2" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="clusternode3.example.com" nodeid="3" votes="1">
                        </fence>
                </clusternode>
        </clusternodes>
        <cman/>
        <fencedevices/>
        <rm>
                <failoverdomains/>
                <resources/>
        </rm>
</cluster>

After the cluster resources and service were configured, the cluster.conf file appears as follows.

<?xml version="1.0"?>
<cluster alias="backupclust" config_version="10" name="backupclust">
    <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
    <clusternodes>
        <clusternode name="clusternode1.example.com" nodeid="1" votes="1">
                <fence>
                     <method name="1">
                          <device name="pwr01" option="off" port="1"/>
                          <device name="pwr02" option="off" port="1"/>
                          <device name="pwr01" option="on" port="1"/>
                          <device name="pwr02" option="on" port="1"/>
                     </method>
                     <method name="2">
                          <device name="ipmifence1"/>
                     </method>
                </fence>
        </clusternode>
        <clusternode name="clusternode2.example.com" nodeid="2" votes="1">
                <fence>
                     <method name="1">
                          <device name="pwr01" option="off" port="2"/>
                          <device name="pwr02" option="off" port="2"/>
                          <device name="pwr01" option="on" port="2"/>
                          <device name="pwr02" option="on" port="2"/>
                     </method>
                     <method name="2">
                          <device name="ipmifence2"/>
                     </method>
                </fence>
        </clusternode>
        <clusternode name="clusternode3.example.com" nodeid="3" votes="1">
                <fence>
                     <method name="1">
                          <device name="pwr01" option="off" port="3"/>
                          <device name="pwr02" option="off" port="3"/>
                          <device name="pwr01" option="on" port="3"/>
                          <device name="pwr02" option="on" port="3"/>
                 </method>
                         <method name="2">
                          <device name="ipmifence3"/>
                     </method>
                </fence>
        </clusternode>
    </clusternodes>
    <cman/>
    <fencedevices>
        <fencedevice agent="fence_apc" ipaddr="10.15.86.96" login="apclogin" name="pwr01" passwd="apcpword"/>
        <fencedevice agent="fence_apc" ipaddr="10.15.86.97" login="apclogin" name="pwr02" passwd="apcpword"/>
        <fencedevice agent="fence_ipmilan" ipaddr="10.15.86.50" login="ipmilogin" name="ipmifence1" passwd="ipmipword"/>
        <fencedevice agent="fence_ipmilan" ipaddr="10.15.86.51" login="ipmilogin" name="ipmifence2" passwd="ipmipword"/>
        <fencedevice agent="fence_ipmilan" ipaddr="10.15.86.52" login="ipmilogin" name="ipmifence3" passwd="ipmipword"/>
    </fencedevices>
    <rm>
            <failoverdomains/>
            <resources/>
    </rm>
</cluster>

Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.