{"id":6474,"date":"2014-12-01T11:30:14","date_gmt":"2014-12-01T02:30:14","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6474"},"modified":"2015-03-12T12:55:52","modified_gmt":"2015-03-12T03:55:52","slug":"%e5%92%8c%e8%a8%b3-chef-high-availability-opschef_ja-getchef_ja","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6474","title":{"rendered":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f <a href=\"http:\/\/docs.getchef.com\/server_high_availability.html\">High Availability<\/a> \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<h2>\u9ad8\u53ef\u7528\u6027 (High Availability, HA)<\/h2>\n<p>Chef Server \u306f\u3001\u30b7\u30b9\u30c6\u30e0\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u304a\u3051\u308b\u30b9\u30c6\u30fc\u30c8\u30d5\u30eb\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u81ea\u52d5\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u3068\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u3092\u63d0\u4f9b\u3059\u308b\u3001HA\u69cb\u6210\u3067\u904b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u901a\u5e38\u3001\u3053\u306e\u5f62\u5f0f\u306e\u69cb\u6210\u3067\u306f\u30de\u30b7\u30f3\u3092\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e2\u3064\u306e\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u5206\u5272\u3057\u307e\u3059\u3002<\/p>\n<p><!-- http:\/\/docs.getchef.com\/server\/_images\/chef_server_ha.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha.png\" alt=\"chef_server_ha\" width=\"560\" height=\"600\" class=\"alignnone size-full wp-image-6475\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha.png 560w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha-88x95.png 88w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306fChef Server API\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3068\u30a6\u30a7\u30d6\u30e6\u30fc\u30b6\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u3092\u53d6\u308a\u6271\u3044\u307e\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306f\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u3055\u308c\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d6\u308a\u6271\u3046\u30b5\u30fc\u30d0\u306e\u6570\u3092\u5897\u3084\u3059\u3053\u3068\u306b\u3088\u308b\u6c34\u5e73\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u3066\u3044\u308b\u3079\u304d\u3067\u3059\u3002<\/p>\n<p>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306f\u3001\u30c7\u30fc\u30bf\u306e\u4fdd\u7ba1\u3068\u53d6\u5f97\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u30f3\u30b0\u3001\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3001\u7d71\u8a08\u51e6\u7406\u3001\u691c\u7d22\u3092\u53d6\u308a\u6271\u3044\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306f\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u3044\u305f\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u306b\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u3079\u304d\u3067\u3059\u3002<\/p>\n<p>Chef Server 12\u3067\u306f\u3001\u6b21\u3092HA\u69cb\u6210\u3068\u3057\u3066\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>DRBD<\/li>\n<li>AWS<\/li>\n<\/ul>\n<h2>DRBD<\/h2>\n<p>Chef Server\u306eHA\u69cb\u6210\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066DRBD\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!-- http:\/\/docs.getchef.com\/server\/_images\/chef_server_ha_drbd.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png\" alt=\"chef_server_ha_drbd\" width=\"560\" height=\"600\" class=\"alignnone size-full wp-image-6477\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png 560w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd-336x360.png 336w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd-88x95.png 88w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306f\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u3001SSL\u30aa\u30d5\u30ed\u30fc\u30c7\u30a3\u30f3\u30b0\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306b\u57fa\u3044\u305f\u30e9\u30a6\u30f3\u30c9\u30ed\u30d3\u30f3\u3092\u7528\u3044\u3066\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u3067\u6c34\u5e73\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306f\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u3092\u5897\u52a0\u3055\u305b\u308b\u305f\u3081\u306b\u30e1\u30e2\u30ea\u3001CPU\u30d1\u30ef\u30fc\u3001\u3088\u308a\u65e9\u3044\u30c7\u30a3\u30b9\u30af\u306e\u8ffd\u52a0\u3001DRBD\u306e\u4fe1\u983c\u6027\u3068Chef Server\u306e\u5fdc\u7b54\u6027\u3092\u5897\u52a0\u3055\u305b\u308b\u305f\u3081\u306b\u3088\u308a\u65e9\u3044\u30c7\u30a3\u30b9\u30af\u3084\u5c02\u7528\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u30ab\u30fc\u30c9\u306e\u8ffd\u52a0\u3068\u3044\u3063\u305f\u5782\u76f4\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u306f\u6b21\u306e\u3088\u3046\u306b\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<ul>\n<li>2\u3064\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u9593\u3067\u306e\u3001\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u30de\u30cd\u30fc\u30b8\u30e3(LVM)\u306e\u975e\u540c\u671f\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/li>\n<li>\u30e6\u30cb\u30ad\u30e3\u30b9\u30c8TCP\/IP\u4e0a\u306eVRRP\u3068Keepalived\u3092\u7528\u3044\u305f\u30d7\u30e9\u30a4\u30de\u30ea\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30af\u30e9\u30b9\u30bf\u306e\u9078\u629e<\/li>\n<li>Keepalived\u306b\u3088\u308b\u9078\u629e\u7d50\u679c\u306b\u57fa\u3044\u3066\u4fdd\u6301\u3055\u308c\u308b\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u3078\u306e\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9<\/li>\n<\/ul>\n<p>\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u306b\u969c\u5bb3\u304c\u767a\u751f\u3057\u305f\u3089\u3001VRRP\u30cf\u30fc\u30c8\u30d3\u30fc\u30c8\u304c\u505c\u6b62\u3057\u307e\u3059\u3002\u3053\u306e\u6642\u70b9\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d0\u306f\u6b21\u306e\u3088\u3046\u306b\u30d7\u30e9\u30a4\u30de\u30ea\u72b6\u614b\u3078\u306e\u79fb\u884c\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u3092\u5272\u308a\u5f53\u3066\u3001<strong>proxy-arp<\/strong>\u3092\u9001\u51fa\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u306b\u3088\u3063\u3066\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u306e\u79fb\u884c\u304c\u884c\u308f\u308c\u3001\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u3078\u306e\u79fb\u884c\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u9593\u3001\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u304c\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306b\u6d41\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/li>\n<li>DRBD\u30c7\u30d0\u30a4\u30b9\u306e\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u3068\u3057\u3066\u30c6\u30a4\u30af\u30aa\u30fc\u30d0\u30fc\u3092\u8a66\u307f\u307e\u3059\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>DRBD\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u306f\u516c\u5f0f\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8 <a href=\"http:\/\/www.drbd.org\/\">http:\/\/www.drbd.org\/<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u7de9\u3084\u304b\u306a\u79fb\u884c<\/h2>\n<p>Keepalived\u30b5\u30fc\u30d3\u30b9\u306fVRRP\u3068\u30af\u30e9\u30b9\u30bf\u79fb\u884c\u3092\u7ba1\u7406\u3057\u307e\u3059\u3002Keepalived\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u306e\u4e21\u65b9\u306e\u30b5\u30fc\u30d0\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30ea\u304b\u3089\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u79fb\u884c\u3059\u308b\u306b\u306f\u3001\u5358\u7d14\u306b\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ chef-server-ctl stop keepalived<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3067\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u304b\u3089\u30bb\u30ab\u30f3\u30c0\u30eaChef Server\u3078\u306e\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u73fe\u5728\u306e\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u304b\u3089\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u3092\u524a\u9664\u3057\u3001\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3057\u3001DRBD\u30c7\u30d0\u30a4\u30b9\u3092\u30a2\u30f3\u30de\u30a6\u30f3\u30c8\u3057\u3001\u305d\u3057\u3066\u30bb\u30ab\u30f3\u30c0\u30eaChef Server\u306eDRBD\u30c7\u30d0\u30a4\u30b9\u3068\u3057\u307e\u3059\u3002\u3053\u306e\u9593\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3067\u306f\u3053\u308c\u3068\u540c\u3058\u3088\u3046\u306a\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u79fb\u884c\u306e\u9032\u6357\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ watch -n1 sudo chef-server-ctl ha-status<br \/>\n<\/code><\/p>\n<h3>\u30b9\u30d7\u30ea\u30c3\u30c8\u30d6\u30ec\u30a4\u30f3 (split-brain)<\/h3>\n<p><strong>split-brain<\/strong> \u306f\u3001\u30af\u30e9\u30b9\u30bf\u304c\u30cf\u30fc\u30c8\u30d3\u30fc\u30c8\u306e\u901a\u4fe1\u8def\u3092\u5931\u3063\u30662\u3064\u306e\u63a5\u7d9a\u3055\u308c\u3066\u3044\u306a\u3044\u8981\u7d20\u306b\u306a\u308b\u3068\u3044\u3046\u30af\u30e9\u30b9\u30bf\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u3067\u306e\u6982\u5ff5\u3067\u3059\u3002<strong>split-brain<\/strong> \u304b\u3089\u306e\u30ea\u30ab\u30d0\u30ea\u306f\u3068\u3066\u3082\u8907\u96d1\u306a\u554f\u984c\u3067\u3001\u30af\u30e9\u30b9\u30bf\u30ea\u30f3\u30b0\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d1\u30c3\u30b1\u30fc\u30b8\u3054\u3068\u306b\u65b9\u6cd5\u304c\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u969c\u5bb3\u304c\u8d77\u304d\u305f\u5834\u5408\u3001<strong>split-brain<\/strong> \u3092\u5b8c\u5168\u306b\u9632\u3050\u3053\u3068\u306f\u7d76\u5bfe\u306b\u53ef\u80fd\u3068\u3044\u3046\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u30cf\u30fc\u30c8\u30d3\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u5e2f\u57df\u306e\u6700\u5927\u5316\u3068\u8ee2\u9001\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u6700\u9069\u5316\u306b\u3088\u3063\u3066\u3001<strong>split-brain<\/strong> \u306e\u30b7\u30ca\u30ea\u30aa\u306b\u304a\u3044\u3066\u767a\u751f\u3059\u308b\u554f\u984c\u306e\u3044\u304f\u3064\u304b\u306f\u8efd\u6e1b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>DRBD\u306f\u30b7\u30a7\u30a2\u30fc\u30c9\u30ca\u30c3\u30b7\u30f3\u30b0\u306a\u30b7\u30b9\u30c6\u30e0\u3067\u3059\u3002\u30c7\u30fc\u30bf\u3092\u3059\u3079\u3066\u306e\u30db\u30b9\u30c8\u306b\u63a5\u7d9a\u3057\u305fNAS\u3084SAN\u306b\u4e2d\u592e\u96c6\u6a29\u7684\u306b\u4fdd\u5b58\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306b\u3088\u3063\u3066\u63a5\u7d9a\u3055\u308c\u305f\u30db\u30b9\u30c8\u9593\u3067\u8907\u88fd\u3057\u307e\u3059\u3002HA\u30c8\u30dd\u30ed\u30b8\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u304a\u3051\u308b\u3082\u3063\u3068\u3082\u81f4\u547d\u7684\u306a\u554f\u984c\u306f\u3001\u30c7\u30fc\u30bf\u306e\u55aa\u5931\u3084\u7834\u640d\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u30b7\u30b9\u30c6\u30e0\u304c\u8d77\u52d5\u3057\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u9593\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u901a\u308b\u30c7\u30fc\u30bf\u91cf\u3092\u6700\u5927\u5316\u3057\u3066\u304a\u304f\u3053\u3068\u306f\u3001\u30db\u30b9\u30c8\u304c\u30c0\u30a6\u30f3\u3057\u305f\u969b\u306b\u4f55\u304b\u304c\u5931\u308f\u308c\u305f\u308a\u56de\u5fa9\u4e0d\u80fd\u306b\u306a\u308b\u53ef\u80fd\u6027\u3092\u6700\u5c0f\u5316\u3057\u307e\u3059\u3002<\/p>\n<p>\u3044\u304b\u306a\u308b\u6642\u3067\u3082\u30011\u3064\u3060\u3051\u306eDRBD\u30db\u30b9\u30c8\u304c\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b <strong>userland<\/strong> \u3092\u6301\u3061\u3001\u3053\u306e\u30db\u30b9\u30c8\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3068\u3057\u3066\u53c2\u7167\u3055\u308c\u307e\u3059\u3002DRBD\u30c7\u30fc\u30e2\u30f3\u3092\u8d77\u52d5\u3057\u3066\u3044\u308b\u4ed6\u306e\u30db\u30b9\u30c8\u306f\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u30de\u30a6\u30f3\u30c8\u3067\u304d\u307e\u305b\u3093\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u304b\u3089\u60c5\u5831\u3092\u53d7\u3051\u53d6\u308a\u3001\u30ed\u30fc\u30ab\u30eb\u30b9\u30c8\u30ec\u30fc\u30b8\u30b3\u30d4\u30fc\u306b\u30c7\u30a3\u30b9\u30af\u306b\u5bfe\u3059\u308b\u52d5\u4f5c\u3092\u8907\u88fd\u3057\u307e\u3059\u3002\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u304c\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u308b\u3068\u3057\u305f\u3089\u3001<strong>mount<\/strong> \u30b3\u30de\u30f3\u30c9\u304c\u9001\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>DRBD\u304c <strong>split-brain<\/strong> \u72b6\u614b\u306b\u306a\u308b\u3068\u3001DRBD\u306f\u307e\u3060\u751f\u304d\u3066\u3044\u308b\u3059\u3079\u3066\u306e\u30d1\u30fc\u30c8\u30ca\u30fc\u3092\u30bb\u30ab\u30f3\u30c0\u30ea\u72b6\u614b\u306b\u30c7\u30b0\u30ec\u30fc\u30c9\u3057\u3001\u624b\u52d5\u306b\u3088\u308b\u4fee\u5fa9\u3092\u5f85\u3061\u307e\u3059\u3002\u3053\u308c\u306f\u30aa\u30fc\u30c8\u30d5\u30a7\u30f3\u30b7\u30f3\u30b0\u3068\u547c\u3070\u308c\u3001\u30c7\u30fc\u30bf\u640d\u50b7\u306e\u53ef\u80fd\u6027\u3092\u6700\u5c0f\u306b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002HA\u30c8\u30dd\u30ed\u30b8\u306b\u304a\u3044\u3066\u30d1\u30fc\u30c8\u30ca\u30fc\u306e1\u3064\u3092\u5931\u3063\u305f\u3089\u3001\u30c7\u30a3\u30b9\u30af\u7570\u5e38\u3092\u53d6\u308a\u9664\u3044\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\u305f\u3081\u306e\u624b\u52d5\u4fee\u5fa9\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u30b7\u30ca\u30ea\u30aa\u306b\u3064\u3044\u3066\u306f\u3001\u8a3a\u65ad\u3084\u5fa9\u65e7\u65b9\u6cd5\u306e\u63d0\u6848\u3092\u542b\u3093\u3060\u4ee5\u964d\u306e\u691c\u8a0e\u4e8b\u9805\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h4>\u30ab\u30b9\u30bf\u30e0\u30cf\u30f3\u30c9\u30e9<\/h4>\n<p>DRBD\u306b\u306f <strong>split-brain<\/strong> \u304c\u767a\u751f\u3057\u305f\u969b\u306e\u30ab\u30b9\u30bf\u30e0\u30cf\u30f3\u30c9\u30e9\u304c\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u57fa\u672c\u30cf\u30f3\u30c9\u30e9\u306f\u8a2d\u5b9a\u3057\u305f\u5b9b\u5148\u306b\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3067\u304d\u3001\u305d\u308c\u306b\u3088\u3063\u3066\u554f\u984c\u306e\u767a\u751f\u3092\u77e5\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Chef Server\u304c\u7528\u3044\u3066\u3044\u308b <strong>drbd.conf<\/strong> \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u7279\u5b9a\u306e\u969c\u5bb3\u30b7\u30ca\u30ea\u30aa\u3067\u5b9f\u884c\u3055\u308c\u308b\u6b21\u306e\u3088\u3046\u306a\u7d44\u307f\u8fbc\u307f\u52d5\u4f5c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nafter-sb-0pri discard-younger-primary;<br \/>\nafter-sb-1pri discard-secondary;<br \/>\nafter-sb-2pri call-pri-lost-after-sb;<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3089\u306f\u6b21\u306e\u3088\u3046\u306a\u610f\u5473\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>after-sb-0pri: <strong>split-brain<\/strong> \u3092\u691c\u77e5\u3057\u305f\u3089\u3001\u305d\u3046\u3067\u306a\u3044\u30ce\u30fc\u30c9\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3067\u3059\u3002<strong>discard-younger-primary<\/strong> \u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3060\u3063\u305f\u6700\u5f8c\u306e\u30db\u30b9\u30c8\u306b\u884c\u308f\u308c\u305f\u3059\u3079\u3066\u306e\u5909\u66f4\u3092\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>after-sb-1pri: <strong>split-brain<\/strong> \u3092\u691c\u77e5\u3057\u305f\u3089\u3001\u305f\u30601\u3064\u306e\u30ce\u30fc\u30c9\u304c\u767a\u751f\u6642\u306b\u305d\u308c\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3060\u3063\u305f\u3068\u307f\u306a\u3057\u307e\u3059\u3002<strong>discard-secondary<\/strong> \u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3067\u51e6\u7406\u3092\u7d9a\u3051\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u304c\u5931\u308f\u308c\u305f\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>after-sb-2pri: <strong>split-brain<\/strong> \u3092\u691c\u77e5\u3057\u305f\u3089\u3001\u4e21\u65b9\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3060\u3063\u305f\u3068\u307f\u306a\u3057\u307e\u3059\u3002<strong>call-pri-lost-after-sb<\/strong> \u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3067\u3042\u308b\u3079\u304d\u30db\u30b9\u30c8\u3092\u6c7a\u5b9a\u3059\u308b\u305f\u3081\u306b\u3001<strong>0pri<\/strong> \u8a2d\u5b9a\u304b\u3089 <strong>discard-younger-primary<\/strong> \u3092\u9069\u7528\u3057\u307e\u3059\u3002\u6c7a\u5b9a\u3057\u305f\u3089\u3001\u4ed6\u306e\u30db\u30b9\u30c8\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u306b\u306a\u308b\u3088\u3046\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<h3>\u4f8b<\/h3>\n<p>\u6b21\u306fHA\u30c8\u30dd\u30ed\u30b8\u3067Chef Server\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u4f8b\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d7\u30ed\u30bb\u30b9\u306f <strong>BE1<\/strong> \u3068 <strong>BE2<\/strong> \u306e 2\u3064\u306e\u30db\u30b9\u30c8\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3002<strong>BE1<\/strong> \u306fDRBD\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u30de\u30b9\u30bf\u30fcChef Server\u3001<strong>BE2<\/strong> \u306fDRBD\u30bb\u30ab\u30f3\u30c0\u30ea\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7Chef Server\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306fKeepalived\u3068\u3001\u30cf\u30fc\u30c8\u30d3\u30fc\u30c8\u7528\u306b\u5c02\u7528\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3092\u7528\u3044\u3066\u3044\u308b\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306f\u30d5\u30a1\u30a4\u30eb\u5197\u9577\u6027\u306e\u305f\u3081\u306bDRBD\u3092\u7528\u3044\u3066\u3044\u308b\u3002<\/li>\n<\/ul>\n<p>\u5404\u30db\u30b9\u30c8\u306f\u81ea\u8eab\u306e\u72b6\u614b\u3092\u5148\u306b\u5831\u544a\u3057\u3001\u305d\u308c\u304b\u3089\u30ea\u30e2\u30fc\u30c8\u306e\u30d1\u30fc\u30c8\u30ca\u30fc\u306e\u72b6\u614b\u3092\u5831\u544a\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u306e\u4e21\u65b9\u304c\u671f\u5f85\u901a\u308a\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3068\u304d\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30ce\u30fc\u30c9\u306e <strong>\/proc\/drbd<\/strong> \u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\n  version: 8.4.0 (api:1\/proto:86-100)<br \/>\n  GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root@localhost.localdomain, 2012-02-06 12:59:36<br \/>\n0: cs:Connected ro:Primary\/Secondary ds:UpToDate\/UpToDate C r-----<br \/>\n      ns:4091788 nr:64 dw:112 dr:4092817 al:3 bm:252 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0<br \/>\n<\/code><\/p>\n<p>\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\n  version: 8.4.1 (api:1\/proto:86-100)<br \/>\n  GIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80 build by dag@Build64R6, 2011-12-21 06:08:50<br \/>\n0: cs:Connected ro:Secondary\/Primary ds:UpToDate\/UpToDate C r-----<br \/>\n      ns:0 nr:48 dw:48 dr:0 al:0 bm:2 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u306fDRBD\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8 <a href=\"http:\/\/www.drbd.org\/users-guide\/ch-admin.html\">http:\/\/www.drbd.org\/users-guide\/ch-admin.html<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u969c\u5bb3\u30b7\u30ca\u30ea\u30aa<\/h3>\n<p>4\u3064\u306e\u3088\u304f\u3042\u308b\u30b7\u30ca\u30ea\u30aa\u3092\u691c\u8a0e\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0 #2 \u304c\u7de9\u3084\u304b\u306b\u969c\u5bb3 (\u5168\u30c7\u30fc\u30bf\u304c\u540c\u671f)<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0 #2 \u304c\u3072\u3069\u3044\u969c\u5bb3 (\u30c7\u30fc\u30bf\u304c\u975e\u540c\u671f)<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0 #1 \u304c\u7de9\u3084\u304b\u306b\u969c\u5bb3 (\u5168\u30c7\u30fc\u30bf\u304c\u540c\u671f)<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0 #1 \u304c\u3072\u3069\u3044\u969c\u5bb3 (\u30c7\u30fc\u30bf\u304c\u975e\u540c\u671f)<\/li>\n<li>\u4e21\u65b9\u306e\u30db\u30b9\u30c8\u304c\u30bb\u30ab\u30f3\u30c0\u30ea\u3067\u8d77\u52d5\u3057\u3001Chef Server\u304c\u4e0d\u9069\u5207\u306a\u72b6\u614b\u306b<\/li>\n<\/ol>\n<h4>\u30b7\u30ca\u30ea\u30aa 1 \u3068 2<\/h4>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30b5\u30fc\u30d0\u306b\u969c\u5bb3\u304c\u767a\u751f\u3057\u305f\u969b\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u306eDRBD\u304c\u7de9\u3084\u304b\u306b\u505c\u6b62\u3059\u308b\u304b\u4e88\u671f\u305b\u306c\u505c\u6b62\u304c\u8d77\u304d\u305f\u304b\u306b\u95a2\u308f\u3089\u305a\u3001\u30de\u30b9\u30bf\u30fc\u306eDRBD\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30e2\u30fc\u30c9\u3068\u3057\u3066\u6a5f\u80fd\u3057\u7d9a\u3051\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30ea\u3067 <strong>drbdadm role pc0<\/strong> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001DRBD\u304c\u6a5f\u80fd\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[root@be1 opscode]# drbdadm role pc0<br \/>\nPrimary\/Unknown<br \/>\n[root@be1 opscode]#<br \/>\n<\/code><\/p>\n<p><strong>cat \/proc\/drbd<\/strong> \u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067\u3001\u5b8c\u5168\u306a\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code><br \/>\n  version: 8.4.0 (api:1\/proto:86-100)<br \/>\n  GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by    root@localhost.localdomain, 2012-02-06 12:59:36<br \/>\n0: cs:WFConnection ro:Primary\/Unknown ds:UpToDate\/DUnknown C r-----<br \/>\n      ns:672 nr:0 dw:24 dr:1697 al:2 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:130760<br \/>\n<\/code><\/p>\n<p>\u30c7\u30a3\u30b9\u30af\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u4f9d\u7136\u3068\u3057\u3066\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u3066\u3001\u901a\u5e38\u901a\u308a\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30bb\u30ab\u30f3\u30c0\u30ea\u304c\u518d\u3073\u5229\u7528\u53ef\u80fd\u306b\u306a\u3063\u305f\u3089\u3001\u6b21\u306e2\u70b9\u304c\u8d77\u3053\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30bb\u30ab\u30f3\u30c0\u30ea\u306e\u72b6\u614b\u304c\u624b\u52d5\u4fee\u5fa9\u306a\u3057\u3067 <strong>Inconsistent<\/strong> \u304b <strong>UpToDate<\/strong> \u3067\u3042\u308b\u5834\u5408\u3001\u3059\u3079\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/li>\n<li><strong>DUnknown<\/strong> \u306e\u307e\u307e\u306e\u5834\u5408\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u306eDRBD\u306f\u624b\u52d5\u3067\u518d\u8d77\u52d5\u3067\u304d\u3001\u540c\u671f\u3092\u958b\u59cb\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<strong>DUnknown<\/strong> \u306fDRBD\u304c\u30d1\u30fc\u30c8\u30ca\u30fc\u306b\u5bfe\u3059\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u3092\u898b\u3064\u3051\u3089\u308c\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><strong>\/prod\/drbd<\/strong> \u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306e\u9805\u76ee (<strong>oos<\/strong>) \u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u304c\u30d1\u30fc\u30c8\u30ca\u30fc\u3068\u3069\u308c\u3060\u3051\u540c\u671f\u304c\u305a\u308c\u3066\u3044\u308b\u304b\u3092\u793a\u3057\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u304c\u30c0\u30a6\u30f3\u3057\u3066\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u591a\u304f\u306e\u66f8\u304d\u8fbc\u307f\u304c\u3042\u308b\u5834\u5408\u3001\u3053\u306e\u6570\u5024\u306f\u5897\u3048\u7d9a\u3051\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nversion: 8.4.0 (api:1\/proto:86-100)<br \/>\nGIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root@localhost.localdomain, 2012-02-06 12:59:36<br \/>\n 0: cs:WFConnection ro:Primary\/Unknown ds:UpToDate\/DUnknown C r-----<br \/>\n     ns:5205048 nr:64 dw:1466728 dr:4180125 al:354 bm:261 lo:1667 pe:0 ua:0 ap:1665 ep:1 wo:b oos:361540<br \/>\n<\/code><\/p>\n<p>\u30c7\u30a3\u30b9\u30af\u304c\u540c\u671f\u6e08\u306e\u72b6\u614b\u306b\u623b\u308b\u3068\u3001\u3053\u306e\u9805\u76ee\u306f <strong>0<\/strong> \u306b\u623b\u308a\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u304c\u540c\u671f\u3057\u3066\u3044\u308b\u9593\u3001\u540c\u671f\u306e\u9032\u884c\u72b6\u6cc1\u306f\u4e21\u65b9\u306e\u30db\u30b9\u30c8\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nGIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80 build by dag@Build64R6, 2011-12-21 06:08:50<br \/>\n 0: cs:SyncTarget ro:Secondary\/Primary ds:Inconsistent\/UpToDate C r-----<br \/>\n    ns:0 nr:1263008 dw:1257888 dr:0 al:0 bm:60 lo:6 pe:8 ua:5 ap:0 ep:1 wo:f oos:1670512<br \/>\n        [======>.............] sync'ed: 36.3% (1670512\/2613068)K<br \/>\n        finish: 0:00:47 speed: 35,152 (18,124) want: 44,520 K\/sec<br \/>\n<\/code><\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nversion: 8.4.0 (api:1\/proto:86-100)<br \/>\nGIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root@localhost.localdomain, 2012-02-06 12:59:36<br \/>\n 0: cs:SyncSource ro:Primary\/Secondary ds:UpToDate\/Inconsistent C r-----<br \/>\n    ns:7259268 nr:64 dw:4279364 dr:5721317 al:949 bm:360 lo:5 pe:0 ua:5 ap:0 ep:1 wo:b oos:1121600<br \/>\n        [==========>.........] sync'ed: 57.3% (1121600\/2613068)K<br \/>\n        finish: 0:00:32 speed: 34,328 (21,304) K\/sec<br \/>\n<\/code><\/p>\n<p>\u7d50\u679c\u3068\u3057\u3066\u30db\u30b9\u30c8\u306f\u5b89\u5b9a\u72b6\u614b\u306e <strong>ds:UpToDate\/UpToDate<\/strong> \u3068\u306a\u308a\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u304c\u3069\u308c\u3060\u3051\u30c0\u30a6\u30f3\u3057\u3066\u3044\u305f\u304b\u3001\u305d\u306e\u9593\u306b\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u3069\u308c\u3060\u3051\u30c7\u30fc\u30bf\u304c\u66f8\u304d\u8fbc\u307e\u308c\u305f\u304b\u3001\u5171\u6709\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u3069\u308c\u3060\u3051\u306e\u901f\u5ea6\u304b\u306b\u4f9d\u5b58\u3057\u3066\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u77ac\u9593\u7684\u306b\u5b8c\u4e86\u3059\u308b\u304b\u6570\u5206\u304b\u304b\u308b\u304b\u3057\u307e\u3059\u3002\u3053\u306e\u5fa9\u65e7\u306e\u9593\u3001Chef Server\u306e\u30d7\u30ed\u30bb\u30b9\u306b\u5bfe\u3057\u3066\u624b\u52d5\u3067\u4f55\u304b\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u30bb\u30ab\u30f3\u30c0\u30ea\u30db\u30b9\u30c8\u304c\u5b8c\u5168\u306b\u5931\u308f\u308c\u305f\u5834\u5408\u3001\u65b0\u3057\u3044\u30db\u30b9\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30c7\u30d0\u30a4\u30b9\u3092\u69cb\u7bc9\u3057\u3001DRBD\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u65b0\u3057\u3044\u30db\u30b9\u30c8\u306f\u65e2\u5b58\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u3068\u7d44\u306b\u306a\u308a\u3001\u30c7\u30fc\u30bf\u3092\u540c\u671f\u3057\u3001\u5fc5\u8981\u306a\u3089\u5207\u308a\u66ff\u3048\u308b\u6e96\u5099\u72b6\u614b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30b7\u30ca\u30ea\u30aa 3<\/h3>\n<p>DRBD\u30d7\u30e9\u30a4\u30de\u30ea\u304c\u5229\u7528\u4e0d\u53ef\u80fd\u306b\u306a\u3063\u305f\u3068\u304d\u304b\u3089\u767a\u751f\u3059\u308b\u969c\u5bb3\u3067\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u306eDRBD\u30d7\u30ed\u30bb\u30b9\u306f\u3001<strong>drbd.conf<\/strong> \u30d5\u30a1\u30a4\u30eb\u306e\u30b9\u30d7\u30ea\u30c3\u30c8\u30d6\u30ec\u30a4\u30f3\u8a2d\u5b9a\u306b\u57fa\u3044\u3066\u3001\u81ea\u52d5\u7684\u306b\u5207\u308a\u66ff\u308f\u308b\u3079\u304d\u304b\u305d\u3046\u3067\u306a\u3044\u304b\u3092\u4eee\u5b9a\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u3001\u660e\u793a\u7684\u306a\u5207\u308a\u66ff\u3048\u306e\u958b\u59cb\u304c\u306a\u3044\u307e\u307e\u30d7\u30e9\u30a4\u30de\u30ea\u304c\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u5bfe\u3057\u3066\u5229\u7528\u4e0d\u53ef\u80fd\u306b\u306a\u308b\u3068\u3044\u3046\u72b6\u614b\u304c\u610f\u5473\u3059\u308b\u3053\u3068\u306f\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u306f\u81ea\u5206\u81ea\u8eab\u304c\u554f\u984c\u306e\u3042\u308b <strong>split-brained<\/strong> \u30db\u30b9\u30c8\u3067\u3042\u308a\u3001\u63a5\u7d9a\u3055\u308c\u3066\u304a\u3089\u305a\u6b63\u78ba\u3067\u306a\u3044\u3068\u4eee\u5b9a\u3057\u307e\u3059\u3002\u81ea\u52d5\u7684\u306a\u52d5\u4f5c\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u30bb\u30ab\u30f3\u30c0\u30ea\u306e\u72b6\u614b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nversion: 8.4.1 (api:1\/proto:86-100)<br \/>\nGIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80 build by dag@Build64R6, 2011-12-21 06:08:50<br \/>\n 0: cs:WFConnection ro:Secondary\/Unknown ds:UpToDate\/DUnknown C r-----<br \/>\n    ns:0 nr:3505480 dw:4938128 dr:0 al:0 bm:290 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n<\/code><\/p>\n<p><strong>ds:UpToDate\/Unknown<\/strong> \u304c\u91cd\u8981\u3067\u3059\u3002\u3053\u308c\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3057\u3066\u3044\u3066\u3001\u6607\u683c\u3057\u3066\u3082\u4f55\u3082\u5931\u308f\u308c\u306a\u3044\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u30db\u30b9\u30c8\u304c\u3057\u3070\u3089\u304f\u306e\u9593\u30c0\u30a6\u30f3\u3059\u308b\u3068\u78ba\u8a8d\u3055\u308c\u3066\u3044\u308b\u306a\u3089\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u3092\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ drbdadm primary pc0<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u72b6\u614b\u306f\u6b21\u306e\u3088\u3046\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nversion: 8.4.1 (api:1\/proto:86-100)<br \/>\nGIT-hash: 91b4c048c1a0e06777b5f65d312b38d47abaea80 build by dag@Build64R6, 2011-12-21 06:08:50<br \/>\n 0: cs:WFConnection ro:Primary\/Unknown ds:UpToDate\/DUnknown C r-----<br \/>\n    ns:0 nr:3505480 dw:4938128 dr:672 al:0 bm:290 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n<\/code><\/p>\n<p><strong>ro<\/strong> \u304c <strong>ro:Primary\/Unknown<\/strong> \u306b\u306a\u3063\u305f\u3053\u3068\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3067Chef Server\u3092\u5fa9\u65e7\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ chef-server-ctl master-recover<br \/>\n<\/code><\/p>\n<p>\u8a2d\u5b9a\u3055\u308c\u305f\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u3001Chef Server\u306f\u3053\u306e\u30db\u30b9\u30c8\u3067\u30de\u30b9\u30bf\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5143\u3005\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u304c\u30aa\u30f3\u30e9\u30a4\u30f3\u306b\u5fa9\u5e30\u3057\u305f\u3089\u3001Keepalived\u306b\u3088\u3063\u3066\u8d77\u52d5\u3055\u308c\u308b\u30af\u30e9\u30b9\u30bf\u7ba1\u7406\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3001\u305d\u306e\u30db\u30b9\u30c8\u306e\u5143\u3005\u306e\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u30de\u30b9\u30bf\u30fc\u306e\u72b6\u614b\u306b\u57fa\u304d\u3001DRBD\u306e\u5207\u308a\u66ff\u3048\u3092\u8a66\u307f\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u81ea\u8eab\u3092DRBD\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u3088\u3046\u3068\u8a66\u307f\u307e\u3059\u304c\u3001\u30db\u30b9\u30c8\u304c\u30c0\u30a6\u30f3\u3057\u3066\u3044\u308b\u9593\u306b\u5b8c\u5168\u306b\u30c7\u30a3\u30b9\u30af\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u306a\u3089\u6607\u683c\u306f\u5931\u6557\u3057\u3001Keepalived\u306f\u5143\u3005\u306e\u30de\u30b9\u30bf\u30fc\u3078\u623b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u305b\u3093\u3002\u7b2c2\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306fDRBD\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u30de\u30b9\u30bf\u30fc\u3068\u3057\u3066\u3001\u30b5\u30fc\u30d0\u7fa4\u306f\u3088\u3044\u72b6\u614b\u306b\u7f6e\u304b\u308c\u307e\u3059\u3002<\/p>\n<p>\u7b2c1\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306eDRBD\u306f\u7b2c2\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306b\u540c\u671f\u3057\u3001\u30af\u30ea\u30fc\u30f3\u306a\u30bb\u30ab\u30f3\u30c0\u30eaFQDN\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30b7\u30ca\u30ea\u30aa 4<\/h3>\n<p>\u3053\u308c\u307e\u3067\u306e\u30b7\u30ca\u30ea\u30aa\u306f\u30c7\u30fc\u30bf\u30ed\u30b9\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002HA\u69cb\u6210\u306e\u30db\u30b9\u30c8\u306e\u30da\u30a2\u304c\u540c\u671f\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u3069\u3061\u3089\u304b\u4e00\u65b9\u304c\u5931\u308f\u308c\u3066\u3082\u30c7\u30fc\u30bf\u306f\u4fdd\u6301\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u30db\u30b9\u30c8\u304c\u5931\u308f\u308c\u3066\u5fa9\u65e7\u4e0d\u53ef\u80fd\u3068\u3044\u3046\u72b6\u6cc1\u306b\u306a\u308a\u3001DRBD\u30da\u30a2\u306e\u6700\u65b0\u72b6\u614b\u306b\u3066\u30bb\u30ab\u30f3\u30c0\u30ea\u30ce\u30fc\u30c9\u304c <strong>Inconsistent<\/strong> \u306e\u72b6\u614b\u3068\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u4f55\u3089\u304b\u306e\u30c7\u30fc\u30bf\u304c\u5931\u308f\u308c\u305f\u53ef\u80fd\u6027\u304c\u975e\u5e38\u306b\u9ad8\u3044\u3067\u3059\u3002\u6b8b\u3063\u305f\u30db\u30b9\u30c8\u306eDRBD\u72b6\u614b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code><br \/>\nversion: 8.4.0 (api:1\/proto:86-100)<br \/>\nGIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root@localhost.localdomain, 2012-02-06 12:59:36<br \/>\n0: cs:WFConnection ro:Secondary\/Unknown ds:Inconsistent\/DUnknown C r-----<br \/>\n   ns:0 nr:210572 dw:210572 dr:0 al:0 bm:13 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:40552<br \/>\n<\/code><\/p>\n<p>chef-repo\u306b\u304a\u3051\u308bCookbook\u3084\u305d\u306e\u4ed6\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u5341\u5206\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306b\u9650\u308a\u3001\u30af\u30e9\u30b9\u30bf\u304c\u5fa9\u65e7\u3057\u305f\u5f8c\u3067\u4f55\u304b\u6b20\u3051\u3066\u3057\u307e\u3063\u305f\u3082\u306e\u306f\u518d\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3044\u304f\u3064\u304b\u306e\u5834\u5408\u306b\u304a\u3044\u3066\u3001\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305fUser\u3084Organization\u306f\u518d\u4f5c\u6210\u306e\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30af\u30e9\u30b9\u30bf\u304c <strong>Inconsistent<\/strong> \u72b6\u614b\u306e\u9593\u306b\u884c\u308f\u308c\u305f\u3001\u305d\u306e\u4ed6\u306eChef\u306e\u52d5\u4f5c\u3084\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306f\u5931\u6557\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30af\u30e9\u30b9\u30bf\u304c\u5fa9\u65e7\u3057\u305f\u5f8c\u306f\u6210\u529f\u3059\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u304c\u5931\u308f\u308c\u3066\u3057\u307e\u3044\u3001\u305d\u306e\u9593\u306b\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u304c <strong>Inconsistent<\/strong> \u72b6\u614b\u3068\u306a\u308a\u3001\u65e9\u6025\u306b\u5fa9\u65e7\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u6700\u5584\u7b56\u306f\u4ed6\u306e\u30db\u30b9\u30c8\u306b\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3092\u884c\u3044\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u65b0\u3057\u3044Chef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d1\u30fc\u30c8\u30ca\u30fc\u3068\u3057\u3066\u69cb\u7bc9\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u65b0\u3057\u3044\u30db\u30b9\u30c8\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u7570\u306a\u308bIP\u30a2\u30c9\u30ec\u30b9\u3092\u6301\u3064\u5834\u5408\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u8a2d\u5b9a\u306e\u5909\u66f4\u3057\u3066\u304b\u3089\u3001\u518d\u8a2d\u5b9a\u306e\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u72b6\u6cc1\u3067\u306fChef Server\u304c\u7570\u5e38\u52d5\u4f5c\u3092\u8d77\u3053\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001<strong>chef-server-ctl stop<\/strong> \u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u30c7\u30fc\u30e2\u30f3\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65e6\u65b0\u3057\u3044\u30db\u30b9\u30c8\u304c\u8a8d\u8b58\u3055\u308c\u3001\u305d\u306e\u30db\u30b9\u30c8\u306eDRBD\u30c7\u30d0\u30a4\u30b9\u306e\u6e96\u5099\u304c\u6574\u3063\u305f\u306a\u3089\u3001DRBD\u3092\u8d77\u52d5\u3057\u3066\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u306e\u901a\u4fe1\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u30b5\u30fc\u30d0\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u3068\u306a\u308b\u3079\u304d\u3067\u306f\u306a\u304f\u3001\u53e4\u3044\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u306e\u5fa9\u5e30\u3092\u5f85\u3064\u3079\u304d\u3067\u3059\u3002\u65b0\u3057\u3044\u30db\u30b9\u30c8\u3067DRBD\u3092\u8d77\u52d5\u3057\u305f\u3089\u3001\u6b63\u3057\u3044\u30dd\u30fc\u30c8\u3067\u5f85\u3061\u53d7\u3051\u3057\u3066\u3044\u308b\u304b\u3001<strong>\/proc\/drbd<\/strong> \u306b\u3066\u30db\u30b9\u30c8\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u304c <strong>WFConnect: waiting for connection<\/strong> \u72b6\u614b\u3092\u793a\u3057\u3066\u3044\u308b\u304b\u3001\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p>\u65b0\u3057\u3044\u30ce\u30fc\u30c9\u304c\u8d77\u52d5\u3059\u308b\u307e\u3067\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306f <strong>standalone<\/strong> \u30e2\u30fc\u30c9\u3001\u3059\u306a\u308f\u3061\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30dd\u30fc\u30c8\u3092\u3082\u306f\u3084\u5f85\u3061\u53d7\u3051\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u3067\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u304c\u65b0\u3057\u3044\u30ce\u30fc\u30c9\u3068\u901a\u4fe1\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ drbdadm primary --force pc0<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n$ drbdadm connect pc0<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u6642\u70b9\u3067\u3001\u65b0\u3057\u3044\u30db\u30b9\u30c8\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u540c\u671f\u3092\u958b\u59cb\u3057\u307e\u3059\u3002\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306f\u65e2\u306b\u5b58\u5728\u3057\u306a\u3044\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u304b\u3089\u5931\u308f\u308c\u305f\u30c7\u30fc\u30bf\u306b\u95a2\u3059\u308b\u3059\u3079\u3066\u3092\u5fd8\u308c\u3066\u3001Chef Server\u306e\u5fa9\u65e7\u30d7\u30ed\u30bb\u30b9\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d7\u30e9\u30a4\u30de\u30ea\u30db\u30b9\u30c8\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u30db\u30b9\u30c8\u9593\u3092\u9ad8\u901f\u306a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3067\u63a5\u7d9a\u3057\u3001DRBD\u306e\u8ee2\u9001\u3092\u6700\u9ad8\u901f\u306b\u4fdd\u3064\u3053\u3068\u304c\u3001\u540c\u671f\u3067\u304d\u3066\u3044\u306a\u3044\u30af\u30e9\u30b9\u30bf\u304b\u3089\u30d7\u30e9\u30a4\u30de\u30ea\u306e\u55aa\u5931\u306b\u3088\u308b\u30c0\u30e1\u30fc\u30b8\u3092\u5927\u3044\u306b\u8efd\u6e1b\u3059\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30b7\u30ca\u30ea\u30aa 5<\/h3>\n<p>\u3068\u304d\u3069\u304dDRBD\u306f\u5b89\u5168\u3092\u671f\u3057\u3066\u3001\u30da\u30a2\u306e\u4e21\u65b9\u306e\u30ce\u30fc\u30c9\u3092\u30bb\u30ab\u30f3\u30c0\u30ea\u30e2\u30fc\u30c9\u3068\u3057\u307e\u3059\u3002\u3053\u306e\u72b6\u614b\u306b\u306a\u3063\u305f\u3089\u3001\u4e21\u30db\u30b9\u30c8\u306e <strong>\/proc\/drbd<\/strong> \u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3001\u3069\u3061\u3089\u304b\u304c\u540c\u671f\u3057\u3066\u3044\u306a\u3044\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u4e21\u65b9\u3068\u3082 <strong>oos:0<\/strong> \u306e\u5834\u5408\u3001\u3069\u3061\u3089\u304b1\u3064\u3092\u9078\u3093\u3067 <strong>drbdadm primary pc0<\/strong> \u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3055\u305b\u307e\u3059\u3002\u4e21\u65b9\u3082\u3057\u304f\u306f\u7247\u65b9\u306e\u30db\u30b9\u30c8\u306e\u540c\u671f\u304c\u53d6\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001<strong>oos<\/strong> \u306e\u6570\u5024\u304c\u4f4e\u3044\u307b\u3046\u3092\u9078\u3073\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3055\u305b\u307e\u3059\u3002<\/p>\n<p>\u9078\u3093\u3060\u30ce\u30fc\u30c9\u304c\u6607\u683c\u3057\u306a\u3044\u5834\u5408\u3001\u3082\u3046\u7247\u65b9\u306e\u30db\u30b9\u30c8\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c7\u30a3\u30b9\u30af\u306e\u72b6\u614b\u3092\u30ea\u30bb\u30c3\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n$ drbdadm wipe-md pc0<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n$ drbdadm create-md pc0<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u306f DRBD \u306b\u30ce\u30fc\u30c9\u306e\u30c7\u30fc\u30bf\u3092\u653e\u68c4\u3057\u3066\u6700\u521d\u304b\u3089\u3084\u308a\u76f4\u3057\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u540c\u671f\u3059\u308b\u3088\u3046\u6307\u793a\u3057\u307e\u3059\u3002<\/p>\n<h2>AWS<\/h2>\n<p>Chef Server\u306eHA\u69cb\u6210\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066Amazon Web Services\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><!-- http:\/\/docs.getchef.com\/_images\/chef_server_ha_aws.png \/\/--><a href=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_aws.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_aws.png\" alt=\"chef_server_ha_aws\" width=\"560\" height=\"600\" class=\"alignnone size-full wp-image-6476\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_aws.png 560w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_aws-336x360.png 336w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_aws-88x95.png 88w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>\u30de\u30b7\u30f3\u306fAmazon Elastic Block Store\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3068\u3057\u3066\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002\u30d1\u30c3\u30b7\u30d6\u30ce\u30fc\u30c9\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u30ce\u30fc\u30c9\u306e\u6709\u52b9\u6027\u3092\u76e3\u8996\u3057\u3001\u5fc5\u8981\u304c\u3042\u308c\u3070\u30c6\u30a4\u30af\u30aa\u30fc\u30d0\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>Amazon Elastic Block Store\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u306f <a href=\"http:\/\/aws.amazon.com\/ebs\/\">http:\/\/aws.amazon.com\/ebs\/<\/a> \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>Amazon Web Services\u306bHA\u69cb\u6210\u306eChef Server\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u304b\u306e\u8a73\u3057\u3044\u60c5\u5831\u306f <a href=\"http:\/\/docs.getchef.com\/install_server_ha_aws.html\">High Availability: AWS<\/a> (\u8a33\u6ce8: <a href=\"\/lab\/6530\">\u548c\u8a33<\/a>) \u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>HA\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u78ba\u8a8d<\/h2>\n<p><strong>\/_status<\/strong> \u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u901a\u4fe1\u72b6\u614b\u306e\u78ba\u8a8d\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e <strong>\/_status<\/strong> \u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u30ea\u30af\u30a8\u30b9\u30c8<\/h3>\n<p><code lang=\"ruby\"><br \/>\napi.get(\"https:\/\/chef_server.front_end.url\/_status\")<br \/>\n<\/code><\/p>\n<p>\u3053\u306e\u30e1\u30bd\u30c3\u30c9\u306f\u30ea\u30af\u30a8\u30b9\u30c8\u30dc\u30c7\u30a3\u3092\u6301\u3061\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9<\/h3>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n{<br \/>\n  \"status\" => \"pong\",<br \/>\n  \"upstreams\" =><br \/>\n    {<br \/>\n      \"service_name\" => \"pong\",<br \/>\n      \"service_name\" => \"pong\",<br \/>\n      ...<br \/>\n    }<br \/>\n}<br \/>\n<\/code><\/p>\n<h3>\u30ec\u30b9\u30dd\u30f3\u30b9\u30b3\u30fc\u30c9<\/h3>\n<table border=\"border\">\n<tr>\n<th width=\"180\">\u30ec\u30b9\u30dd\u30f3\u30b9\u30b3\u30fc\u30c9<\/th>\n<th width=\"320\">\u8aac\u660e<\/th>\n<\/tr>\n<tr>\n<td><strong>200<\/strong><\/td>\n<td>\u3059\u3079\u3066\u306e\u901a\u4fe1\u304c\u6b63\u5e38<\/td>\n<\/tr>\n<tr>\n<td><strong>500<\/strong><\/td>\n<td>\n\t\t1\u3064\u4ee5\u4e0a\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u505c\u6b62\u3002\u4f8b:<br \/>\n<code lang=\"ruby\" width=\"300\"><br \/>\n{<br \/>\n  \"status\":\"fail\",<br \/>\n  \"upstreams\":<br \/>\n    {<br \/>\n      \"service_name\":\"fail\",<br \/>\n      \"service_name\":\"pong\",<br \/>\n      ...<br \/>\n    }<br \/>\n}<br \/>\n<\/code>\n\t<\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA) Chef Server \u306f\u3001\u30b7\u30b9\u30c6\u30e0\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u306b\u304a\u3051\u308b\u30b9\u30c6\u30fc\u30c8\u30d5 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":6477,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-6474","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chef"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)\" \/>\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.creationline.com\/tech-blog\/6474\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/6474\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-01T02:30:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-12T03:55:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png\" \/>\n\t<meta property=\"og:image:width\" content=\"560\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja\",\"datePublished\":\"2014-12-01T02:30:14+00:00\",\"dateModified\":\"2015-03-12T03:55:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474\"},\"wordCount\":257,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/11\\\/chef_server_ha_drbd.png\",\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474\",\"name\":\"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/11\\\/chef_server_ha_drbd.png\",\"datePublished\":\"2014-12-01T02:30:14+00:00\",\"dateModified\":\"2015-03-12T03:55:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\\\/11\\\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#primaryimage\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/11\\\/chef_server_ha_drbd.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2014\\\/11\\\/chef_server_ha_drbd.png\",\"width\":560,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6474#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Chef\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)","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.creationline.com\/tech-blog\/6474","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)","og_url":"https:\/\/www.creationline.com\/tech-blog\/6474","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2014-12-01T02:30:14+00:00","article_modified_time":"2015-03-12T03:55:52+00:00","og_image":[{"width":560,"height":600,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/6474#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja","datePublished":"2014-12-01T02:30:14+00:00","dateModified":"2015-03-12T03:55:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474"},"wordCount":257,"commentCount":0,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png","articleSection":["Chef"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/6474#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/6474","url":"https:\/\/www.creationline.com\/tech-blog\/6474","name":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png","datePublished":"2014-12-01T02:30:14+00:00","dateModified":"2015-03-12T03:55:52+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef |\u3053\u306e\u8a18\u4e8b\u306f High Availability \u306e 2014\/11\/20 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u9ad8\u53ef\u7528\u6027 (High Availability, HA)","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6474#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/6474"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/6474#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2014\/11\/chef_server_ha_drbd.png","width":560,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/6474#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Chef","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef"},{"@type":"ListItem","position":4,"name":"[\u548c\u8a33] Chef High Availability #opschef_ja #getchef_ja"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=6474"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6474\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/6477"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}