이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Appendix G. Upgrading A Red Hat Cluster from RHEL 4 to RHEL 5


This appendix provides a procedure for upgrading a Red Hat cluster from RHEL 4 to RHEL 5. The procedure includes changes required for Red Hat GFS and CLVM, also. For more information about Red Hat GFS, refer to Global File System: Configuration and Administration. For more information about LVM for clusters, refer to LVM Administrator's Guide: Configuration and Administration.
Upgrading a Red Hat Cluster from RHEL 4 to RHEL 5 consists of stopping the cluster, converting the configuration from a GULM cluster to a CMAN cluster (only for clusters configured with the GULM cluster manager/lock manager), adding node IDs, and updating RHEL and cluster software. To upgrade a Red Hat Cluster from RHEL 4 to RHEL 5, follow these steps:
  1. Stop client access to cluster high-availability services.
  2. At each cluster node, stop the cluster software as follows:
    1. Stop all high-availability services.
    2. Run service rgmanager stop.
    3. Run service gfs stop, if you are using Red Hat GFS.
    4. Run service clvmd stop, if CLVM has been used to create clustered volumes.

      Note

      If clvmd is already stopped, an error message is displayed:
      # service clvmd stop
      Stopping clvm:                                             [FAILED]
      
      The error message is the expected result when running service clvmd stop after clvmd has stopped.
    5. Depending on the type of cluster manager (either CMAN or GULM), run the following command or commands:
      • CMAN — Run service fenced stop; service cman stop.
      • GULM — Run service lock_gulmd stop.
    6. Run service ccsd stop.
  3. Disable cluster software from starting during reboot. At each node, run /sbin/chkconfig as follows:
    # chkconfig --level 2345 rgmanager off
    # chkconfig --level 2345 gfs off
    # chkconfig --level 2345 clvmd off
    # chkconfig --level 2345 fenced off
    # chkconfig --level 2345 cman off
    # chkconfig --level 2345 ccsd off
  4. Edit the cluster configuration file as follows:
    1. At a cluster node, open /etc/cluster/cluster.conf with a text editor.
    2. If your cluster is configured with GULM as the cluster manager, remove the GULM XML elements — <gulm> and </gulm> — and their content from /etc/cluster/cluster.conf. GULM is not supported in Red Hat Cluster Suite for RHEL 5. Example G.1, “GULM XML Elements and Content” shows an example of GULM XML elements and content.
    3. At the <clusternode> element for each node in the configuration file, insert nodeid="number" after name="name". Use a number value unique to that node. Inserting it there follows the format convention of the <clusternode> element in a RHEL 5 cluster configuration file.

      Note

      The nodeid parameter is required in Red Hat Cluster Suite for RHEL 5. The parameter is optional in Red Hat Cluster Suite for RHEL 4. If your configuration file already contains nodeid parameters, skip this step.
    4. When you have completed editing /etc/cluster/cluster.conf, save the file and copy it to the other nodes in the cluster (for example, using the scp command).
  5. If your cluster is a GULM cluster and uses Red Hat GFS, change the superblock of each GFS file system to use the DLM locking protocol. Use the gfs_tool command with the sb and proto options, specifying lock_dlm for the DLM locking protocol:
    gfs_tool sb device proto lock_dlm
    For example:
    # gfs_tool sb /dev/my_vg/gfs1 proto lock_dlm
    You shouldn't change any of these values if the filesystem is mounted.
    
    Are you sure? [y/n] y
    
    current lock protocol name = "lock_gulm"
    new lock protocol name = "lock_dlm"
    Done
    
  6. Update the software in the cluster nodes to RHEL 5 and Red Hat Cluster Suite for RHEL 5. You can acquire and update software through Red Hat Network channels for RHEL 5 and Red Hat Cluster Suite for RHEL 5.
  7. Run lvmconf --enable-cluster.
  8. Enable cluster software to start upon reboot. At each node run /sbin/chkconfig as follows:
    # chkconfig --level 2345 rgmanager on
    # chkconfig --level 2345 gfs on
    # chkconfig --level 2345 clvmd on
    # chkconfig --level 2345 cman on
    
    
  9. Reboot the nodes. The RHEL 5 cluster software should start while the nodes reboot. Upon verification that the Red Hat cluster is running, the upgrade is complete.

Example G.1. GULM XML Elements and Content

<gulm>
  <lockserver name="gulmserver1"/>
  <lockserver name="gulmserver2"/>
  <lockserver name="gulmserver3"/>
</gulm>


Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.