4.2. Installing the High Availability packages and agents


To configure a Red Hat High Availability cluster on Amazon Web Services (AWS), install the High Availability packages and agents on each node in the cluster.

Prerequisites

Procedure

  1. Remove the AWS Red Hat Update Infrastructure (RHUI) client.

    # dnf -y remove rh-amazon-rhui-client
  2. Register the VM with Red Hat.

    # subscription-manager register
  3. Disable all repositories.

    # subscription-manager repos --disable=
  4. Enable the Red Hat Enterprise Linux (RHEL) 10 Server HA repositories.

    # subscription-manager repos --enable=rhel-10-for-x86_64-highavailability-rpms
  5. Update the RHEL AWS instance.

    # dnf update -y
  6. Install the Red Hat High Availability Add-On software packages, along with the AWS fencing agent from the High Availability channel.

    # dnf install pcs pacemaker fence-agents-aws
  7. The user hacluster was created during the pcs and pacemaker installation in the earlier step. Create a password for hacluster on all cluster nodes. Use the same password for all nodes.

    # passwd hacluster
  8. Add the high availability service to the RHEL Firewall if firewalld.service is installed.

    # firewall-cmd --permanent --add-service=high-availability
    # firewall-cmd --reload
  9. Start the pcs service and enable it to start on boot:

    # systemctl enable --now pcsd.service
  10. Edit /etc/hosts and add RHEL hostnames and internal IP addresses. See How should the /etc/hosts file be configured on RHEL cluster nodes? for details.

Verification

  • Ensure the pcs service is running.

    # systemctl status pcsd.service
    pcsd.service - PCS GUI and remote configuration interface
    Loaded: loaded (/usr/lib/systemd/system/pcsd.service; enabled; vendor preset: disabled)
    Active: active (running) since Thu 2018-03-01 14:53:28 UTC; 28min ago
    Docs: man:pcsd(8)
    man:pcs(8)
    Main PID: 5437 (pcsd)
    CGroup: /system.slice/pcsd.service
         └─5437 /usr/bin/ruby /usr/lib/pcsd/pcsd > /dev/null &
    Mar 01 14:53:27 ip-10-0-0-48.ec2.internal systemd[1]: Starting PCS GUI and remote configuration interface…
    Mar 01 14:53:28 ip-10-0-0-48.ec2.internal systemd[1]: Started PCS GUI and remote configuration interface.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

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

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

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

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동