RHEL 4.8中的群集服务


1

我们在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集群套件管理的任何链接?

Answers:


1

在此之前,RHEL 4.8已经被Redhat声明为EOL。其次,我很幸运最终找到了一些文档https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/4/pdf/Cluster_Administration/Red_Hat_Enterprise_Linux-4-Cluster_Administration-en-US.pdf

这给了我我需要的东西(基本上所有单独的服务需要重新启动而不是只有cman):

  1. 通过按以下顺序在每个节点上运行以下命令,停止两个正在运行的节点上的群集软件:

    a. service rgmanager stop, if the cluster is running high-availability         services
    (rgmanager)
    b. service gfs stop, if you are using Red Hat GFS
    c. service clvmd stop, if CLVM has been used to create clustered volumes
    d. service fenced stop
    e. service cman stop
    f. service ccsd stop
    
  2. 通过按以下顺序运行以下命令,在所有群集节点(包括添加的群集节点)上启动群集软件:

    a. service ccsd start
    b. service cman start
    c. service fenced start
    d. service clvmd start, if CLVM has been used to create clustered         volumes
    e. service gfs start, if you are using Red Hat GFS
    f. service rgmanager start, if the cluster is running high-availability services
    (rgmanager)
    
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.