{"id":28787,"date":"2022-11-05T07:00:05","date_gmt":"2023-11-25T18:12:53","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/"},"modified":"2025-08-12T10:06:12","modified_gmt":"2025-08-12T02:06:12","slug":"%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/","title":{"rendered":"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316"},"content":{"rendered":"<h1>\u7b80\u8ff0\u4f7f\u7528Pacemaker\u548cCorosync\u6210\u529f\u5730\u5b9e\u73b0\u4e86Zabbix\u670d\u52a1\u5668\u7684\u5197\u4f59\u5907\u4efd\u3002<br \/>\n\u5728\u6211\u521a\u6210\u4e3a\u5de5\u7a0b\u5e08\u7684\u65f6\u5019\uff0c\u66fe\u7ecf\u5c1d\u8bd5\u8fc7\u4e00\u6b21\u5931\u8d25\u4e86\uff0c\u540e\u6765\u653e\u5f03\u4e86\uff0c\u4f46\u662f\u8fd9\u6b21\u6210\u529f\u4e86\uff0c\u6240\u4ee5\u6211\u5199\u4e0b\u4e86\u5907\u5fd8\u5f55\u3002<br \/>\n\u73b0\u5728\u5f88\u5c11\u89c1\u5230\u4f7f\u7528Pacemaker\u7684\u9879\u76ee\uff0c\u800c\u4e14\u6211\u89c9\u5f97\u4ee5\u540e\u4e5f\u4e0d\u4f1a\u518d\u9047\u5230\u4e86\u3002<br \/>\n\u8fd9\u5b8c\u5168\u662f\u51fa\u4e8e\u5174\u8da3\u800c\u505a\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>\u25bc Pacemaker\r\nHA\u30af\u30e9\u30b9\u30bf\u69cb\u6210\u3092\u5f62\u6210\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u5236\u5fa1(\u30ce\u30fc\u30c9\u5207\u308a\u96e2\u3057\uff0b\u5f85\u6a5f\u7cfb\u30ce\u30fc\u30c9\u3078\u306e\u30ea\u30bd\u30fc\u30b9\u5f15\u7d99\u304e)\u3092\u884c\u3046OSS\u3002\r\n\u25bc Corosync\r\nHA\u30af\u30e9\u30b9\u30bf\u69cb\u6210\u306b\u304a\u3044\u3066\u3001\u5404\u30ce\u30fc\u30c9\u306e\u6b7b\u6d3b\u76e3\u8996\u3092\u884c\u3046OSS\u3002\r\n\u25bc Zabbix\r\n\u7d71\u5408\u76e3\u8996\u3092\u884c\u3046OSS\u3002\r\n<\/code><\/pre>\n<h1>2. \u524d\u63d0Note: The original statement &#8220;\u524d\u63d0&#8221; does not have enough context to be paraphrased further in Chinese. It simply means &#8220;premise&#8221; or &#8220;prerequisite.&#8221;<\/p>\n<h2>2-1. \u903b\u8f91\u6784\u5efa<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/5-1.png\" alt=\"2.png\" \/><\/p>\n<h2>2-2. \u524d\u63d0\u6761\u4ef6\u524d\u63d0\u662f\u4e00\u4e2a\u5fc5\u8981\u6761\u4ef6\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u7528\u4e2d\u6587\u8fdb\u884c\u7684\u91cd\u8ff0\uff1a<\/p>\n<p>\u30fb\u6709\u4e24\u4e2a\u8282\u70b9\uff0c\u8282\u70b9\u4e0a\u5b89\u88c5\u4e86CentOS 7\uff0c\u5e76\u4e14\u5728VMware Workstation\u4e0a\u914d\u7f6e\u3002<br \/>\n\u30fb\u6bcf\u4e2a\u8282\u70b9\u90fd\u6709\u4e00\u4e2aNIC\u3002<br \/>\n\u30fbZabbix\u662f\u4ee5Active-Standby\u7684\u65b9\u5f0f\u8fdb\u884c\u914d\u7f6e\u7684\u3002<br \/>\n\u30fbMariaDB\u662f\u4ee5Master-Slave\u7684\u65b9\u5f0f\u8fdb\u884c\u914d\u7f6e\u7684\u3002<br \/>\n\u30fb\u4f7f\u7528\u865a\u62dfIP\u8fdb\u884c\u5207\u6362\u3002<br \/>\n\u30fb\u9632\u706b\u5899\u548cSELinux\u5747\u5df2\u505c\u7528\u3002<\/p>\n<h1>3. \u521d\u59cb\u8bbe\u5b9a\u5047\u8bbe\u865a\u62df\u673a\u548c\u64cd\u4f5c\u7cfb\u7edf\u7684\u521d\u59cb\u914d\u7f6e\u5df2\u5b8c\u6210\u3002<br \/>\n\u6211\u4eec\u5c06\u5728hosts\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4e3b\u673a\u540d\u3002<br \/>\n\u3010\u5728SV01\/SV02\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/hosts\r\n----------------------------------------------------------------\r\n127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4\r\n::1         localhost localhost.localdomain localhost6 localhost6.localdomain6\r\n\r\n192.168.11.13 SV01  #\u30ce\u30fc\u30c91\u306e\u30db\u30b9\u30c8\u540d\r\n192.168.11.14 SV02\u3000#\u30ce\u30fc\u30c92\u306e\u30db\u30b9\u30c8\u540d\r\n<\/code><\/pre>\n<p>\u5728SV01\/SV02\u4e0a\u5b89\u88c5Pacemaker\u3001Corosync\u548cpcs\u3002<br \/>\n\u6b64\u5916\uff0c\u8fd8\u8981\u542f\u52a8pcs\u670d\u52a1\u5e76\u8bbe\u7f6e\u4e3a\u81ea\u52a8\u542f\u52a8\u3002<\/p>\n<pre class=\"post-pre\"><code># yum -y install pacemaker corosync pcs\r\n# systemctl start pcsd\r\n# systemctl enable pcsd\r\n<\/code><\/pre>\n<p>\u66f4\u6539\u7528\u4e8e\u96c6\u7fa4\u8ba4\u8bc1\u7684\u7528\u6237\u5bc6\u7801\u3002<br \/>\nhacluster\u662f\u5728\u5b89\u88c5Corosync\u65f6\u81ea\u52a8\u6dfb\u52a0\u7684\u7528\u6237\u3002<br \/>\n\u3010\u5728SV01\/SV02\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># passwd hacluster\r\n\u30e6\u30fc\u30b6\u30fc hacluster \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3002\r\n\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9: [\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]\r\n\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u518d\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044: [\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]\r\npasswd: \u3059\u3079\u3066\u306e\u8a8d\u8a3c\u30c8\u30fc\u30af\u30f3\u304c\u6b63\u3057\u304f\u66f4\u65b0\u3067\u304d\u307e\u3057\u305f\u3002\r\n<\/code><\/pre>\n<h1>4. Zabbix\u7684\u5b89\u88c5\u8bbe\u7f6e\u3010\u5728SV01\/SV02\u4e0a\u6267\u884c\u3011<br \/>\n\u6211\u4eec\u5047\u8bbeZabbix\u7684\u521d\u59cb\u5efa\u8bbe\u5df2\u7ecf\u5b8c\u6210\uff0c\u53ef\u4ee5\u663e\u793a\u767b\u5f55\u754c\u9762\u3002<br \/>\n\u203b \u7248\u672c\u4e3aZabbix 4.0\uff0c\u6570\u636e\u5e93\u4e3amariaDB\u3002<\/p>\n<h1>5. \u9488\u5bf9MariaDB\u590d\u5236\u8bbe\u7f6e\u7684\u6570\u636e\u5e93\u7528\u6237\u914d\u7f6e\u5728SV01\/SV02\u4e0a\u521b\u5efa\u7528\u4e8eMariaDB\u590d\u5236\u7684\u7528\u6237\u3002<\/p>\n<pre class=\"post-pre\"><code># systemctl start mariadb\r\n# mysql -uroot\r\n&gt; create user 'repl'@'%' identified by '[\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]';\r\n&gt; create user 'repl'@'localhost' identified by '[\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]';\r\n&gt; grant replication slave on *.* to 'repl'@'%';\r\n&gt; grant process, super, replication slave, replication client, reload on *.* to 'repl'@'localhost';\r\n&gt; flush privileges;\r\n&gt; quit;\r\n<\/code><\/pre>\n<p>\u5728SV01\u4e0a\u8fdb\u884cMariaDB\u7684\u590d\u5236\u529f\u80fd\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/my.cnf\r\n----------------------------------------------------------------\r\n[mysqld]\r\nlog-bin=mariadb-bin\u3000#\u8ffd\u8a18\r\nserver-id=1\u3000#\u8ffd\u8a18\r\nlog-basename=SV01\u3000#\u8ffd\u8a18\r\n<\/code><\/pre>\n<p>\u3010\u5728SV02\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/my.cnf\r\n----------------------------------------------------------------\r\n[mysqld]\r\nlog-bin=mariadb-bin\u3000#\u8ffd\u8a18\r\nserver-id=2\u3000#\u8ffd\u8a18\r\nlog-basename=SV02\u3000#\u8ffd\u8a18\r\n<\/code><\/pre>\n<p>\u5728\u4e2d\u6587\u4e2d\uff0c\u53ea\u9700\u63d0\u4f9b\u4e00\u79cd\u9009\u9879\uff1a<br \/>\n\u5c06Master\uff08SV01\uff09\u7684\u6570\u636e\u5e93\u6570\u636e\u8fc1\u79fb\u5230Slave\uff08SV02\uff09\u3002<br \/>\n\u9996\u5148\uff0c\u9700\u8981\u5148\u5220\u9664Slave\uff08SV02\uff09\u4e2d\u7684\u6570\u636e\u5e93\u6570\u636e\u3002<br \/>\n\u3010\u5728SV02\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># systemctl stop mariadb\r\n# rm -rf \/var\/lib\/mysql\r\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u4f7f\u7528SSH\u8fde\u63a5\u5c06Master\uff08SV01\uff09\u7684\u6570\u636e\u5e93\u6570\u636e\u4f20\u8f93\u5230Slave\uff08SV02\uff09\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u8fdb\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># systemctl stop mariadb\r\n# tar cf - -C \/var\/lib mysql | ssh 192.168.11.14 tar xpf - -C \/var\/lib\r\nAre you sure you want to continue connectiong (yes\/no)? yes\r\nroot@192.168.11.14's password:[SV02\u306eroot\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]\r\n<\/code><\/pre>\n<h1>6. \u96c6\u7fa4\u7684\u8bbe\u7f6e<\/p>\n<h2>6-1. \u670d\u52a1\u505c\u6b62\u4e0e\u81ea\u52a8\u542f\u52a8\u7981\u7528\u5728\u8bbe\u7f6e\u7fa4\u96c6\u4e4b\u524d\uff0c\u8bf7\u505c\u6b62\u5e76\u7981\u7528\u8981\u6dfb\u52a0\u4e3a\u8d44\u6e90\u7684\u670d\u52a1\uff0c\u3010\u5728SV01\/SV02\u4e0a\u6267\u884c\u3011\u3002<\/p>\n<pre class=\"post-pre\"><code># systemctl stop zabbix-server\r\n# systemctl stop mariadb\r\n# systemctl stop httpd\r\n# systemctl disable zabbix-server\r\n# systemctl disable mariadb\r\n# systemctl disable httpd\r\n<\/code><\/pre>\n<h2>6-2. \u4e3b\u673a\u8ba4\u8bc1\u5728\u96c6\u7fa4\u4e2d\u5bf9\u6bcf\u4e2a\u4e3b\u673a\u8fdb\u884c\u8ba4\u8bc1\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs cluster auth SV01 SV02\r\nUsername: hacluster\r\nPassword: [hacluster\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]\r\nSV01: Authorized\r\nSV02: Authorized\r\n<\/code><\/pre>\n<h2>6-3. \u521b\u5efa\u96c6\u7fa4\u5728SV01\u4e0a\u521b\u5efaZabbix\u96c6\u7fa4\u3002&#8221;zabbix_cluster&#8221;\u4e4b\u5904\u662f\u53ef\u9009\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code># pcs cluster setup --name zabbix_cluster SV01 SV02\r\n<\/code><\/pre>\n<p>\u542f\u52a8\u96c6\u7fa4\u5e76\u8bbe\u7f6e\u81ea\u52a8\u542f\u52a8\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs cluster start --all\r\n# pcs cluster enable --all\r\n<\/code><\/pre>\n<h2>6-4. \u8bbe\u7f6e\u7fa4\u96c6\u7684\u5c5e\u6027\u914d\u7f6e\u7981\u7528STONITH\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs property set stonith-enabled=false\r\n<\/code><\/pre>\n<p>\u66f4\u6539\u59d4\u5458\u4f1a\u7684\u8fd0\u4f5c\u65b9\u5f0f\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs property set no-quorum-policy=ignore\r\n<\/code><\/pre>\n<p>\u5728SV01\u4e2d\u7981\u7528\u81ea\u52a8\u56de\u9000\u529f\u80fd\u3002\uff08\u5ffd\u7565\u8b66\u544a\uff09<\/p>\n<pre class=\"post-pre\"><code># pcs resource defaults resource-stickiness=INFINITY\r\nWarning: Defaults do not apply to resources which override them with their own defined values\r\n<\/code><\/pre>\n<p>\u5728\u9519\u8bef\u53d1\u751f\u65f6\uff0c\u7acb\u5373\u8fdb\u884c\u6545\u969c\u8f6c\u79fb\uff08\u5ffd\u7565\u8b66\u544a\uff09\u3002\u3010\u5728SV01\u8fdb\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs resource defaults migration-threshold=1\r\nWarning: Defaults do not apply to resources which override them with their own defined values\r\n<\/code><\/pre>\n<h1>7.\u8d44\u6e90\u914d\u7f6e<\/p>\n<h2>7-1. SV02\u7684\u5f85\u673a\u8f6c\u6362\u5c06SV02\u7684\u96c6\u7fa4\u8282\u70b9\u72b6\u6001\u5f3a\u5236\u8bbe\u7f6e\u4e3aStandby\u72b6\u6001\u3002\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs cluster standby SV02\r\n<\/code><\/pre>\n<h2>7-2. MariaDB -&gt; 7-2. MariaDB<br \/>\n\u5728SV01\u4e0a\u6267\u884c\u6dfb\u52a0MariaDB\u8d44\u6e90\u7684\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code># pcs resource create mariadb \\\r\n&gt; ocf:heartbeat:mysql \\\r\n&gt; binary=\/usr\/bin\/mysqld_safe \\\r\n&gt; datadir=\/var\/lib\/mysql \\\r\n&gt; log=\/var\/log\/mariadb\/mariadb.log \\\r\n&gt; pid=\/run\/mariadb\/mariadb.pid \\\r\n&gt; replication_user=repl \\\r\n&gt; replication_passwd=[repl\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9]  \\\r\n&gt; op monitor interval=10s timeout=10s\r\n<\/code><\/pre>\n<p>\u5728SV01\u4e0a\uff0c\u4f7f\u7528\u4e3b\u4ece\u6a21\u5f0f\u914d\u7f6e\u589e\u52a0\u7684MariaDB\u8d44\u6e90\u3002<\/p>\n<pre class=\"post-pre\"><code># pcs resource master mariadb-clone mariadb \\\r\n&gt; master-max=1 master-node-max=1 clone-max=2 clone-node-max=1 notify=true\r\n<\/code><\/pre>\n<p>\u6211\u5011\u5c07\u5148\u512a\u5148\u555f\u52d5SV01\u4f5c\u70ba\u4e3b\u6a5f\u3002<br \/>\n\u6839\u64da\u5206\u6578\u503c\u9ad8\u4f4e\uff0c\u512a\u5148\u7d1a\u555f\u52d5\u3002<br \/>\n-INFINITY&lt;-100&lt;0&lt;100&lt;INFINITY<br \/>\n\u3010\u5728SV01\u4e0a\u9032\u884c\u64cd\u4f5c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs constraint location mariadb-clone prefers SV01=100\r\n<\/code><\/pre>\n<h2>7-3. Zabbix\u670d\u52a1\u5668\u5c06Zabbix\u670d\u52a1\u5668\u6dfb\u52a0\u5230\u8d44\u6e90\u4e2d\u3002<br \/>\n\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs resource create zabbix-server \\\r\n&gt; systemd:zabbix-server \\\r\n&gt; op monitor interval=10s timeout=10s\r\n<\/code><\/pre>\n<h2>7.4. \u963f\u5e15\u5947\u5728SV01\/SV02\u4e0a\u521b\u5efaApache\u7684status.conf\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/httpd\/conf.d\/status.conf\r\n----------------------------------------------------------------\r\nExtendedStatus On\r\n\r\n&lt;Location \/server-status&gt;\r\n    SetHandler server-status\r\n    Require local\r\n&lt;\/Location&gt;\r\n<\/code><\/pre>\n<p>\u5728SV01\u4e0a\uff0c\u5c06Apache\u6dfb\u52a0\u4e3a\u8d44\u6e90\u3002<\/p>\n<pre class=\"post-pre\"><code># pcs resource create apache \\\r\n&gt; ocf:heartbeat:apache \\\r\n&gt; configfile=\/etc\/httpd\/conf\/httpd.conf \\\r\n&gt; statusurl=\"http:\/\/localhost\/server-status\" \\\r\n&gt; op monitor interval=10s timeout=10s\r\n<\/code><\/pre>\n<h2>7-5. \u865a\u62dfIP\u5728\u8d44\u6e90\u4e2d\u6dfb\u52a0\u865a\u62dfIP\u3002<br \/>\n\u3010\u5728SV01\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs resource create vip \\\r\n&gt; ocf:heartbeat:IPaddr2 \\\r\n&gt; ip=192.168.11.200 \\\r\n&gt; cidr_netmask=24 \\\r\n&gt; nic=eno16777736 \\\r\n&gt; op monitor interval=10s timeout=10s\r\n<\/code><\/pre>\n<h2>7-6. \u8bbe\u7f6e\u542f\u52a8\u6761\u4ef6\u9996\u5148\uff0c\u5c06\u8d44\u6e90\u5206\u7ec4\u4ee5\u4fbf\u66f4\u5bb9\u6613\u8fdb\u884c\u8bbe\u7f6e\u3002\u3010\u5728SV01\u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs resource group add zabbix_group vip apache zabbix-server\r\n<\/code><\/pre>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8bbe\u7f6e\u6bcf\u4e2a\u8d44\u6e90\u7684\u542f\u52a8\u9650\u5236\u3002<br \/>\n\u3010\u5728 SV01 \u4e0a\u6267\u884c\u3011<\/p>\n<pre class=\"post-pre\"><code># pcs constraint order start zabbix_group then promote mariadb-clone\r\n# pcs constraint colocation add zabbix_group with master mariadb-clone INFINITY\r\n# pcs constraint colocation add master mariadb-clone with zabbix_group INFINITY\r\n# pcs constraint colocation add zabbix-server apache INFINITY\r\n# pcs constraint colocation add zabbix-server vip INFINITY\r\n<\/code><\/pre>\n<p>\u5728\u8fd9\u4e2a\u65f6\u70b9\u4e0a\uff0c\u6267\u884cstatus\u547d\u4ee4\u5e76\u786e\u8ba4\u8f93\u51fa\u7ed3\u679c\u5982\u4e0b\u6240\u793a\u3002<br \/>\n\u5982\u679c\u51fa\u73b0\u4e86Faild Resource Action\u7b49\u9519\u8bef\uff0c\u5c31\u9700\u8981\u91cd\u65b0\u68c0\u67e5\u5404\u4e2a\u914d\u7f6e\u6587\u4ef6\u548c\u8bbe\u7f6e\u503c\u3002<\/p>\n<pre class=\"post-pre\"><code># pcs status\r\nCluster name: zabbix_cluster\r\nStack: corosync\r\nCurrent DC: SV01 (version 1.1.23-1.el7-9acf116022) - partition with quorum\r\nLast updated: Wed Nov 25 18:46:14 2020\r\nLast change: Wed Nov 25 18:35:46 2020 by root via cibadmin on SV01\r\n\r\n2 nodes configured\r\n5 resource instances configured\r\n\r\nOnline: [ SV01 SV02 ]\r\n\r\nFull list of resources:\r\n\r\n Master\/Slave Set: mariadb-clone [mariadb]\r\n     Masters: [ SV01 ]\r\n     Slaves: [ SV02 ]\r\n Resource Group: zabbix_group\r\n     vip        (ocf::heartbeat:IPaddr2):       Started SV01\r\n     apache     (ocf::heartbeat:apache):        Started SV01\r\n     zabbix-server      (systemd:zabbix-server):        Started SV01\r\n\r\nDaemon Status:\r\n  corosync: active\/enabled\r\n  pacemaker: active\/enabled\r\n  pcsd: active\/enabled\r\n<\/code><\/pre>\n<h1>8. \u7f16\u8f91Zabbix Agent\u7684conf\u6587\u4ef6\u5728SV01\/SV02\u4e0a\uff0c\u5c06zabbix_agentd.conf\u6587\u4ef6\u4fee\u6539\u5982\u4e0b\u6240\u793a\u3002\u7136\u540e\u91cd\u65b0\u542f\u52a8Zabbix Agent\u670d\u52a1\u3002<\/p>\n<pre class=\"post-pre\"><code># vi \/etc\/zabbix\/zabbix_agentd.conf\r\n----------------------------------------------------------------\r\nNo.|\r\n98 | Server=192.168.11.13, 192.168.11.14, 192.168.11.200\r\n114| ListenIP=0.0.0.0\r\n139| ServerActive=192.168.11.13, 192.168.11.14, 192.168.11.200\r\n150| # Hostname=Zabbix server\r\n----------------------------------------------------------------\r\n# systemctl restart zabbix-agent\r\n<\/code><\/pre>\n<h1>\u758e\u901a\u786e\u8ba4\uff08Zabbix-Server \u21d4 Zabbix-Agent\uff09\uff1a\u786e\u8ba4\u8fde\u63a5\u60c5\u51b5\uff08Zabbix-Server\u4e0eZabbix-Agent\u4e4b\u95f4\u7684\u901a\u4fe1\uff09<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/82-0.jpeg\" alt=\"3.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/83-0.jpeg\" alt=\"4.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/84-0.jpeg\" alt=\"5.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/85-0.jpeg\" alt=\"6.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/86-0.jpeg\" alt=\"7.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/87-0.jpeg\" alt=\"8.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/88-0.jpeg\" alt=\"9.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/89-0.jpeg\" alt=\"10.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/90-0.jpeg\" alt=\"12.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/91-0.jpeg\" alt=\"13.jpeg\" \/>\u5728\u8fdb\u884c\u5982\u4e0b\u8868\u6240\u793a\u7684\u8bbe\u7f6e\u4e4b\u540e\uff0c\u70b9\u51fb\u3010\u8ffd\u52a0\u3011\u6309\u94ae\u3002<\/p>\n<div>\n<div class=\"post-table\">\u9805\u76ee\u8a2d\u5b9a\u5024\u540d\u524dCPU\u4f7f\u7528\u7387\u30bf\u30a4\u30d7Zabbix\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ad\u30fcsystem.cpu.util[,idle,avg1]\u30c7\u30fc\u30bf\u578b\u6570\u5024(\u6d6e\u52d5\u5c0f\u6570)\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3CPU<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/94-0.jpeg\" alt=\"14.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/95-0.jpeg\" alt=\"15.jpeg\" \/>\u5728\u8fdb\u884c\u5982\u4e0b\u8868\u683c\u6240\u793a\u7684\u8bbe\u7f6e\u540e\uff0c\u70b9\u51fb\u3010\u6dfb\u52a0\u3011\u6309\u94ae\u3002<\/p>\n<div>\n<div class=\"post-table\">\u9805\u76ee\u8a2d\u5b9a\u5024\u540d\u524dCPU\u4f7f\u7528\u738780%\u8d85\u904e,{HOST.NAME}\u6df1\u523b\u5ea6\u91cd\u5ea6\u306e\u969c\u5bb3\u6761\u4ef6\u5f0f{Template_CPU:system.cpu.util[,idle,avg1].last()}&lt;20<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/98-0.jpeg\" alt=\"16.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/99-0.jpeg\" alt=\"17.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/100-0.jpeg\" alt=\"18.jpeg\" \/><\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/101-0.jpeg\" alt=\"19.jpeg\" \/>\u4ee5\u4e0a\u662f\u4f7f\u7528Pacemaker\u548cCorosync\u642d\u5efa\u5197\u4f59\u7684Zabbix\u670d\u52a1\u5668\uff0c\u5de5\u4f5c\u5df2\u5b8c\u6210\u3002<br \/>\n\u56e0\u4e3a\u5f88\u4e45\u6ca1\u6709\u6df1\u5165\u63a5\u89e6Linux\uff0c\u6240\u4ee5\u611f\u89c9\u975e\u5e38\u6ee1\u610f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u8ff0\u4f7f\u7528Pacemaker\u548cCorosync\u6210\u529f\u5730\u5b9e\u73b0\u4e86Zabbix\u670d\u52a1\u5668\u7684\u5197\u4f59\u5907\u4efd\u3002 \u5728\u6211\u521a\u6210\u4e3a\u5de5\u7a0b\u5e08\u7684\u65f6\u5019 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28787","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efapacemaker-corosync\u6765\u5b9e\u73b0zabbix\u7684\u5197\u4f59\u5316\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efapacemaker-corosync\u6765\u5b9e\u73b0zabbix\u7684\u5197\u4f59\u5316\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-11-25T18:12:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T02:06:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/5-1.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/\",\"name\":\"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-11-25T18:12:53+00:00\",\"dateModified\":\"2025-08-12T02:06:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"description\":\"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efapacemaker-corosync\u6765\u5b9e\u73b0zabbix\u7684\u5197\u4f59\u5316\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316","og_description":"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efapacemaker-corosync\u6765\u5b9e\u73b0zabbix\u7684\u5197\u4f59\u5316\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-11-25T18:12:53+00:00","article_modified_time":"2025-08-12T02:06:12+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657cfe8637434c4406bc5c53\/5-1.png"}],"author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/","name":"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-11-25T18:12:53+00:00","dateModified":"2025-08-12T02:06:12+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"description":"\u5173\u4e8e\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5b9e\u8df5\uff01\u901a\u8fc7\u642d\u5efaPacemaker + Corosync\u6765\u5b9e\u73b0Zabbix\u7684\u5197\u4f59\u5316"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%ae%9e%e8%b7%b5%ef%bc%81%e9%80%9a%e8%bf%87%e6%90%ad%e5%bb%bapacemaker-corosync%e6%9d%a5%e5%ae%9e%e7%8e%b0zabbix%e7%9a%84%e5%86%97%e4%bd%99%e5%8c%96\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28787","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28787"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28787\/revisions"}],"predecessor-version":[{"id":111389,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28787\/revisions\/111389"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28787"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28787"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28787"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}