此内容没有您所选择的语言版本。

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

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.