我的环境:
# 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
#
我正在尝试创造systemd资源,但是 Pacemaker 甚至没有显示haproxy
在列表中:
# 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
#
但是,如果我继续创建它,资源似乎很好:
# 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)
#
这是正常的吗?还是我做错了什么?
请指教。
答案1
是的,没问题。如果您想检查起搏器的标准,那么您可以使用此命令“pcs resourcestandards”进行检查,此命令将显示与起搏器兼容的标准列表。