pacemaker create resource systemd & haproxy

6,691

Yes it's all right. If you want to check the standards of pacemaker then you can check with this command "pcs resource standards" this command will show the list of standards which are compatible with pacemaker.

Share:
6,691

Related videos on Youtube

alexus
Author by

alexus

Consulting | alexus.biz Dmitry Chorine | LinkedIn a1exus (a1exus) on Twitter Verify a Red Hat Certified Professional | redhat.com

Updated on September 18, 2022

Comments

  • alexus
    alexus almost 2 years

    My environment:

    # cat /etc/redhat-release 
    Red Hat Enterprise Linux Server release 7.4 (Maipo)
    # 
    # rpm -q pacemaker
    pacemaker-1.1.16-12.el7_4.7.x86_64
    #
    

    I'm trying to create systemd resource, however Pacemaker isn't even showing haproxy in the list:

    # systemctl status haproxy
    ● haproxy.service - HAProxy Load Balancer
       Loaded: loaded (/usr/lib/systemd/system/haproxy.service; disabled; vendor preset: disabled)
       Active: inactive (dead)
    #
    # pcs resource agents systemd | grep haproxy
    # 
    

    however, if I go ahead and create it anyway, resource seems fine:

    # pcs resource create haproxy systemd:haproxy
    # pcs resource show haproxy 
     Resource: haproxy (class=systemd type=haproxy)
      Operations: monitor interval=60 timeout=100 (haproxy-monitor-interval-60)
                  start interval=0s timeout=100 (haproxy-start-interval-0s)
                  stop interval=0s timeout=100 (haproxy-stop-interval-0s)
    # 
    

    Is that normal? or am I doing something wrong?

    Please advise.

    • Admin
      Admin over 6 years
      That looks normal to me.