我们在RHEL 4 Update 8上运行了两个服务器,使用Cluster套件运行公共服务。目前由于一些限制,我们没有计划升级操作系统。但是我们在服务器上有一些维护活动,我们需要在这两个节点上停止并启动集群服务。有助于了解要重启的服务。在RHEL 5及以上版本中,我们通常只需重启“cman”和“rgmanager”即可完成任务。但对RHEL4.8不确定。亲切的帮助。这是我们在节点上的集群配置:
<?xml version="1.0"?>
<cluster alias="Airguard_stc" config_version="1" name="Airguard_stc">
<fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
<clusternodes>
<clusternode name="eir1-c" votes="1" nodeid="1">
<fence>
<method name="1">
<device name="eir1-ilo"/>
</method>
</fence>
</clusternode>
<clusternode name="eir2-c" votes="1" nodeid="2">
<fence>
<method name="1">
<device name="eir2-ilo"/>
</method>
</fence>
</clusternode>
</clusternodes>
<cman expected_votes="1" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_ilo" hostname="eir1-ilo" login="aws_ilo" name="eir1-ilo" passwd="airguard"/>
<fencedevice agent="fence_ilo" hostname="eir2-ilo" login="aws_ilo" name="eir2-ilo" passwd="airguard"/>
</fencedevices>
<rm>
<failoverdomains>
<failoverdomain name="EIR" ordered="0" restricted="0">
<failoverdomainnode name="eir1-c" priority="1"/>
<failoverdomainnode name="eir2-c" priority="1"/>
</failoverdomain>
</failoverdomains>
<resources>
<ip address="172.24.159.44" monitor_link="1"/>
<ip address="172.24.159.45" monitor_link="1"/>
<fs device="/dev/mapper/mpath0p3" force_fsck="0" force_unmount="1" fsid="27623" fstype="ext3" mountpoint="/cache_app" name="cache_app" options="" self_fence="0"/>
<fs device="/dev/mapper/mpath0p5" force_fsck="0" force_unmount="1" fsid="34677" fstype="ext3" mountpoint="/postgres" name="postgres" options="" self_fence="0"/>
<script file="/etc/init.d/cache_cacheha" name="cacheha"/>
<script file="/etc/init.d/postgresha" name="postgres-script"/>
</resources>
<service autostart="1" domain="EIR" name="cache" recovery="relocate">
<ip ref="172.24.159.44"/>
<fs ref="cache_app"/>
<script ref="cacheha"/>
</service>
<service autostart="1" domain="EIR" name="postgres" recovery="relocate">
<ip ref="172.24.159.45"/>
<fs ref="postgres"/>
<script ref="postgres-script"/>
</service>
</rm>
</cluster>
您能否为我提供RHEL4.8集群套件管理的任何链接?