{"id":6530,"date":"2014-12-01T11:31:20","date_gmt":"2014-12-01T02:31:20","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6530"},"modified":"2015-03-12T12:55:52","modified_gmt":"2015-03-12T03:55:52","slug":"%e5%92%8c%e8%a8%b3-chef-high-availability-aws-opschef_ja-getchef_ja","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/chef\/6530","title":{"rendered":"[\u548c\u8a33] Chef High Availability: AWS #opschef_ja #getchef_ja"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f <a href=\"http:\/\/docs.getchef.com\/install_server_ha_aws.html\">High Availability: AWS<\/a> \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p>\u672c\u9805\u3067\u306fChef Server\u306eHA (High Availability)\u3092Amazon Web Services\u4e0a\u306b\u3069\u306e\u3088\u3046\u306b\u69cb\u6210\u3059\u308b\u304b\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u4e8b\u524d\u6e96\u5099<\/h2>\n<p>Chef Server\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u524d\u306b\u3001\u6b21\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>Amazon Virtual Private Cloud\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002Amazon EC2-Classic\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u305b\u3093\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u542b\u3080\u9069\u5207\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002Chef Server\u306b\u5fc5\u8981\u306a\u3082\u306e\u306f2\u3064\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u9593\u306eICMP\u306e\u8a31\u53ef\u3060\u3051\u3067\u3059\u3002Keepalived\u304c\u901a\u4fe1\u3068\u30cf\u30fc\u30c8\u30d3\u30fc\u30c8\u306e\u305f\u3081\u306b\u305d\u308c\u3092\u7528\u3044\u307e\u3059\u3002<\/li>\n<li>2\u3064\u306e\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3057\u30011\u3064\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Chef Server\u3001\u3082\u30461\u3064\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Chef Server\u3068\u3057\u307e\u3059\u3002\u4e21\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3092\u540c\u4e00\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3059\u308b\u305f\u3081\u306b\u540c\u3058Amazon Machine Images (AMI)\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30b5\u30fc\u30d0\u306f\u540c\u3058\u30a2\u30d9\u30a4\u30e9\u30d3\u30ea\u30c6\u30a3\u30be\u30fc\u30f3\u306b\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<\/li>\n<li>Chef Server\u306e\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u306eAmazon Elastic Block Store\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002EBS\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u30bf\u30a4\u30d7\u306f\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u30b5\u30a4\u30ba\u306b\u5bfe\u3057\u3066\u6700\u5927\u306eIOPS\u7387\u3068\u306a\u308bProvisioned IOPS\u3092\u63a8\u5968\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9(VIP)\u3068\u306a\u308bIP\u30a2\u30c9\u30ec\u30b9\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3068\u540c\u3058\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30bb\u30b0\u30e1\u30f3\u30c8\u306b\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e2d\u306bchef-server.rb\u30d5\u30a1\u30a4\u30eb\u306b\u6307\u5b9a\u3055\u308c\u3001High Availability\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306eElastic Network Interface (ENI)\u306bVIP\u3092\u81ea\u52d5\u7684\u306b\u5272\u308a\u5f53\u3066\u307e\u3059\u3002<\/li>\n<li>\u5c11\u306a\u304f\u3068\u3082\u672c\u9805\u672b\u306e\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b\u8a18\u8f09\u3057\u3066\u3042\u308b\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3067Identity and Access Management (IAM)\u30e6\u30fc\u30b6\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u30e6\u30fc\u30b6\u306e\u30a2\u30af\u30bb\u30b9\u30ad\u30fc\u3068\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30ad\u30fc\u3092\u8a18\u9332\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u308c\u3089\u306fchef-server.rb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u7528\u3044\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9<\/h2>\n<p>\u6b21\u306e\u901a\u308a\u306b\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Chef Server\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>Amazon Elastic Block Store\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u30a2\u30bf\u30c3\u30c1\u3057\u307e\u3059\u3002<\/li>\n<li><a href=\"http:\/\/downloads.getchef.com\/chef-server\/\">http:\/\/downloads.getchef.com\/chef-server\/<\/a>\u3068<a href=\"http:\/\/downloads.getchef.com\/chef-ha\/\">http:\/\/downloads.getchef.com\/chef-ha\/<\/a>\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li><strong>chef-server-core<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ rpm -Uvh \/tmp\/chef-server-core-&lt;version&gt;.rpm\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ dpkg -i \/tmp\/chef-server-core-&lt;version&gt;.deb\n<\/p><\/blockquote>\n<p>\t\u6570\u5206\u3067Chef Server\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>chef-ha<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ rpm -Uvh \/tmp\/chef-ha-&lt;version&gt;.rpm\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ dpkg -i \/tmp\/chef-ha-&lt;version&gt;.deb\n<\/p><\/blockquote>\n<\/li>\n<li><strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bchef-server.rb\u3068\u3044\u3046\u540d\u524d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u8a2d\u5b9a\u4f8b\u3068\u5fc5\u8981\u306a\u5024\u306f\u6b21\u306echef-server.rb\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong>ha['ebs_device']<\/strong>\u8a2d\u5b9a\u306f\u3001\u30de\u30b7\u30f3\u306e\u30ab\u30fc\u30cd\u30eb\u306b\u3088\u3063\u3066\u5831\u544a\u3055\u308c\u308b\u5b9f\u969b\u306e<strong>\/dev<\/strong>\u30c7\u30d0\u30a4\u30b9\u540d\u3092\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u3053\u308c\u306fAmazon Web Services\u306b\u3088\u3063\u3066\u5831\u544a\u3055\u308c\u308b\u5024\u3068\u540c\u3058\u3067\u306f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u4f8b\u3048\u3070\u3001Amazon Web Services\u306e\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u3067\u53c2\u7167\u3067\u304d\u308b\u30dc\u30ea\u30e5\u30fc\u30e0\u304c<strong>\/dev\/sdf<\/strong>\u3067\u3082\u3001\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30ab\u30fc\u30cd\u30eb\u3067\u306f<strong>\/dev\/xvdf<\/strong>\u3068\u3057\u3066\u898b\u3048\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/li>\n<li>logical volume manager (LVM)\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ sudo yum install lvm2\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ sudo apt-get install lvm2\n<\/p><\/blockquote>\n<\/li>\n<li>\u6b21\u306e\u4e00\u9023\u306e\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u3001\u7269\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u3001\u30dc\u30ea\u30e5\u30fc\u30e0\u30b0\u30eb\u30fc\u30d7\u3001\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30dc\u30ea\u30e5\u30fc\u30e0\u30b0\u30eb\u30fc\u30d7\u3068\u8ad6\u7406\u30dc\u30ea\u30e5\u30fc\u30e0\u306e\u540d\u524d\u306f\u305d\u308c\u305e\u308c<strong>data<\/strong>\u3068<strong>chef<\/strong>\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002<br \/>\n<blockquote><p>\n$ sudo pvcreate \/dev\/xvdf\n<\/p><\/blockquote>\n<blockquote><p>\n$ sudo vgcreate chef \/dev\/xvdf\n<\/p><\/blockquote>\n<blockquote><p>\n$ sudo lvcreate -l 85%VG -n data chef\n<\/p><\/blockquote>\n<\/li>\n<li>\u6b21\u306e\u4e00\u9023\u306e\u30b3\u30de\u30f3\u30c9\u3092\u7528\u3044\u3066\u3001\u65b0\u3057\u3044\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3057\u30de\u30a6\u30f3\u30c8\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo mkdir -p \/var\/opt\/opscode\/drbd\/data\n<\/p><\/blockquote>\n<blockquote><p>\n$ sudo mkfs.ext4 \/dev\/mapper\/chef-data\n<\/p><\/blockquote>\n<blockquote><p>\n$ sudo mount \/dev\/mapper\/chef-data \/var\/opt\/opscode\/drbd\/data\n<\/p><\/blockquote>\n<\/li>\n<li>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066Chef Server\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<p>\t\u3053\u308c\u306fChef Server\u3092\u518d\u8a2d\u5b9a\u3057\u3001Keepalived\u3092\u8d77\u52d5\u3057\u3001VIP\u3092Elastic Network Interface (ENI)\u306e\u30bb\u30ab\u30f3\u30c0\u30eaIP\u30a2\u30c9\u30ec\u30b9\u3068\u3057\u3066\u5272\u308a\u5f53\u3066\u3001\u30de\u30b7\u30f3\u3092\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u30de\u30b7\u30f3\u304c\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3067\u3042\u308b\u304b\u691c\u8a3c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl ha-status\n<\/p><\/blockquote>\n<p>\t\u30b5\u30fc\u30d0\u304c<strong>PRIMARY<\/strong>\u3067\u3059\u3079\u3066\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<br \/>\n\t\u52a0\u3048\u3066\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308bVIP\u3092\u691c\u8a3c\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ ip addr list dev eth0\n<\/p><\/blockquote>\n<p>\t<strong>\u6ce8\u610f<\/strong>: \u3059\u3079\u3066\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u304c\u8868\u793a\u3055\u308c\u306a\u3044\u306e\u3067\u3001<strong>ifconfig<\/strong>\u306f\u4f7f\u308f\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ol>\n<h2>chef-server.rb<\/h2>\n<p>HA\u69cb\u6210\u306e\u5404Chef Server\u306f\u3001\u5404\u30b5\u30fc\u30d0\u306e<strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u540c\u4e00\u306echef-server.rb\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304b\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306fHA\u69cb\u6210\u306e\u30c8\u30dd\u30ed\u30b8\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3067\u3001chef-server.rb\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066<strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u8a2d\u5b9a\u3092chef-server.rb\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30c8\u30dd\u30ed\u30b8\u30bf\u30a4\u30d7\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\ntopology \"ha\"<br \/>\n<\/code>\n\t<\/li>\n<li>\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nserver \"FQDN\",<br \/>\n  :ipaddress => \"IP_ADDRESS\",<br \/>\n  :role => \"backend\",<br \/>\n  :bootstrap => true,<br \/>\n  :cluster_ipaddress => \"CLUSTER_IPADDRESS\"<br \/>\n<\/code><br \/>\n\t<strong>FQDN<\/strong>\u306f\u30b5\u30fc\u30d0\u306eFQDN\u306b\u3001<strong>IP_ADDRESS<\/strong>\u306f\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306erole\u306f<strong>\"backend\"<\/strong>\u3067\u3059\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u304cChef Server\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306b\u7528\u3044\u3089\u308c\u308b\u5834\u5408\u3001<strong>CLUSTER_IPADDRESS<\/strong>\u3092\u30af\u30e9\u30b9\u30bf\u901a\u4fe1\u306b\u7528\u3044\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Keepalived\u3068DRBD\u306b\u3088\u3063\u3066\u7528\u3044\u3089\u308c\u308b\u540c\u3058IP\u30a2\u30c9\u30ec\u30b9\u3067\u3059\u3002\u3082\u3057Chef Server\u304cChef Server\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306b\u7528\u3044\u3089\u308c\u306a\u3044\u306a\u3089\u3001<strong>:cluster_ipaddress<\/strong>\u30a8\u30f3\u30c8\u30ea\u306f\u9664\u5916\u3057\u307e\u3059\u3002<\/li>\n<li>\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nserver \"FQDN\",<br \/>\n  :ipaddress => \"IPADDRESS\",<br \/>\n  :role => \"backend\",<br \/>\n  :cluster_ipaddress => \"CLUSTER_IPADDRESS\"<br \/>\n<\/code><br \/>\n\t<strong>FQDN<\/strong>\u306f\u30b5\u30fc\u30d0\u306eFQDN\u306b\u3001<strong>IP_ADDRESS<\/strong>\u306f\u30b5\u30fc\u30d0\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<strong>CLUSTER_IPADDRESS<\/strong>\u306f\u30af\u30e9\u30b9\u30bf\u901a\u4fe1\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30b5\u30fc\u30d0\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u304c\u306a\u3044\u306a\u3089\u3001<strong>:cluster_ipaddress<\/strong>\u30a8\u30f3\u30c8\u30ea\u306f\u9664\u5916\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nbackend_vip \"FQDN\",<br \/>\n  :ipaddress => \"IP_ADDRESS\",<br \/>\n  :device => \"eth0\",<br \/>\n<\/code><br \/>\n\t<strong>FQDN<\/strong>\u306f\u30b5\u30fc\u30d0\u306eFQDN\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<strong>IP_ADDRESS<\/strong>\u306f\u30b5\u30fc\u30d0\u306e\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<strong>:device<\/strong>\u30d1\u30e9\u30e1\u30bf\u306f\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u306b\u7d50\u3073\u3064\u3051\u3089\u308c\u308b\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3059\u3002\u901a\u5e38\u3001\u30b5\u30fc\u30d0\u306e\u30d1\u30d6\u30ea\u30c3\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3067\u3059\u3002<\/li>\n<li>\u5404\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\nserver \"FQDN\",<br \/>\n  :ipaddress => \"IP_ADDRESS\",<br \/>\n  :role => \"frontend\"<br \/>\n<\/code><br \/>\n\t<strong>FQDN<\/strong>\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306eFQDN\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<strong>IP_ADDRESS<\/strong>\u306f\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306eIP\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<strong>:role<\/strong>\u306f<strong>\"frontend\"<\/strong>\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n\t\u5404\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u7528\u306e\u30a8\u30f3\u30c8\u30ea\u306fchef-server.rb\u30d5\u30a1\u30a4\u30eb\u5185\u306b\u5225\u3005\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/li>\n<li>API FQDN\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<br \/>\n<code lang=\"ruby\"><br \/>\napi_fqdn \"FQDN\"<br \/>\n<\/code><br \/>\n\t <strong>FQDN<\/strong>\u306f\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u3055\u308c\u305f\u4eee\u60f3IP\u30a2\u30c9\u30ec\u30b9\u306eFQDN\u3001\u3064\u307e\u308aChef Server\u304c\u7528\u3044\u308b\u30b5\u30fc\u30d3\u30b9URI\u306eFQDN\u3068\u540c\u3058\u3082\u306e\u3067\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002<\/li>\n<li>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<\/ol>\n<h2>\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9<\/h2>\n<p>\u6b21\u306e\u901a\u308a\u306b\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9Chef Server\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>chef-server-core<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ rpm -Uvh \/tmp\/chef-server-core-&lt;version&gt;.rpm\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ dpkg -i \/tmp\/chef-server-core-&lt;version&gt;.deb\n<\/p><\/blockquote>\n<p>\t\u6570\u5206\u3067Chef Server\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>chef-ha<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ rpm -Uvh \/tmp\/chef-ha-&lt;version&gt;.rpm\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ dpkg -i \/tmp\/chef-ha-&lt;version&gt;.deb\n<\/p><\/blockquote>\n<\/li>\n<li>logical volume manager (LVM)\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ sudo yum install lvm2\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ sudo apt-get install lvm2\n<\/p><\/blockquote>\n<\/li>\n<li><strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u306e<strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u8a3c\u660e\u66f8\u3068chef-server.rb\u3092\u542b\u3080\u5185\u5bb9\u5168\u4f53\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<p>\t\u3053\u308c\u306fChef Server\u3092\u518d\u8a2d\u5b9a\u3057\u3001Keepalived\u3092\u8d77\u52d5\u3057\u3001\u30de\u30b7\u30f3\u3092\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u30de\u30b7\u30f3\u304c\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3067\u3042\u308b\u304b\u691c\u8a3c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl ha-status\n<\/p><\/blockquote>\n<p>\t\u30b5\u30fc\u30d0\u304c<strong>BACKUP<\/strong>\u3068\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002\n<\/ol>\n<h2>\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u306e\u691c\u8a3c<\/h2>\n<p>\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u691c\u8a3c\u3059\u308b\u306b\u306f\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30de\u30b7\u30f3\u3067Keepalived\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u8d77\u304d\u305f\u3068\u304d\u306e\u72b6\u614b\u3092\u89b3\u5bdf\u3059\u308b\u306b\u306f\u3001Keepalived\u3092\u505c\u6b62\u3059\u308b\u524d\u306b\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u3068\u30bb\u30ab\u30f3\u30c0\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30b5\u30fc\u30d0\u306e\u4e21\u65b9\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ watch -n1 sudo chef-server-ctl ha-status\n<\/p><\/blockquote>\n<\/li>\n<li>\u305d\u3057\u3066\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3067Keepalived\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl stop keepalived\n<\/p><\/blockquote>\n<p>\t\u30af\u30e9\u30b9\u30bf\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u8d77\u304d\u308b\u306f\u305a\u3067\u3059\u3002<\/li>\n<li>\u30d5\u30a7\u30a4\u30eb\u30aa\u30fc\u30d0\u30fc\u304c\u6210\u529f\u3057\u305f\u5f8c\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3067Keepalived\u3092\u518d\u3073\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl start keepalived\n<\/p><\/blockquote>\n<p>\t\u3059\u308b\u3068\u30d7\u30e9\u30a4\u30de\u30ea\u306f\u30bb\u30ab\u30f3\u30c0\u30ea\u3068\u306a\u308a\u3001\u30bb\u30ab\u30f3\u30c0\u30ea\u306f\u30d7\u30e9\u30a4\u30de\u30ea\u3068\u306a\u308a\u307e\u3059\u3002\u5143\u306e\u30d7\u30e9\u30a4\u30de\u30ea\u306b\u30d5\u30a7\u30a4\u30eb\u30d0\u30c3\u30af\u3057\u305f\u3044\u306a\u3089\u3001\u65b0\u3057\u3044\u30d7\u30e9\u30a4\u30de\u30ea\u3067\u3053\u306e\u624b\u9806\u3092\u7e70\u308a\u8fd4\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>\u6b21\u306e\u901a\u308a\u306b\u5404\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9Chef Server\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>chef-server-core<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Red Hat\u3068CentOS 6\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3001<br \/>\n<blockquote><p>\n$ rpm -Uvh \/tmp\/chef-server-core-&lt;version&gt;.rpm\n<\/p><\/blockquote>\n<p>\tUbuntu\u3067\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ dpkg -i \/tmp\/chef-server-core-&lt;version&gt;.deb\n<\/p><\/blockquote>\n<p>\t\u6570\u5206\u3067Chef Server\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u3067\u306f\u3001Chef HA\u30d1\u30c3\u30b1\u30fc\u30b8\u306f<strong>\u5fc5\u8981\u3042\u308a\u307e\u305b\u3093<\/strong>\u3002<\/li>\n<li><strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u306e<strong>\/etc\/opscode\/<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u3059\u3079\u3066\u306e\u8a3c\u660e\u66f8\u3068chef-server.rb\u3092\u542b\u3080\u5185\u5bb9\u5168\u4f53\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/li>\n<li>\u7ba1\u7406\u8005\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ chef-server-ctl user-create user_name first_name last_name email password --filename FILE_NAME\n<\/p><\/blockquote>\n<p>\tRSA\u79d8\u5bc6\u9375\u304c\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong>--filename<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u306bRSA\u79d8\u5bc6\u9375\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<br \/>\n\u4f8b:<\/p>\n<blockquote><p>\n$ chef-server-ctl user-create stevedanno Steve Danno steved@getchef.com abc123 --filename \/path\/to\/file.key\n<\/p><\/blockquote>\n<\/li>\n<li>Organization\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ chef-server-ctl org-create short_name full_organization_name --association_user user_name --filename FILE_NAME\n<\/p><\/blockquote>\n<p>\tOrganization\u540d\u306f\u5c0f\u6587\u5b57\u306e\u82f1\u5b57\u304b\u6570\u5b57\u3067\u59cb\u307e\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u5c0f\u6587\u5b57\u306e\u82f1\u5b57\u3001\u6570\u5b57\u3001\u30cf\u30a4\u30d5\u30f3\u3001\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u306e\u307f\u3092\u542b\u307f\u30011\u301c255\u6587\u5b57\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u4f8b: <strong>chef<\/strong><br \/>\n\t<br \/>\n\t\u5b8c\u5168\u306aOrganization\u540d\u306f\u30db\u30ef\u30a4\u30c8\u30b9\u30da\u30fc\u30b9\u4ee5\u5916\u306e\u6587\u5b57\u3067\u59cb\u307e\u3089\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u30011\u301c1023\u6587\u5b57\u3067\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u4f8b: <strong>Chef Software, Inc.<\/strong><br \/>\n\t<br \/>\n\t<strong>--association_user<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u306f<strong>user_name<\/strong>\u30e6\u30fc\u30b6\u3092Chef Server\u306e<strong>admins<\/strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u306b\u7d50\u3073\u3064\u3051\u307e\u3059\u3002<br \/>\n\t<br \/>\n\tRSA\u79d8\u5bc6\u9375\u304c\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u5b89\u5168\u306a\u5834\u6240\u306b\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong>--filename<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u6307\u5b9a\u3057\u305f\u30d1\u30b9\u306bRSA\u79d8\u5bc6\u9375\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002\u4f8b:<\/p>\n<blockquote><p>\n$ chef-server-ctl org-create chef Chef Software, Inc. --association_user stevedanno --filename \/path\/to\/file.key\n<\/p><\/blockquote>\n<\/li>\n<li>\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ sudo chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<\/ol>\n<h2>\u6a5f\u80fd\u306e\u6709\u52b9\u5316<\/h2>\n<p>Chef Server\u306e\u8ffd\u52a0\u6a5f\u80fd\u3092\u6709\u52b9\u5316\u3057\u307e\u3057\u3087\u3046\uff01 \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d7\u30ed\u30bb\u30b9\u4e2d\u306b\u76f4\u63a5\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u308b\u304b\u3001\u4e8b\u524d\u306b\u30ed\u30fc\u30ab\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304a\u3044\u305f\u3082\u306e\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h3>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p><strong>install<\/strong>\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f<a href=\"https:\/\/packagecloud.io\/\">https:\/\/packagecloud.io\/<\/a>\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u80cc\u5f8c\u306b\u306a\u3044\u30b7\u30b9\u30c6\u30e0\u3084<a href=\"https:\/\/packagecloud.io\/\">https:\/\/packagecloud.io\/<\/a>\u3068\u901a\u4fe1\u3067\u304d\u308b\u5834\u5408\u3001\u6b21\u306e\u3088\u3046\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<table border=\"border\">\n<tr>\n<th>\u6a5f\u80fd<\/th>\n<th>\u30b3\u30de\u30f3\u30c9<\/th>\n<\/tr>\n<tr>\n<td>Chef Manage<\/td>\n<td>Chef\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u30b3\u30f3\u30bd\u30fc\u30eb\u306f\u3001\u30a6\u30a7\u30d6UI\u304b\u3089Data Bag\u3001Attribute\u3001Run List\u3001Role\u3001Environment\u3001Cookbook\u3092\u7ba1\u7406\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30de\u30b7\u30f3\u306e\u307f\u3067\u6b21\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ chef-server-ctl install opscode-manage\n<\/p><\/blockquote>\n<blockquote><p>\n$ opscode-manage-ctl reconfigure\n<\/p><\/blockquote>\n<blockquote><p>\n$ chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/td>\n<\/tr>\n<tr>\n<td>Chef Push Jobs<\/td>\n<td>Chef Push Jobs\u306f\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u3084\u5b9f\u884c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3068\u3044\u3063\u305f\u30b8\u30e7\u30d6\u3092chef-client\u306e\u52d5\u4f5c\u3068\u72ec\u7acb\u3057\u3066Node\u306b\u5bfe\u3057\u3066\u5b9f\u884c\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u6b21\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ chef-server-ctl install opscode-push-jobs-server\n<\/p><\/blockquote>\n<blockquote><p>\n$ opscode-push-jobs-server-ctl reconfigure\n<\/p><\/blockquote>\n<blockquote><p>\n$ chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/td>\n<\/tr>\n<tr>\n<td>Chef Replication<\/td>\n<td>Chef Replication\u306f\u3001\u5358\u4e00\u306e\u30d7\u30e9\u30a4\u30de\u30eaChef Server\u304b\u30891\u3064\u4ee5\u4e0a\u306e\u30ec\u30d7\u30ea\u30abChef Server\u306b\u975e\u540c\u671f\u306bCookbook\u3001Role\u3001Data Bag\u3092\u914d\u5e03\u3059\u308b\u3082\u306e\u3067\u3059\u3002\u6b21\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ chef-server-ctl install chef-sync\n<\/p><\/blockquote>\n<blockquote><p>\n$ chef-sync-ctl reconfigure\n<\/p><\/blockquote>\n<blockquote><p>\n$ chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/td>\n<\/tr>\n<\/table>\n<h3>\u30ed\u30fc\u30ab\u30eb\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n<p><strong>install<\/strong>\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f<a href=\"https:\/\/packagecloud.io\/\">https:\/\/packagecloud.io\/<\/a>\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u80cc\u5f8c\u306b\u3042\u308b\u30b7\u30b9\u30c6\u30e0\u3084<a href=\"https:\/\/packagecloud.io\/\">https:\/\/packagecloud.io\/<\/a>\u3068\u901a\u4fe1\u3067\u304d\u306a\u3044\u5834\u5408\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u624b\u52d5\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u307e\u305a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u5408\u3063\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30ed\u30fc\u30ab\u30eb\u30d1\u30b9\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f4d\u7f6e\u3092\u6307\u5b9a\u3059\u308b<strong>--path<\/strong>\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u7528\u3044\u3066\u3001<strong>install<\/strong>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ chef-server-ctl install NAME_OF_PACKAGE --path \/path\/to\/package\n<\/p><\/blockquote>\n<p>\u4f8b:<\/p>\n<blockquote><p>\n$ chef-server-ctl install opscode-manage --path \/home\/vagrant\n<\/p><\/blockquote>\n<p><strong>chef-server-ctl<\/strong>\u30b3\u30de\u30f3\u30c9\u306f<strong>\/home\/vagrant<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b<strong>opscode-manage<\/strong>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h3>Reporting\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<p>HA\u69cb\u6210\u306eChef Reporting Server\u3092\u69cb\u6210\u3059\u308b\u306b\u306f\u6b21\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>Chef Server\u304c\u52d5\u4f5c\u3059\u308b\u3059\u3079\u3066\u306e\u30de\u30b7\u30f3\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ chef-server-ctl install opscode-reporting\n<\/p><\/blockquote>\n<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u3067Chef Server\u3092\u518d\u8a2d\u5b9a(bootstrap)\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<li>\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d7\u30e9\u30a4\u30de\u30ea\u30b5\u30fc\u30d0\u3067Chef Reporting Server\u3092\u518d\u8a2d\u5b9a(bootstrap)\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ opscode-reporting-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<li><strong>\/etc\/opscode-reporting<\/strong>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u3059\u3079\u3066\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d7\u30e9\u30a4\u30de\u30ea\u30de\u30b7\u30f3\u304b\u3089\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u30ce\u30fc\u30c9\u3068\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30ce\u30fc\u30c9\u306e\u3059\u3079\u3066\u306b\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5404\u30b5\u30fc\u30d0\u3067\u6b21\u3092\u884c\u3046\u304b\u3001<br \/>\n<blockquote><p>\nscp -r <Bootstrap server IP>:\/etc\/opscode-reporting \/etc\n<\/p><\/blockquote>\n<p>\t\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30d7\u30e9\u30a4\u30de\u30ea\u30de\u30b7\u30f3\u304b\u3089\u6b21\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\n$ scp -r \/etc\/opscode-reporting <each servers IP>:\/etc\n<\/p><\/blockquote>\n<\/li>\n<li>Chef Reporting\u30b5\u30fc\u30d3\u30b9\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3059\u3079\u3066\u306eChef Server\u3092\u518d\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ chef-server-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<li>\u5404\u30b5\u30fc\u30d0\u3067Chef Reporting\u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ opscode-reporting-ctl reconfigure\n<\/p><\/blockquote>\n<\/li>\n<li>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u691c\u8a3c\u3057\u307e\u3059\u3002<br \/>\n<blockquote><p>\n$ opscode-reporting-ctl test\n<\/p><\/blockquote>\n<\/li>\n<\/ol>\n<h2>\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9<\/h2>\n<p>\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306f\u3001Chef HA\u306b\u304a\u3051\u308bchef-server.rb\u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3068\u3001\u5fc5\u8981\u306aIdentity and Access Management (IAM)\u306e\u30e6\u30fc\u30b6\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<h3>chef-server.rb<\/h3>\n<p>\u6b21\u306fchef-server.rb\u30d5\u30a1\u30a4\u30eb\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\ntopology \"ha\"<br \/>\nha['provider'] = 'aws'<br \/>\nha['aws_access_key_id'] = '[DELETED]'<br \/>\nha['aws_secret_access_key'] = '[DELETED]'<br \/>\nha['ebs_volume_id'] = 'vol-xxxxx'<br \/>\nha['ebs_device'] = '\/dev\/xvdf'<\/p>\n<p>server 'ip-172-31-24-97.us-west-1.compute.internal',<br \/>\n  :ipaddress => '172.31.24.97',<br \/>\n  :role => 'backend',<br \/>\n  :bootstrap => true<\/p>\n<p>server 'ip-172-31-24-98.us-west-1.compute.internal',<br \/>\n  :ipaddress => '172.31.24.98',<br \/>\n  :role => 'backend'<\/p>\n<p>backend_vip 'ip-172-31-24-180.us-west-1.compute.internal',<br \/>\n  :ipaddress => '172.31.24.180',<br \/>\n  :device => 'eth0',<br \/>\n  :heartbeat_device => 'eth0'<\/p>\n<p>server 'ip-172-31-30-47.us-west-1.compute.internal',<br \/>\n  :ipaddress => '172.31.30.47',<br \/>\n  :role => 'frontend'<\/p>\n<p>api_fqdn 'ec2-54-183-175-188.us-west-1.compute.amazonaws.com'<br \/>\n<\/code><\/p>\n<h3>Identity and Access Management (IAM)<\/h3>\n<p>\u6b21\u306fIdentity and Access Management (IAM)\u306eChef HA\u306b\u5fc5\u8981\u306a\u30a2\u30af\u30bb\u30b9\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u8a2d\u5b9a\u306e\u4f8b\u3067\u3059\u3002<\/p>\n<p><code lang=\"javascript\"><br \/>\n{<br \/>\n  \"Version\": \"2012-10-17\",<br \/>\n  \"Statement\": [<br \/>\n    {<br \/>\n      \"Effect\": \"Allow\",<br \/>\n      \"Action\": [<br \/>\n        \"ec2:DescribeInstances\",<br \/>\n        \"ec2:DescribeVolumes\",<br \/>\n        \"ec2:AttachVolume\",<br \/>\n        \"ec2:DetachVolume\",<br \/>\n        \"ec2:AssignPrivateIpAddresses\"<br \/>\n      ],<br \/>\n      \"Resource\": [<br \/>\n        \"*\"<br \/>\n      ]<br \/>\n    }<br \/>\n  ]<br \/>\n}<br \/>\n<\/code><\/p>\n<p>\u9ad8\u5ea6\u306a\u30dd\u30ea\u30b7\u30fc\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u7528\u3044\u3066\u3055\u3089\u306b\u30a2\u30af\u30bb\u30b9\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u7ba1\u7406\u8005\u306fIdentity and Access Management (IAM)\u30e6\u30fc\u30b6\u306b\u5bfe\u3057\u3066Chef Server\u306e\u30c7\u30fc\u30bf\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u7d50\u3073\u3064\u3051\u3089\u308c\u305f\u30dc\u30ea\u30e5\u30fc\u30e0ID\u306e\u307f\u3092\u30a2\u30bf\u30c3\u30c1\/\u30c7\u30bf\u30c3\u30c1\u3057\u3001\u3059\u3079\u3066\u306e\u30dc\u30ea\u30e5\u30fc\u30e0\u3067\u306f\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u8a31\u53ef\u3092\u4e0e\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f High Availability: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High Availability)\u3092Amazon Web Services [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-6530","post","type-post","status-publish","format-standard","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: AWS #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: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High\" \/>\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\/6530\" \/>\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: AWS #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: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/6530\" \/>\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:31:20+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\/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=\"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\\\/6530#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] Chef High Availability: AWS #opschef_ja #getchef_ja\",\"datePublished\":\"2014-12-01T02:31:20+00:00\",\"dateModified\":\"2015-03-12T03:55:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530\"},\"wordCount\":682,\"commentCount\":0,\"articleSection\":[\"Chef\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530\",\"name\":\"[\u548c\u8a33] Chef High Availability: AWS #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\"},\"datePublished\":\"2014-12-01T02:31:20+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: AWS \u306e 2014\\\/11\\\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6530#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: AWS #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: AWS #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: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High","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\/6530","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Chef High Availability: AWS #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: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High","og_url":"https:\/\/www.creationline.com\/tech-blog\/6530","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:31:20+00:00","article_modified_time":"2015-03-12T03:55:52+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":"4\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/6530#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6530"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] Chef High Availability: AWS #opschef_ja #getchef_ja","datePublished":"2014-12-01T02:31:20+00:00","dateModified":"2015-03-12T03:55:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6530"},"wordCount":682,"commentCount":0,"articleSection":["Chef"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/6530#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/6530","url":"https:\/\/www.creationline.com\/tech-blog\/6530","name":"[\u548c\u8a33] Chef High Availability: AWS #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"},"datePublished":"2014-12-01T02:31:20+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: AWS \u306e 2014\/11\/26 \u6642\u70b9\u3067\u306e\u548c\u8a33\u3067\u3059\u3002 \u672c\u9805\u3067\u306fChef Server\u306eHA (High","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6530#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/6530"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/6530#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: AWS #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\/6530","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=6530"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6530\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}