{"id":6815,"date":"2015-01-28T11:30:21","date_gmt":"2015-01-28T02:30:21","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6815"},"modified":"2023-08-29T13:58:00","modified_gmt":"2023-08-29T04:58:00","slug":"drbd%e3%82%92%e7%94%a8%e3%81%84%e3%81%9fha%e6%a7%8b%e6%88%90%e3%81%aechef-server%e3%82%af%e3%83%a9%e3%82%b9%e3%82%bf%e3%81%ae%e3%83%97%e3%83%a9%e3%82%a4%e3%83%9e%e3%83%aa%e3%83%bb%e3%82%bb%e3%82%ab","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815","title":{"rendered":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef"},"content":{"rendered":"<p><a href=\"\/lab\/6782\">\u524d\u56de<\/a>\u3001<a href=\"http:\/\/docs.chef.io\/server_high_availability.html\">DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf<\/a>\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002<br \/>\n\u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306e<a href=\"http:\/\/docs.chef.io\/server_high_availability.html#graceful-transitions\">Graceful Transitions<\/a>(\u3086\u308b\u3084\u304b\u306a\u79fb\u884c)\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u25a0<a href=\"#prerequisites\" name=\"prerequisites\">\u524d\u63d0<\/a><\/h2>\n<h3>\u74b0\u5883<\/h3>\n<ul>\n<li>\u74b0\u5883: QEMU+KVM\u4eee\u60f3\u74b0\u5883<\/li>\n<li>\u30d1\u30d6\u30ea\u30c3\u30af\u30cd\u30c3\u30c8\u30ef\u30fc\u30af: 192.168.122.0\/24<\/li>\n<li>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af: 192.168.100.0\/24<\/li>\n<li>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9: 1\u53f0<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9: 2\u53f0<\/li>\n<li>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5: \u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c91\u53f0\u306e\u305f\u3081\u4e0d\u8981<\/li>\n<li>\u540d\u524d\u89e3\u6c7a: \u5168\u30de\u30b7\u30f3\u306e\/etc\/hosts\u306b\u8a18\u8f09 (\u53c2\u8003:<a href=\"http:\/\/docs.chef.io\/install_server_pre.html#hostnames\">Hostnames<\/a>)<\/li>\n<li>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb: \u30c6\u30b9\u30c8\u306e\u305f\u3081\u5168\u89e3\u653e (\u53c2\u8003:<a href=\"http:\/\/docs.chef.io\/install_server_ha_drbd.html#firewalls\">Firewalls<\/a>)<\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305fChef Server: chef-server-core-12.0.1-1.x86_64.rpm<\/li>\n<\/ul>\n<h3>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9<\/h3>\n<ul>\n<li>IP\u30a2\u30c9\u30ec\u30b9: 192.168.122.101<\/li>\n<li>\u30db\u30b9\u30c8\u540d: fe1.example.jp<\/li>\n<li>OS: RHEL6.5<\/li>\n<li>\u30e1\u30e2\u30ea: 4GB<\/li>\n<li>\u30c7\u30a3\u30b9\u30af: 10GB (qcow2)<\/li>\n<\/ul>\n<ul>\n<li>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u5171\u6709\u30db\u30b9\u30c8\u540d: chef-server.example.jp<\/li>\n<\/ul>\n<h3>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9<\/h3>\n<ul>\n<li>\u30d1\u30d6\u30ea\u30c3\u30afIP\u30a2\u30c9\u30ec\u30b9: 192.168.122.111<\/li>\n<li>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9: 192.168.100.111<\/li>\n<li>\u30db\u30b9\u30c8\u540d: be1.example.jp<\/li>\n<li>OS: RHEL6.5<\/li>\n<li>\u30e1\u30e2\u30ea: 8GB<\/li>\n<li>\u30c7\u30a3\u30b9\u30af: 10GB (qcow2) + 5GB (qcow2)<\/li>\n<\/ul>\n<ul>\n<li>\u30d1\u30d6\u30ea\u30c3\u30afIP\u30a2\u30c9\u30ec\u30b9: 192.168.122.112<\/li>\n<li>\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8IP\u30a2\u30c9\u30ec\u30b9: 192.168.100.112<\/li>\n<li>\u30db\u30b9\u30c8\u540d: be2.example.jp<\/li>\n<li>OS: RHEL6.5<\/li>\n<li>\u30e1\u30e2\u30ea: 8GB<\/li>\n<li>\u30c7\u30a3\u30b9\u30af: 10GB (qcow2) + 5GB (qcow2)<\/li>\n<\/ul>\n<ul>\n<li>\u5171\u6709\u3059\u308b\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9: 192.168.122.110<\/li>\n<li>\u30db\u30b9\u30c8\u540d: be.example.jp<\/li>\n<\/ul>\n<h2>\u25a0<a href=\"#precheck\" name=\"precheck\">\u4e8b\u524d\u306e\u72b6\u614b\u78ba\u8a8d<\/a><\/h2>\n<p>\u307e\u305a\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3>be1.example.jp (\u30d7\u30e9\u30a4\u30de\u30ea)<\/h3>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl status<br \/>\nrun: bookshelf: (pid 1636) 201s, normally down; run: log: (pid 697) 233s<br \/>\nrun: keepalived: (pid 711) 233s; run: log: (pid 704) 233s<br \/>\nrun: nginx: (pid 1672) 200s, normally down; run: log: (pid 703) 233s<br \/>\nrun: oc_bifrost: (pid 1682) 198s, normally down; run: log: (pid 699) 233s<br \/>\nrun: oc_id: (pid 1712) 196s, normally down; run: log: (pid 705) 233s<br \/>\nrun: opscode-erchef: (pid 1723) 194s, normally down; run: log: (pid 700) 233s<br \/>\nrun: opscode-expander: (pid 1740) 192s, normally down; run: log: (pid 706) 233s<br \/>\nrun: opscode-expander-reindexer: (pid 1758) 189s, normally down; run: log: (pid 698) 233s<br \/>\nrun: opscode-solr4: (pid 1782) 187s, normally down; run: log: (pid 707) 233s<br \/>\nrun: postgresql: (pid 1805) 185s, normally down; run: log: (pid 702) 233s<br \/>\nrun: rabbitmq: (pid 1830) 184s, normally down; run: log: (pid 709) 233s<br \/>\nrun: redis_lb: (pid 2146) 168s, normally down; run: log: (pid 701) 233s<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u5168\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = master<br \/>\n[OK] found VIP IP address and I am master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is running correctly, and I am master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is running correctly, and I am master.<br \/>\n[OK] oc_bifrost is running correctly, and I am master.<br \/>\n[OK] oc_id is running correctly, and I am master.<br \/>\n[OK] opscode-chef-mover is running.<br \/>\n[OK] opscode-erchef is running correctly, and I am master.<br \/>\n[OK] opscode-expander is running correctly, and I am master.<br \/>\n[OK] opscode-expander-reindexer is running correctly, and I am master.<br \/>\n[OK] opscode-solr4 is running correctly, and I am master.<br \/>\n[OK] postgresql is running correctly, and I am master.<br \/>\n[OK] rabbitmq is running correctly, and I am master.<br \/>\n[OK] redis_lb is running correctly, and I am master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u306f\u30de\u30b9\u30bf\u30fc(<strong>cluster status = master<\/strong>)\u3067\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u304c\u52d5\u4f5c(<strong>is running<\/strong>)\u3057\u3066\u304a\u308a\u3001\u30de\u30b9\u30bf\u30fc(<strong>I am master<\/strong>)\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Primary\/Secondary ds:UpToDate\/UpToDate C r-----<br \/>\nns:109744 nr:0 dw:39616 dr:110957 al:18 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Primary\/Secondary UpToDate\/UpToDate \/var\/opt\/opscode\/drbd\/data ext4 4.0G 160M 3.6G 5%<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u306f\u5bfe\u5411\u30ce\u30fc\u30c9\u3068\u63a5\u7d9a(<strong>Connected<\/strong>)\u3057\u3066\u304a\u308a\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30ed\u30fc\u30eb(<strong>Primary<\/strong>)\u3067\u52d5\u4f5c\u3057\u3001\u30c7\u30fc\u30bf\u304c\u4e00\u81f4\u3057\u3066\u6700\u65b0\u306e\u72b6\u614b(<strong>UpToDate<\/strong>)\u3067\u3059\u3002<\/p>\n<h3>be2.example.jp (\u30bb\u30ab\u30f3\u30c0\u30ea)<\/h3>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl status<br \/>\ndown: bookshelf: 137s; run: log: (pid 697) 137s<br \/>\nrun: keepalived: (pid 704) 137s; run: log: (pid 692) 137s<br \/>\ndown: nginx: 137s; run: log: (pid 699) 137s<br \/>\ndown: oc_bifrost: 137s; run: log: (pid 702) 137s<br \/>\ndown: oc_id: 137s; run: log: (pid 693) 137s<br \/>\ndown: opscode-erchef: 137s; run: log: (pid 701) 137s<br \/>\ndown: opscode-expander: 137s; run: log: (pid 703) 137s<br \/>\ndown: opscode-expander-reindexer: 137s; run: log: (pid 694) 137s<br \/>\ndown: opscode-solr4: 137s; run: log: (pid 695) 137s<br \/>\ndown: postgresql: 137s; run: log: (pid 698) 137s<br \/>\ndown: rabbitmq: 137s; run: log: (pid 696) 137s<br \/>\ndown: redis_lb: 137s; run: log: (pid 700) 137s<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u30af\u30e9\u30b9\u30bf\u306e\u72b6\u614b\u3092\u7ba1\u7406\u3059\u308b keepalived \u4ee5\u5916\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u505c\u6b62\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = backup<br \/>\n[OK] did not find VIP IP address and I am not master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is not running, and I am not master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is not running, and I am not master.<br \/>\n[OK] oc_bifrost is not running, and I am not master.<br \/>\n[OK] oc_id is not running, and I am not master.<br \/>\n[OK] opscode-erchef is not running, and I am not master.<br \/>\n[OK] opscode-expander is not running, and I am not master.<br \/>\n[OK] opscode-expander-reindexer is not running, and I am not master.<br \/>\n[OK] opscode-solr4 is not running, and I am not master.<br \/>\n[OK] postgresql is not running, and I am not master.<br \/>\n[OK] rabbitmq is not running, and I am not master.<br \/>\n[OK] redis_lb is not running, and I am not master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u306f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7(<strong>cluster status = backup<\/strong>)\u3067\u3001keepalived \u4ee5\u5916\u306e\u5404\u30b5\u30fc\u30d3\u30b9\u306f\u505c\u6b62(<strong>is not running<\/strong>)\u3057\u3066\u304a\u308a\u3001\u30b9\u30ec\u30fc\u30d6(<strong>I am not master<\/strong>)\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3071\u3063\u3068\u898b\u3067<strong>not<\/strong>\u304c\u308f\u304b\u308a\u3065\u3089\u3044\u306e\u3067\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Secondary\/Primary ds:UpToDate\/UpToDate C r-----<br \/>\nns:0 nr:109744 dw:109744 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Secondary\/Primary UpToDate\/UpToDate<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u306f\u5bfe\u5411\u30ce\u30fc\u30c9\u3068\u63a5\u7d9a(<strong>Connected<\/strong>)\u3057\u3066\u304a\u308a\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u30ed\u30fc\u30eb(<strong>Secondary<\/strong>)\u3067\u52d5\u4f5c\u3057\u3001\u30c7\u30fc\u30bf\u304c\u4e00\u81f4\u3057\u3066\u3044\u3066\u6700\u65b0\u306e\u72b6\u614b(<strong>UpToDate<\/strong>)\u3067\u3059\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d<\/h3>\n<p>\u3053\u3053\u3067\u306f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6e08\u306e Cookbook \u3060\u3051\u3092\u7c21\u5358\u306b\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@ws chef-repo]$ knife cookbook list<br \/>\napt               2.6.1<br \/>\nbluepill          2.3.1<br \/>\nbuild-essential   2.1.3<br \/>\nnginx             2.7.4<br \/>\nohai              2.0.1<br \/>\nrsyslog           1.13.0<br \/>\nrunit             1.5.12<br \/>\nstarter           1.0.0<br \/>\nyum               3.5.2<br \/>\nyum-epel          0.6.0<br \/>\n[redhat@ws chef-repo]$<br \/>\n<\/code><\/p>\n<h2>\u25a0<a href=\"#graceful-transitions\" name=\"graceful-transitions\">\u3086\u308b\u3084\u304b\u306a\u79fb\u884c<\/a><\/h2>\n<p>\u3067\u306f\u3001\u3086\u308b\u3084\u304b\u306a\u79fb\u884c (<a href=\"http:\/\/docs.chef.io\/server_high_availability.html#graceful-transitions\">Graceful Transitions<\/a>) \u3092\u884c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u7279\u306b\u969c\u5bb3\u304c\u8d77\u3053\u3063\u3066\u3044\u306a\u3044\u72b6\u6cc1\u3067\u306e\u79fb\u884c\u3067\u3059\u3002<\/p>\n<h3>be1.example.jp\u3092\u30d7\u30e9\u30a4\u30de\u30ea\u304b\u3089\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u964d\u683c<\/h3>\n<p>\u73fe\u5728\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u3042\u308b be1.example.jp \u306e keepalived \u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl stop keepalived<br \/>\nok: down: keepalived: 0s, normally up<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>keepalived \u3092\u505c\u6b62\u3059\u308b\u3068\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u59cb\u307e\u308a\u307e\u3059\u3002\u73fe\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u306f\u3001<\/p>\n<ul>\n<li>\u4eee\u60f3 IP \u30a2\u30c9\u30ec\u30b9\u3092\u524a\u9664<\/li>\n<li>\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62<\/li>\n<li>DRBD \u306e\u30a2\u30f3\u30de\u30a6\u30f3\u30c8<\/li>\n<li>DRBD \u306e\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c<\/li>\n<\/ul>\n<p>\u304c\u884c\u308f\u308c\u3001\u73fe\u30bb\u30ab\u30f3\u30c0\u30ea\u3067\u306f\u305d\u306e\u9006\u304c\u884c\u308f\u308c\u308b\u306e\u3067\u3001\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3059\u3002<br \/>\n\u72b6\u6cc1\u306f <strong>chef-server-ctl status<\/strong> \u30b3\u30de\u30f3\u30c9\u3084 <strong>chef-server-ctl ha-status<\/strong> \u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u79fb\u884c\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl status<br \/>\ndown: bookshelf: 25s; run: log: (pid 697) 679s<br \/>\ndown: keepalived: 44s, normally up; run: log: (pid 704) 679s<br \/>\ndown: nginx: 28s; run: log: (pid 703) 680s<br \/>\ndown: oc_bifrost: 29s; run: log: (pid 699) 680s<br \/>\ndown: oc_id: 31s; run: log: (pid 705) 680s<br \/>\ndown: opscode-erchef: 33s; run: log: (pid 700) 680s<br \/>\ndown: opscode-expander: 35s; run: log: (pid 706) 680s<br \/>\ndown: opscode-expander-reindexer: 37s; run: log: (pid 698) 680s<br \/>\ndown: opscode-solr4: 38s; run: log: (pid 707) 680s<br \/>\ndown: postgresql: 41s; run: log: (pid 702) 680s<br \/>\ndown: rabbitmq: 42s; run: log: (pid 709) 680s<br \/>\ndown: redis_lb: 44s; run: log: (pid 701) 680s<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u3059\u3079\u3066\u505c\u6b62\u3057\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = backup<br \/>\n[OK] did not find VIP IP address and I am not master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is not running, and I am not master.<br \/>\n[ERROR] keepalived is not running.<br \/>\n[OK] nginx is not running, and I am not master.<br \/>\n[OK] oc_bifrost is not running, and I am not master.<br \/>\n[OK] oc_id is not running, and I am not master.<br \/>\n[OK] opscode-chef-mover is running.<br \/>\n[OK] opscode-erchef is not running, and I am not master.<br \/>\n[OK] opscode-expander is not running, and I am not master.<br \/>\n[OK] opscode-expander-reindexer is not running, and I am not master.<br \/>\n[OK] opscode-solr4 is not running, and I am not master.<br \/>\n[OK] postgresql is not running, and I am not master.<br \/>\n[OK] rabbitmq is not running, and I am not master.<br \/>\n[OK] redis_lb is not running, and I am not master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[ERROR] ERRORS WERE DETECTED.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u304c\u30d0\u30c3\u30af\u30a2\u30c3\u30d7(<strong>cluster status = backup<\/strong>)\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Secondary\/Primary ds:UpToDate\/UpToDate C r-----<br \/>\nns:108304 nr:28516 dw:58996 dr:84705 al:17 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Secondary\/Primary UpToDate\/UpToDate<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u3082\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u964d\u683c\u3057\u3001\u5bfe\u5411\u30ce\u30fc\u30c9\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u305f be2.example.jp \u306e\u78ba\u8a8d<\/h3>\n<p>be2.example.jp \u306e\u72b6\u614b\u3082\u540c\u69d8\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl status<br \/>\nrun: bookshelf: (pid 1902) 144s, normally down; run: log: (pid 697) 798s<br \/>\nrun: keepalived: (pid 704) 798s; run: log: (pid 692) 798s<br \/>\nrun: nginx: (pid 1937) 143s, normally down; run: log: (pid 699) 798s<br \/>\nrun: oc_bifrost: (pid 1947) 142s, normally down; run: log: (pid 702) 798s<br \/>\nrun: oc_id: (pid 1978) 140s, normally down; run: log: (pid 693) 798s<br \/>\nrun: opscode-erchef: (pid 1989) 137s, normally down; run: log: (pid 701) 798s<br \/>\nrun: opscode-expander: (pid 2006) 135s, normally down; run: log: (pid 703) 798s<br \/>\nrun: opscode-expander-reindexer: (pid 2025) 133s, normally down; run: log: (pid 694) 798s<br \/>\nrun: opscode-solr4: (pid 2049) 130s, normally down; run: log: (pid 695) 798s<br \/>\nrun: postgresql: (pid 2074) 129s, normally down; run: log: (pid 698) 798s<br \/>\nrun: rabbitmq: (pid 2097) 127s, normally down; run: log: (pid 696) 798s<br \/>\nrun: redis_lb: (pid 2419) 111s, normally down; run: log: (pid 700) 798s<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u3059\u3079\u3066\u8d77\u52d5\u3057\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = master<br \/>\n[OK] found VIP IP address and I am master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is running correctly, and I am master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is running correctly, and I am master.<br \/>\n[OK] oc_bifrost is running correctly, and I am master.<br \/>\n[OK] oc_id is running correctly, and I am master.<br \/>\n[OK] opscode-erchef is running correctly, and I am master.<br \/>\n[OK] opscode-expander is running correctly, and I am master.<br \/>\n[OK] opscode-expander-reindexer is running correctly, and I am master.<br \/>\n[OK] opscode-solr4 is running correctly, and I am master.<br \/>\n[OK] postgresql is running correctly, and I am master.<br \/>\n[OK] rabbitmq is running correctly, and I am master.<br \/>\n[OK] redis_lb is running correctly, and I am master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u304c\u30de\u30b9\u30bf\u30fc(<strong>cluster status = master<\/strong>)\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Primary\/Secondary ds:UpToDate\/UpToDate C r-----<br \/>\nns:29184 nr:108304 dw:137488 dr:4849 al:16 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Primary\/Secondary UpToDate\/UpToDate \/var\/opt\/opscode\/drbd\/data ext4 4.0G 160M 3.6G 5%<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u3082\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>be1.example.jp \u306e\u30bb\u30ab\u30f3\u30c0\u30ea\u5316<\/h3>\n<p>keepalived \u3092\u8d77\u52d5\u3057\u3066\u30bb\u30ab\u30f3\u30c0\u30ea\u3068\u3057\u3066\u30af\u30e9\u30b9\u30bf\u306b\u5fa9\u5e30\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl start keepalived<br \/>\nok: run: keepalived: (pid 3196) 0s<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl status<br \/>\ndown: bookshelf: 409s; run: log: (pid 697) 1063s<br \/>\nrun: keepalived: (pid 3196) 19s; run: log: (pid 704) 1063s<br \/>\ndown: nginx: 411s; run: log: (pid 703) 1063s<br \/>\ndown: oc_bifrost: 412s; run: log: (pid 699) 1063s<br \/>\ndown: oc_id: 414s; run: log: (pid 705) 1063s<br \/>\ndown: opscode-erchef: 416s; run: log: (pid 700) 1063s<br \/>\ndown: opscode-expander: 418s; run: log: (pid 706) 1063s<br \/>\ndown: opscode-expander-reindexer: 420s; run: log: (pid 698) 1063s<br \/>\ndown: opscode-solr4: 421s; run: log: (pid 707) 1063s<br \/>\ndown: postgresql: 424s; run: log: (pid 702) 1063s<br \/>\ndown: rabbitmq: 425s; run: log: (pid 709) 1063s<br \/>\ndown: redis_lb: 427s; run: log: (pid 701) 1063s<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = backup<br \/>\n[OK] did not find VIP IP address and I am not master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is not running, and I am not master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is not running, and I am not master.<br \/>\n[OK] oc_bifrost is not running, and I am not master.<br \/>\n[OK] oc_id is not running, and I am not master.<br \/>\n[OK] opscode-chef-mover is running.<br \/>\n[OK] opscode-erchef is not running, and I am not master.<br \/>\n[OK] opscode-expander is not running, and I am not master.<br \/>\n[OK] opscode-expander-reindexer is not running, and I am not master.<br \/>\n[OK] opscode-solr4 is not running, and I am not master.<br \/>\n[OK] postgresql is not running, and I am not master.<br \/>\n[OK] rabbitmq is not running, and I am not master.<br \/>\n[OK] redis_lb is not running, and I am not master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>keepalived \u3092\u8d77\u52d5\u3057\u305f\u304b\u3089\u3068\u3044\u3063\u3066\u52dd\u624b\u306b\u30de\u30b9\u30bf\u30fc\u306b\u306a\u3063\u305f\u308a\u306f\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d<\/h3>\n<p>\u4e8b\u524d\u306b\u78ba\u8a8d\u3057\u3066\u304a\u3044\u305f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6e08 Cookbook \u306e\u30ea\u30b9\u30c8\u304c\u540c\u3058\u3067\u3042\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@ws chef-repo]$ knife cookbook list<br \/>\napt               2.6.1<br \/>\nbluepill          2.3.1<br \/>\nbuild-essential   2.1.3<br \/>\nnginx             2.7.4<br \/>\nohai              2.0.1<br \/>\nrsyslog           1.13.0<br \/>\nrunit             1.5.12<br \/>\nstarter           1.0.0<br \/>\nyum               3.5.2<br \/>\nyum-epel          0.6.0<br \/>\n[redhat@ws chef-repo]$<br \/>\n<\/code><\/p>\n<p>\u65b0\u305f\u306b Cookbook \u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@ws chef-repo]$ knife upload cookbooks\/apache2<br \/>\nCreated cookbooks\/apache2<br \/>\n[redhat@ws chef-repo]$<br \/>\n<\/code><\/p>\n<p>Cookbook \u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u305f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@ws chef-repo]$ knife cookbook list<br \/>\napache2           3.0.0<br \/>\napt               2.6.1<br \/>\nbluepill          2.3.1<br \/>\nbuild-essential   2.1.3<br \/>\nnginx             2.7.4<br \/>\nohai              2.0.1<br \/>\nrsyslog           1.13.0<br \/>\nrunit             1.5.12<br \/>\nstarter           1.0.0<br \/>\nyum               3.5.2<br \/>\nyum-epel          0.6.0<br \/>\n[redhat@ws chef-repo]$<br \/>\n<\/code><\/p>\n<p>\u7c21\u5358\u3067\u3059\u304c\u3001\u3086\u308b\u3084\u304b\u306a\u79fb\u884c\u306e\u6210\u529f\u3092\u78ba\u8a8d\u3067\u304d\u305f\u3068\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>\u25a0<a href=\"#graceful-transitions-again\" name=\"graceful-transitions-again\">\u518d\u5ea6\u3086\u308b\u3084\u304b\u306a\u79fb\u884c\u3092\u884c\u3046<\/a><\/h2>\n<p>\u5148\u306e\u79fb\u884c\u3067\u306f be1(\u30d7\u30e9\u30a4\u30de\u30ea),be2(\u30bb\u30ab\u30f3\u30c0\u30ea) \u3092 be1(\u30bb\u30ab\u30f3\u30c0\u30ea),be2(\u30d7\u30e9\u30a4\u30de\u30ea) \u3068\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u3053\u3067\u306f\u518d\u5ea6\u3001\u3086\u308b\u3084\u304b\u306a\u79fb\u884c\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<h3>be2.example.jp\u3092\u30d7\u30e9\u30a4\u30de\u30ea\u304b\u3089\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u964d\u683c<\/h3>\n<p>\u73fe\u5728\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u3042\u308b be2.example.jp \u306e keepalived \u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl stop keepalived<br \/>\nok: down: keepalived: 0s, normally up<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u59cb\u307e\u308b\u306e\u3067\u3001\u3057\u3070\u3089\u304f\u5f85\u3061\u307e\u3059\u3002\u79fb\u884c\u304c\u5b8c\u4e86\u3059\u308b\u3068\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl status<br \/>\ndown: bookshelf: 52s; run: log: (pid 697) 1825s<br \/>\ndown: keepalived: 70s, normally up; run: log: (pid 692) 1825s<br \/>\ndown: nginx: 53s; run: log: (pid 699) 1825s<br \/>\ndown: oc_bifrost: 54s; run: log: (pid 702) 1825s<br \/>\ndown: oc_id: 56s; run: log: (pid 693) 1825s<br \/>\ndown: opscode-erchef: 57s; run: log: (pid 701) 1825s<br \/>\ndown: opscode-expander: 59s; run: log: (pid 703) 1825s<br \/>\ndown: opscode-expander-reindexer: 61s; run: log: (pid 694) 1825s<br \/>\ndown: opscode-solr4: 63s; run: log: (pid 695) 1825s<br \/>\ndown: postgresql: 66s; run: log: (pid 698) 1825s<br \/>\ndown: rabbitmq: 67s; run: log: (pid 696) 1825s<br \/>\ndown: redis_lb: 69s; run: log: (pid 700) 1825s<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u3059\u3079\u3066\u505c\u6b62\u3057\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = backup<br \/>\n[OK] did not find VIP IP address and I am not master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is not running, and I am not master.<br \/>\n[ERROR] keepalived is not running.<br \/>\n[OK] nginx is not running, and I am not master.<br \/>\n[OK] oc_bifrost is not running, and I am not master.<br \/>\n[OK] oc_id is not running, and I am not master.<br \/>\n[OK] opscode-erchef is not running, and I am not master.<br \/>\n[OK] opscode-expander is not running, and I am not master.<br \/>\n[OK] opscode-expander-reindexer is not running, and I am not master.<br \/>\n[OK] opscode-solr4 is not running, and I am not master.<br \/>\n[OK] postgresql is not running, and I am not master.<br \/>\n[OK] rabbitmq is not running, and I am not master.<br \/>\n[OK] redis_lb is not running, and I am not master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[ERROR] ERRORS WERE DETECTED.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u304c\u30d0\u30c3\u30af\u30a2\u30c3\u30d7(<strong>cluster status = backup<\/strong>)\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Secondary\/Primary ds:UpToDate\/UpToDate C r-----<br \/>\nns:49952 nr:136900 dw:186852 dr:8797 al:23 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Secondary\/Primary UpToDate\/UpToDate<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u3082\u30bb\u30ab\u30f3\u30c0\u30ea\u306b\u964d\u683c\u3057\u3001\u5bfe\u5411\u30ce\u30fc\u30c9\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u307e\u3057\u305f\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u305f be1.example.jp \u306e\u78ba\u8a8d<\/h3>\n<p>be1.example.jp \u306e\u72b6\u614b\u3082\u540c\u69d8\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl status<br \/>\nrun: bookshelf: (pid 3605) 174s, normally down; run: log: (pid 697) 1951s<br \/>\nrun: keepalived: (pid 3196) 907s; run: log: (pid 704) 1951s<br \/>\nrun: nginx: (pid 3640) 172s, normally down; run: log: (pid 703) 1951s<br \/>\nrun: oc_bifrost: (pid 3650) 171s, normally down; run: log: (pid 699) 1951s<br \/>\nrun: oc_id: (pid 3685) 168s, normally down; run: log: (pid 705) 1951s<br \/>\nrun: opscode-erchef: (pid 3744) 165s, normally down; run: log: (pid 700) 1951s<br \/>\nrun: opscode-expander: (pid 3810) 162s, normally down; run: log: (pid 706) 1951s<br \/>\nrun: opscode-expander-reindexer: (pid 3883) 159s, normally down; run: log: (pid 698) 1951s<br \/>\nrun: opscode-solr4: (pid 3956) 156s, normally down; run: log: (pid 707) 1951s<br \/>\nrun: postgresql: (pid 3991) 153s, normally down; run: log: (pid 702) 1951s<br \/>\nrun: rabbitmq: (pid 4064) 152s, normally down; run: log: (pid 709) 1951s<br \/>\nrun: redis_lb: (pid 4531) 133s, normally down; run: log: (pid 701) 1951s<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u30b5\u30fc\u30d3\u30b9\u304c\u3059\u3079\u3066\u8d77\u52d5\u3057\u3001<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = master<br \/>\n[OK] found VIP IP address and I am master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is running correctly, and I am master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is running correctly, and I am master.<br \/>\n[OK] oc_bifrost is running correctly, and I am master.<br \/>\n[OK] oc_id is running correctly, and I am master.<br \/>\n[OK] opscode-chef-mover is running.<br \/>\n[OK] opscode-erchef is running correctly, and I am master.<br \/>\n[OK] opscode-expander is running correctly, and I am master.<br \/>\n[OK] opscode-expander-reindexer is running correctly, and I am master.<br \/>\n[OK] opscode-solr4 is running correctly, and I am master.<br \/>\n[OK] postgresql is running correctly, and I am master.<br \/>\n[OK] rabbitmq is running correctly, and I am master.<br \/>\n[OK] redis_lb is running correctly, and I am master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>\u72b6\u614b\u304c\u30de\u30b9\u30bf\u30fc(<strong>cluster status = master<\/strong>)\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Primary\/Secondary ds:UpToDate\/UpToDate C r-----<br \/>\nns:137512 nr:49952 dw:109640 dr:91950 al:19 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be1 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Primary\/Secondary UpToDate\/UpToDate \/var\/opt\/opscode\/drbd\/data ext4 4.0G 164M 3.6G 5%<br \/>\n[redhat@be1 ~]$<br \/>\n<\/code><\/p>\n<p>DRBD \u3082\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u6607\u683c\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>be2.example.jp \u306e\u30bb\u30ab\u30f3\u30c0\u30ea\u5316<\/h3>\n<p>keepalived \u3092\u8d77\u52d5\u3057\u3066\u30bb\u30ab\u30f3\u30c0\u30ea\u3068\u3057\u3066\u30af\u30e9\u30b9\u30bf\u306b\u5fa9\u5e30\u3055\u305b\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl start keepalived<br \/>\nok: run: keepalived: (pid 3380) 0s<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl status<br \/>\ndown: bookshelf: 351s; run: log: (pid 697) 2124s<br \/>\nrun: keepalived: (pid 3380) 58s; run: log: (pid 692) 2124s<br \/>\ndown: nginx: 352s; run: log: (pid 699) 2124s<br \/>\ndown: oc_bifrost: 353s; run: log: (pid 702) 2124s<br \/>\ndown: oc_id: 355s; run: log: (pid 693) 2124s<br \/>\ndown: opscode-erchef: 356s; run: log: (pid 701) 2124s<br \/>\ndown: opscode-expander: 358s; run: log: (pid 703) 2124s<br \/>\ndown: opscode-expander-reindexer: 360s; run: log: (pid 694) 2124s<br \/>\ndown: opscode-solr4: 362s; run: log: (pid 695) 2124s<br \/>\ndown: postgresql: 365s; run: log: (pid 698) 2124s<br \/>\ndown: rabbitmq: 366s; run: log: (pid 696) 2124s<br \/>\ndown: redis_lb: 368s; run: log: (pid 700) 2124s<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ sudo chef-server-ctl ha-status<br \/>\n[OK] keepalived HA services enabled.<br \/>\n[OK] cluster status = backup<br \/>\n[OK] did not find VIP IP address and I am not master<br \/>\n[OK] found VRRP communications interface eth0<br \/>\n[OK] bookshelf is not running, and I am not master.<br \/>\n[OK] keepalived is running.<br \/>\n[OK] nginx is not running, and I am not master.<br \/>\n[OK] oc_bifrost is not running, and I am not master.<br \/>\n[OK] oc_id is not running, and I am not master.<br \/>\n[OK] opscode-erchef is not running, and I am not master.<br \/>\n[OK] opscode-expander is not running, and I am not master.<br \/>\n[OK] opscode-expander-reindexer is not running, and I am not master.<br \/>\n[OK] opscode-solr4 is not running, and I am not master.<br \/>\n[OK] postgresql is not running, and I am not master.<br \/>\n[OK] rabbitmq is not running, and I am not master.<br \/>\n[OK] redis_lb is not running, and I am not master.<\/code><\/p>\n<p><code lang=\"bash\"><code lang=\"bash\"><\/code><\/code><\/p>\n<p>[OK] all checks passed.<\/p>\n<p><code lang=\"bash\"><br \/>\n<\/code><\/p>\n<p><code lang=\"bash\">[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ cat \/proc\/drbd<br \/>\nversion: 8.4.5 (api:1\/proto:86-101)<br \/>\nGIT-hash: 1d360bde0e095d495786eaeb2a1ac76888e4db96 build by mockbuild@Build64R6, 2014-08-17 19:26:04<br \/>\n0: cs:Connected ro:Secondary\/Primary ds:UpToDate\/UpToDate C r-----<br \/>\nns:49952 nr:138108 dw:188060 dr:8797 al:23 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:0<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@be2 ~]$ drbd-overview<br \/>\n0:pc0\/0  Connected Secondary\/Primary UpToDate\/UpToDate<br \/>\n[redhat@be2 ~]$<br \/>\n<\/code><\/p>\n<p>keepalived \u3092\u8d77\u52d5\u3057\u305f\u304b\u3089\u3068\u3044\u3063\u3066\u52dd\u624b\u306b\u30de\u30b9\u30bf\u30fc\u306b\u306a\u3063\u305f\u308a\u306f\u3057\u307e\u305b\u3093\u3002<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u78ba\u8a8d<\/h3>\n<p>\u79fb\u884c\u524d\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f Cookbook \u304c\u78ba\u304b\u306b\u5b58\u5728\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\n[redhat@ws chef-repo]$ knife cookbook list<br \/>\napache2           3.0.0<br \/>\napt               2.6.1<br \/>\nbluepill          2.3.1<br \/>\nbuild-essential   2.1.3<br \/>\nnginx             2.7.4<br \/>\nohai              2.0.1<br \/>\nrsyslog           1.13.0<br \/>\nrunit             1.5.12<br \/>\nstarter           1.0.0<br \/>\nyum               3.5.2<br \/>\nyum-epel          0.6.0<br \/>\n[redhat@ws chef-repo]$<br \/>\n<\/code><\/p>\n<h2>\u25a0<a href=\"#conclusion\" name=\"conclusion\">\u307e\u3068\u3081<\/a><\/h2>\n<p>\u672c\u7a3f\u3067\u306f\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306b\u304a\u3051\u308b\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306e\u3086\u308b\u3084\u304b\u306a\u79fb\u884c\u3092\u884c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u7279\u306b\u969c\u5bb3\u304c\u8d77\u3053\u3063\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u3042\u308b\u305f\u3081\u3001\u4f55\u3082\u554f\u984c\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u666e\u6bb5\u306e\u4f55\u3082\u8d77\u304d\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u3069\u306e\u3088\u3046\u306a\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u304b\u3084\u624b\u9806\u306e\u78ba\u8a8d\u3092\u884c\u3044\u3001\u5fc3\u69cb\u3048\u3092\u3057\u3066\u304a\u304f\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful Transitions(\u3086\u308b\u3084\u304b\u306a\u79fb\u884c)\u3092\u884c\u3063\u3066\u307f\u307e\u3059\u3002 \u25a0\u524d\u63d0 \u74b0\u5883 \u74b0\u5883: [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36,31],"tags":[],"class_list":["post-6815","post","type-post","status-publish","format-standard","hentry","category-chef","category-higuchi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful\" \/>\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\/cloudnative\/chef\/6815\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815\" \/>\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=\"2015-01-28T02:30:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-29T04:58:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\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=\"14\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\\\/cloudnative\\\/chef\\\/6815#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef\",\"datePublished\":\"2015-01-28T02:30:21+00:00\",\"dateModified\":\"2023-08-29T04:58:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815\"},\"wordCount\":205,\"articleSection\":[\"Chef\",\"d-higuchi\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815\",\"name\":\"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"datePublished\":\"2015-01-28T02:30:21+00:00\",\"dateModified\":\"2023-08-29T04:58:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cloudnative\\\/chef\\\/6815#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\":\"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef\"}]},{\"@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":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful","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\/cloudnative\/chef\/6815","og_locale":"ja_JP","og_type":"article","og_title":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815","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":"2015-01-28T02:30:21+00:00","article_modified_time":"2023-08-29T04:58:00+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.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":"14\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef","datePublished":"2015-01-28T02:30:21+00:00","dateModified":"2023-08-29T04:58:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815"},"wordCount":205,"articleSection":["Chef","d-higuchi"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815","name":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2015-01-28T02:30:21+00:00","dateModified":"2023-08-29T04:58:00+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Chef, d-higuchi |\u524d\u56de\u3001DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3057\u307e\u3057\u305f\u3002 \u672c\u7a3f\u3067\u306f\u5b9f\u4f8b\u3068\u3057\u3066\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u306eGraceful","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6815#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":"DRBD\u3092\u7528\u3044\u305fHA\u69cb\u6210\u306eChef Server\u30af\u30e9\u30b9\u30bf\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u30fb\u30bb\u30ab\u30f3\u30c0\u30ea\u79fb\u884c #getchef"}]},{"@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\/6815","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=6815"}],"version-history":[{"count":1,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6815\/revisions"}],"predecessor-version":[{"id":65771,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6815\/revisions\/65771"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}