{"id":985,"date":"2020-04-04T13:37:18","date_gmt":"2020-04-04T05:37:18","guid":{"rendered":"http:\/\/blog.ywdevops.cn\/?p=985"},"modified":"2026-05-18T11:44:29","modified_gmt":"2026-05-18T03:44:29","slug":"ha","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2020\/04\/04\/ha\/","title":{"rendered":"\u901a\u8fc7keepalived\u5b9e\u73b0\u5e94\u7528\u9ad8\u53ef\u7528"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u6559\u7a0b\u901a\u8fc7keepalived\u9ad8\u53ef\u7528\u96c6\u7fa4\u8f6f\u4ef6\u6a21\u62df\u5b9e\u73b0\u5e94\u7528\u9ad8\u53ef\u7528<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u73af\u5883\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3b\u670d\u52a1\u566810.88.5.31(centos7)\uff0c\u8f6f\u4ef6\uff1ahttpd\uff0ckeepalived<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5907\u670d\u52a1\u566810.88.5.144(rhel6.9)\uff0c\u8f6f\u4ef6\uff1ahttpd,keepalived<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u6f14\u793a\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3b\u670d\u52a1\u5668httpd\u5173\u95ed\u540e\uff0c\u9875\u9762\u968f\u4e4b\u5207\u6362\u5230\u5907\u7528\u670d\u52a1\u5668\uff0c\u5f53\u4e3b\u670d\u52a1\u5668httpd\u542f\u52a8\u540e\uff0c\u9875\u9762\u5207\u6362\u56de\u6765<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u539f\u7406\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e3b\u670d\u52a1\u5668\u7684httpd\u5f02\u5e38\u5173\u95ed\u540e\uff0ckeepalived\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u811a\u672c\u68c0\u6d4b\u5230httpd\u8fdb\u7a0b\u505c\u6b62\uff0c\u6839\u636e\u8bbe\u7f6e\u7684\u4f18\u5148\u7ea7\uff0c\u4e3bkeepalived\u7684\u4f18\u5148\u7ea7\u964d\u4f4e\uff0c\u4f4e\u4e8e\u5907\u670d\u52a1\u5668\u7684\u4f18\u5148\u7ea7\uff0c\u5907\u7528\u670d\u52a1\u5668\u4e0a\u7684keepalived\u968f\u4e4b\u63a5\u66ff\uff0c\u865a\u62dfIP\u81ea\u52a8\u6f02\u79fb\u5230\u5907\u7528\u670d\u52a1\u5668\u4e0a\uff0c\u6b64\u65f6\u5907\u7528\u670d\u52a1\u5668\u7ee7\u7eed\u63d0\u4f9b\u670d\u52a1\u3002<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u5b89\u88c5\u90e8\u7f72\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u90e8\u7f72\u6b65\u9aa4\u8bf7\u53c2\u8003\uff1a<a href=\"https:\/\/blog.ywdevops.cn\/index.php\/2020\/04\/02\/keepalived\/\">keepalived\u90e8\u7f72<\/a>\uff0ckeepalived\u4ee5\u53cahttpd\u90fd\u5b89\u88c5\u5b8c\u6bd5\u540e\uff0c\u6b64\u65f6\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<strong>vim \/etc\/keepalived\/keepalived.conf<\/strong>\uff0c\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"456\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/33-1.png\" alt=\"\" class=\"wp-image-1084\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/33-1.png 555w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/33-1-300x246.png 300w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/figure>\n\n\n\n<p class=\"has-luminous-vivid-amber-background-color has-background wp-block-paragraph\">\u6ce8\u610f\uff1avrrp_script  \u4e0d\u8981\u52a0\u5728global_defs\u91cc\u9762\u53bb\uff0c\u8981\u5355\u72ec\u52a0\u5728\u5916\u9762<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u811a\u672c\u6587\u4ef6gong.sh\u7684\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"286\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/34.png\" alt=\"\" class=\"wp-image-1086\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/34.png 556w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/34-300x154.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/figure>\n\n\n\n<p class=\"has-very-dark-gray-color has-text-color wp-block-paragraph\">\u4e0a\u56fe\u4e2d\u811a\u672c\u7684\u610f\u601d\u662f\u9996\u5148\u901a\u8fc7pgrep  httpd\u5224\u65adhttpd\u8fdb\u7a0b\u662f\u5426\u5b58\u5728\uff0c\u5982\u679c\u4e0d\u5b58\u5728\u9000\u51fa\u72b6\u6001\u7801\u4e3a1\uff0ckeepalived\u914d\u7f6e\u6587\u4ef6\u4e2d\u68c0\u6d4b\u811a\u672c\u7684\u8fd4\u56de\u72b6\u6001\u5417\uff0c\u5982\u679c\u8fd4\u56de1\u8868\u793ahttpd\u8fdb\u7a0b\u4e0d\u5b58\u5728\uff0c\u6b64\u65f6\u6267\u884c<strong>weight  -20<\/strong>\u5c06\u4e3b\u670d\u52a1\u5668\u7684\u4f18\u5148\u7ea7\u964d\u4f4e20\uff0c\u4f4e\u4e8e\u5907\u7528\u670d\u52a1\u5668\u7684\u4f18\u5148\u7ea7\uff0c\u4ece\u800c\u5907\u673a\u5f00\u59cb\u63d0\u4f9b\u670d\u52a1\uff0c\u5f53httpd\u91cd\u65b0\u542f\u52a8\u540e\uff0c\u811a\u672c\u8fd4\u56de\u72b6\u6001\u7801\u4e3a0\uff0c\u4e0d\u6267\u884c<strong>weight<\/strong>\u964d\u7ea7\u64cd\u4f5c\uff0c\u56e0\u6b64\u4e3b\u670d\u52a1\u5668\u4f18\u5148\u7ea7\u9ad8\u4e8e\u5907\u673a\uff0c\u4ece\u800c\u5207\u6362\u56de\u6765\u7ee7\u7eed\u7531\u4e3b\u670d\u52a1\u5668\u63d0\u4f9b\u670d\u52a1(<strong>\u53ef\u4ee5\u5728\u811a\u672c\u4e2d\u6307\u5b9a\u9000\u51fa\u72b6\u6001\u7801<\/strong>)<\/p>\n\n\n\n<p class=\"has-pale-cyan-blue-background-color has-background wp-block-paragraph\">\u6ce8\u610f\uff1a\u53ea\u5728\u4e3b\u670d\u52a1\u5668\u7684keepalived\u914d\u7f6e\u6587\u4ef6\u4e2d\u6dfb\u52a0\u68c0\u6d4b\u811a\u672c\u5373\u53ef\uff0c\u5907\u7528\u670d\u52a1\u5668\u65e0\u9700\u914d\u7f6e<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>\u6d4b\u8bd5\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u524d\u4e3b\u670d\u52a1\u5668\u7684httpd\u4ee5\u53cakeepalived\u90fd\u662f\u8fd0\u884c\u72b6\u6001\uff0c\u8bbf\u95ee\u754c\u9762\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"551\" height=\"231\" src=\"http:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/26.png\" alt=\"\" class=\"wp-image-995\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/26.png 551w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/26-300x126.png 300w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u73b0\u5728\u5c06\u4e3b\u670d\u52a1\u5668\u7684httpd\u670d\u52a1\u505c\u6b62\uff0c\u6b64\u65f6\u518d\u6b21\u8bbf\u95ee\u9875\u9762\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"224\" src=\"http:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/27.png\" alt=\"\" class=\"wp-image-996\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/27.png 550w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/04\/27-300x122.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u8be2\u4e3b\u670d\u52a1\u5668\u8fdb\u7a0b\u53ef\u4ee5\u53d1\u73b0\uff0chttpd\u8fdb\u7a0b\u90fd\u5df2\u7ecf\u505c\u6b62\uff0c\u5f53\u91cd\u65b0\u542f\u52a8\u4e3b\u670d\u52a1\u5668\u7684httpd\u8fdb\u7a0b\u65f6\uff0c\u53ef\u4ee5\u770b\u5230\u754c\u9762\u518d\u6b21\u5207\u6362\u56de\u6765\uff0c\u6839\u636e\u4f18\u5148\u7ea7\u89c4\u5219\uff0c\u7ee7\u7eed\u7531\u4e3b\u670d\u52a1\u5668\u63d0\u4f9b\u670d\u52a1(<strong>\u53ea\u6709httpd\u4f1a\u505c\u6b62\uff0ckeepalived\u5e76\u4e0d\u505c\u6b62\uff0c\u4ece\u800c\u53ef\u4ee5\u4fdd\u8bc1\u968f\u65f6\u5207\u6362\u56de\u6765<\/strong>)<\/p>\n\n\n\n<p class=\"has-pale-cyan-blue-background-color has-background wp-block-paragraph\">keepalived\u5b9e\u73b0\u5176\u4ed6\u5e94\u7528\u7684\u9ad8\u53ef\u7528\u90fd\u53ef\u4ee5\u901a\u8fc7\u68c0\u6d4b\u811a\u672c\u7684\u65b9\u6cd5\u6765\u5b9e\u73b0<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>\u6a21\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">keepalived\u7684\u5de5\u4f5c\u6a21\u5f0f\u5206\u4e3a\u4e24\u79cd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u62a2\u5360\u6a21\u5f0f\uff1a\u8282\u70b91\u7684state\u72b6\u6001\u4e3aMASTER\uff0c\u8282\u70b92\u7684\u72b6\u6001\u4e3aBACKUP\uff0c\u5f53\u8282\u70b91\u673a\u5668\u6216\u8005\u5e94\u7528\u5b95\u673a\u540e\uff0c\u8282\u70b92\u63a5\u7ba1vip\uff0c\u4f46\u662f\u5f53\u8282\u70b91\u6062\u590d\u540e\uff0c\u5c06\u518d\u6b21\u5c06vip\u62a2\u5360\u56de\u6765\uff0c\u91cd\u65b0\u63a5\u7ba1vip\uff0c\u4e0a\u9762\u7684\u4f8b\u5b50\u5c31\u662f\u62a2\u5360\u6a21\u5f0f<\/li>\n\n\n\n<li>\u975e\u62a2\u5360\u6a21\u5f0f\uff1a\u8282\u70b91\u548c\u8282\u70b92\u7684state\u90fd\u4e3aBACKUP\uff0c\u5e76\u4e14\u90fd\u914d\u7f6e nopreempt(\u7981\u6b62\u62a2\u5360\u6a21\u5f0f)\uff0c\u5f53\u8282\u70b91\u673a\u5668\u6216\u8005\u5e94\u7528\u5b95\u673a\u540e\uff0c\u8282\u70b92\u63a5\u7ba1vip\uff0c\u4f46\u662f\u5f53\u8282\u70b91\u6062\u590d\u540e\uff0c\u4e0d\u5728\u62a2\u5360VIP\uff0c\u53d8\u6210\u5907\u673a<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u975e\u62a2\u5360\u6a21\u5f0f\u914d\u7f6e\u65b9\u5f0f\u6709\u4e24\u79cd\u5199\u6cd5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7b2c\u4e00\u79cd\uff1a\u8282\u70b91\u548c\u8282\u70b92\u90fd\u914d\u7f6e\u4e3aBACKUP\uff0c\u5e76\u4e14\u90fd\u914d\u7f6enopreempt\uff0c\u5e76\u8bbe\u7f6e\u76f8\u540c\u4f18\u5148\u7ea7\uff0c\u8c01\u5148\u542f\u52a8\u8c01\u6301\u6709vip<\/li>\n\n\n\n<li>\u7b2c\u4e8c\u79cd\uff1a\u8282\u70b91\u548c\u8282\u70b92\u90fd\u914d\u7f6e\u4e3aBACKUP\uff0c\u8282\u70b91\u914d\u7f6enopreempt\uff0c\u8282\u70b92\u4e0d\u914d\u7f6enopreempt\uff0c\u8282\u70b91\u4f18\u5148\u7ea7\u9ad8\u4e8e\u8282\u70b92<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u7b2c\u4e00\u79cd\u65b9\u5f0f<\/strong>\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u4f8b\u5b50\u8868\u793a\u901a\u8fc7\u7b2c\u4e00\u79cd\u65b9\u5f0f\u6765\u5b9e\u73b0\u975e\u62a2\u5360\u6a21\u5f0f\uff0c\u8282\u70b91\u548c2\u90fd\u6709\u5b89\u88c5nginx\u5e76\u914d\u7f6e\u68c0\u6d4b\u811a\u672c\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"444\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/15.png\" alt=\"\" class=\"wp-image-8175\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/15.png 709w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/15-300x188.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/15-600x376.png 600w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"493\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/1-3.png\" alt=\"\" class=\"wp-image-8178\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/1-3.png 706w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/1-3-300x209.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/1-3-600x419.png 600w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u4e0a\u56fe\u53ef\u4ee5\u770b\u51fa\uff0c\u8282\u70b91\u548c\u8282\u70b92\u7684\u914d\u7f6e\u4e00\u6a21\u4e00\u6837\uff0c\u73b0\u5728\u5c06\u8282\u70b91\u7684nginx\u5173\u95ed\u540e\uff0cvip\u5c06\u4f1a\u6f02\u79fb\u5230\u8282\u70b92\u4e0a\uff0c\u5f53\u8282\u70b91\u7684nginx\u91cd\u65b0\u542f\u52a8\u540e\uff0cvip\u4e0d\u4f1a\u88ab\u91cd\u65b0\u62a2\u5360\u56de\u6765\uff0c\u800c\u5f53\u8282\u70b92\u7684nginx\u5173\u95ed\u540e\uff0cvip\u4f1a\u518d\u6b21\u6f02\u79fb\u56de\u6765\u8282\u70b91<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u7b2c\u4e8c\u79cd\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u9762\u4f8b\u5b50\u8868\u793a\u901a\u8fc7\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u6765\u5b9e\u73b0\u975e\u62a2\u5360\u6a21\u5f0f\uff0c\u8282\u70b91\u548c2\u90fd\u5b89\u88c5nginx\uff0c\u5e76\u914d\u7f6e\u68c0\u6d4b\u811a\u672c\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"451\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/2-1.png\" alt=\"\" class=\"wp-image-8183\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/2-1.png 707w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/2-1-300x191.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/2-1-600x383.png 600w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"708\" height=\"495\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/3-2.png\" alt=\"\" class=\"wp-image-8185\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/3-2.png 708w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/3-2-300x210.png 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2022\/04\/3-2-600x419.png 600w\" sizes=\"auto, (max-width: 708px) 100vw, 708px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0a\u56fe\u4e2d\uff0c\u8282\u70b91\u548c2\u90fd\u914d\u7f6e\u4e86BACKUP\uff0c\u4f46\u662f\u8282\u70b92\u6ca1\u6709\u914d\u7f6enopreempt\uff0c\u5e76\u4e14\u8282\u70b92\u7684\u4f18\u5148\u7ea7\u4f4e\u4e8e\u8282\u70b91\uff0c\u6b64\u65f6\uff0c\u5c06\u8282\u70b91\u7684nginx\u5173\u95ed\u540e\uff0cvip\u5c06\u6f02\u79fb\u5230\u8282\u70b92\u4e0a\uff0c\u5982\u679c\u91cd\u65b0\u542f\u52a8\uff0c\u8282\u70b91\u4e0d\u4f1a\u91cd\u65b0\u62a2\u5360\u56devip\uff0c\u5982\u679c\u5c06\u8282\u70b92\u7684nginx\u5173\u95ed\u540e\uff0c\u6b64\u65f6vip\u53c8\u4f1a\u91cd\u65b0\u6f02\u79fb\u5230\u8282\u70b91\uff0c\u4ece\u800c\u5b9e\u73b0\u9ad8\u53ef\u7528<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\u610f\uff1a\u5982\u679c\u662f\u4e09\u53f0keepalived\u505a\u9ad8\u53ef\u7528\uff0c\u53ef\u5c06\u4e09\u53f0\u90fd\u914d\u7f6e\u4e3aBACKUP\uff0c\u5e76\u4e14\u5176\u4e2d\u4e24\u53f0\u914d\u7f6enopreempt\uff0c\u5e76\u4e14\u4e09\u53f0\u7684\u4f18\u5148\u7ea7\u4e0d\u540c\uff0c\u4e24\u53f0nopreempt\u7684\u4f18\u5148\u7ea7\u9ad8\u4e8e\u7b2c\u4e09\u53f0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5f\u53ef\u4ee5\u8fd9\u6837\u8bbe\u7f6e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u8282\u70b9<\/th><th>\u4f18\u5148\u7ea7(priority)<\/th><th>state<\/th><th>nopreempt<\/th><th>\u8bf4\u660e<\/th><\/tr><\/thead><tbody><tr><td>master01<\/td><td>100<\/td><td>MASTER<\/td><td>yes<\/td><td>\u6700\u7a33\u5b9a\u7684\u4e3b\u8282\u70b9\uff0c\u4f18\u5148\u62e5\u6709 VIP<\/td><\/tr><tr><td>master02<\/td><td>90<\/td><td>BACKUP<\/td><td>yes<\/td><td>VIP \u5907\u7528\u8282\u70b9\uff0c\u53ea\u6709 master01 \u4e0d\u53ef\u7528\u624d\u63a5\u7ba1<\/td><\/tr><tr><td>master03<\/td><td>80<\/td><td>BACKUP<\/td><td>no<\/td><td>\u6700\u540e\u5907\u7528\uff0cpreempt \u53ef\u9009\uff0c\u8ba9\u5b83\u5728 master01\/02 \u79bb\u7ebf\u540e\u63a5\u7ba1<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6559\u7a0b\u901a\u8fc7keepalived\u9ad8\u53ef\u7528\u96c6\u7fa4\u8f6f\u4ef6\u6a21\u62df\u5b9e\u73b0\u5e94\u7528\u9ad8\u53ef\u7528 \u73af\u5883\uff1a \u4e3b\u670d\u52a1\u566810.88.5.31(cent [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":999,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-985","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=985"}],"version-history":[{"count":33,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/985\/revisions"}],"predecessor-version":[{"id":20315,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/985\/revisions\/20315"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/999"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}