Appendix A. Sample cluster.conf File

This appendix provides a sample cluster.conf file for a two node cold failover configuration with power fencing via an APC power strip.

<?xml version="1.0"?>
<cluster config_version="1" name="HA585">
     <fence_daemon clean_start="1" post_fail_delay="0" post_join_delay="3"/>
     <quorumd interval="2" device="/dev/mapper/qdisk" tko="8" votes="1" log_level="7"/>
     <cman expected_votes="3" two_node="0"/>
     <totem token="33000"/>
     <fencedevices>
          <fencedevice agent="fence_apc" ipaddr="192.168.91.59" login="adminl" name="apc" passwd="password"/>
     </fencedevices>
     <clusternodes>
          <clusternode name="ora11-priv" nodeid="1" votes="1">
               <fence>
                    <method name="1">
                     <device name="apc" option="off" switch="1" port="2"/>
                     </method>
               </fence>
          </clusternode>
          <clusternode name="ora12-priv" nodeid="2" votes="1">
               <fence>
                    <method name="1">
                         <device name="apc" option="off" switch="1" port="5"/>
                    </method>
               </fence>
          </clusternode>
     </clusternodes>
     <rm log_level="7">
          <service domain="OracleHA" autostart="1" exclusive="1" name="oracle11g" recovery="relocate">
               <ip address="10.10.8.200"/>
               <fs device="/dev/mapper/diskdp1" force_unmount="1" fstype="ext3" mountpoint="/diskd" name="diskd"/>
               <oracledb home="/diskd/ora11gR1/db_1" name="oracledb" type="11g" user="oracle" vhost="10.10.8.200"/>
          </service>
     </rm>
</cluster>

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.