9.4.2. Restarting the Red Hat Ceph Storage 5 Alertmanager service


After migrating from ceph-ansible to cephadm, you can restart the Alertmanager service before continuing with the process. Restarting the Alertmanager service requires restarting the HAProxy service as well.

주의

Restarting the HAProxy service introduces downtime to the Red Hat OpenStack Platform control plane. The downtime lasts as long as is required for the HAProxy service to restart.

Procedure

  1. Log in to the OpenStack Controller node.

    참고

    Confirm that you are logged into a node that is hosting the Ceph Manager service. In default deployments, this is the OpenStack Controller node. You must be logged into a Controller node that is running the Ceph Manager service.

  2. View the current Alertmanager specification file:

    $ sudo cephadm shell -- ceph orch ls --export alertmanager
  3. Create a specification file for the Alertmanager service based on the output from the previous step.

    The following is an example of a specification file:

    service_type: alertmanager
    service_name: alertmanager
    placement:
      count: 3
      label: monitoring
    networks:
    - 10.10.10.0/24
    - 10.10.11.0/24
    참고

    The IP addresses in the networks list should correspond with the Storage/Ceph public networks in your environment.

  4. Save the specification file as /root/alertmanager.spec.
  5. Stop the HAProxy service:

    # pcs resource disable haproxy-bundle
  6. Stop the Alertmanager service:

    # cephadm shell -k /etc/ceph/<stack>.client.admin.keyring -- ceph orch rm alertmanager
    • Replace <stack> with the name of your stack.
  7. Start the Alertmanager service:

    # cephadm shell -k /etc/ceph/<stack>.client.admin.keyring -m /root/alertmanager.spec -- ceph orch apply -i /mnt/alertmanager.spec
    • Replace <stack> with the name of your stack.
  8. Start the HAProxy service:

    # pcs resource enable haproxy-bundle
참고

Perform this procedure again if the Alertmanager service does not restart, adding a port definition to the specification file. The following is the previous specification file example with a port definition added:

service_type: alertmanager
service_name: alertmanager
placement:
  count: 3
  label: monitoring
networks:
- 10.10.10.0/24
- 10.10.11.0/24
spec:
  port: 4200 
1
1
Custom port definition. Use a port that corresponds to your deployment environment.
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

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

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

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

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동