{"id":2499,"date":"2016-03-16T00:27:05","date_gmt":"2016-03-15T15:27:05","guid":{"rendered":"http:\/\/tech.akat.info\/?p=2499"},"modified":"2016-03-16T00:30:12","modified_gmt":"2016-03-15T15:30:12","slug":"developers-summit-2016%e3%81%ab%e5%8f%82%e5%8a%a0%e3%81%97%e3%81%9f-%e3%81%9d%e3%81%ae%e3%81%ab-2","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=2499","title":{"rendered":"Developers Summit 2016\u306b\u53c2\u52a0\u3057\u305f \u2013 \u305d\u306e\u306b \u2013"},"content":{"rendered":"<h1>\u30a4\u30f3\u30d5\u30e9\u6700\u65b0\u4e8b\u60c5 &#8211; OSS\u3092\u30d5\u30eb\u6d3b\u7528\u3057\u305f\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u8853 &#8211; \uff08\u4eee\uff09\u3000by\u9577\u8c37\u5ddd\u7950\u4ecb\uff08grasys, Inc.\uff09<\/h1>\n<p>\u30fbgrasys \u30a4\u30f3\u30d5\u30e9\u5c4b<br \/>\n\u30fb2015\u5e741\u6708\u306bGoogle for Work Partner \u306b<br \/>\n\u30fb\u4e3b\u6226\u5834\u306f\u30e2\u30d0\u30a4\u30eb\u30fb\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3<br \/>\n\u3000\u2192\u5c71\u624b\u7dda\u56de\u308b\u3068\u57fa\u5730\u5c40\u304c\u5909\u308f\u308b\u305f\u3081\u901a\u4fe1\u304c\u4f55\u56de\u304b\u5207\u308c\u308b\u2192\u305d\u306e\u3053\u3068\u3082\u8003\u616e\u3057\u3066\u30b2\u30fc\u30e0\u306f\u4f5c\u308b\u3079\u304d<br \/>\n\u30fb\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u3044\u3058\u308b\u306e\u3067\u3042\u308c\u3070CentOS\u3092\u8f9e\u3081\u3066Debian\/Ubuntu\u306b\u3057\u3088\u3046<\/p>\n<h2>grasys\u306b\u3066\u5229\u7528\u3057\u3066\u3044\u308bOSS<\/h2>\n<p>\u30fbPerconaXtraDB<br \/>\n\u3000InnoDB\u30b9\u30c8\u30ec\u30fc\u30b8\u3092\u30d9\u30fc\u30b9\u306b\u30de\u30eb\u30c1\u30b3\u30a2\u74b0\u5883\u3067\u3088\u308a\u9ad8\u901f\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u3057\u305f<br \/>\n\u30fbMaxScale<br \/>\n\u3000\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u5411\u3051\u306e\u30d7\u30ed\u30ad\u30b7\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<br \/>\n\u30fbtmux<br \/>\n\u3000\u7aef\u672b\u591a\u91cd\u5316\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<br \/>\n\u30fbHAProxy<br \/>\n\u3000\u591a\u6a5f\u80fd\u306a\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0(\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b9\u3082\u53ef\u80fd)<br \/>\n\u30fbGunicornDjango<br \/>\n\u3000Gunicorn (Green Unicorn)<br \/>\n\u3000Django\uff1aPython\u3067\u5b9f\u88c5\u3055\u308c\u305fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<br \/>\n\u30fbclutils<br \/>\n\u3000consul\/serf\u306e\u81ea\u52d5\u8a2d\u5b9a\u306b\u5229\u7528<br \/>\n\u30fbclctl<br \/>\n\u3000\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb<br \/>\n\u30fbterraform<br \/>\n\u3000\u30b3\u30fc\u30c9\u3067\u30a4\u30f3\u30d5\u30e9\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb<br \/>\n\u3000\u3053\u308c\u304c\u306a\u3044\u3068\u4ed5\u4e8b\u3057\u305f\u304f\u306a\u3044\u304f\u3089\u3044\u3059\u3054\u3044\u3089\u3057\u3044<br \/>\n\u30fbSerf<br \/>\n\u3000\u30b5\u30fc\u30d3\u30b9\u691c\u51fa(\u30ce\u30fc\u30c9\u5358\u4f4d)\u3068\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb<br \/>\n\u3000grasys\u3067\u306f\u5ec3\u6b62\u4e88\u5b9a<br \/>\n\u30fbConsul<br \/>\n\u3000Serf\u306b\u30b5\u30fc\u30d3\u30b9\u691c\u51fa(DB\u3084WEB\u30bd\u30d5\u30c8\u306a\u3069\u3088\u308a\u5177\u4f53\u7684\u306b\u3067\u304d\u308b\uff1f)\u3092\u8ffd\u52a0\u3057\u305f\u3088\u3046\u306a\u3082\u306e<br \/>\n\u3000\u307e\u305f\u30b5\u30fc\u30d0\u3092\u30bf\u30b0\u4ed8\u3051\u3057\u3066\u3001\u305d\u306e\u30bf\u30b0\u3092\u57fa\u306b\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u305f\u308a\u3059\u308b<br \/>\n\u30fbSerf\u3068Consul\u306e\u7bc4\u56f2<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/03\/2016-03-13_193359.png\" rel=\"attachment wp-att-2503\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/03\/2016-03-13_193359.png\" alt=\"2016-03-13_193359\" width=\"734\" height=\"566\" class=\"alignnone size-full wp-image-2503\" \/><\/a><\/p>\n<h2>\u8208\u5473\u304c\u3042\u3063\u305f\u3082\u306e\u3092\u3056\u3063\u304f\u308a\u8abf\u3079\u305f\u308a\u3001\u4f7f\u3063\u3066\u307f\u305f<\/h2>\n<h3>Terraform<\/h3>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/g1FAQSoujeaUgm\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/akuwano\/terraform-47221901\" title=\"\u5b9f\u74b0\u5883\u306bTerraform\u5c0e\u5165\u3057\u305f\u3089\u9a5a\u3044\u305f\" target=\"_blank\">\u5b9f\u74b0\u5883\u306bTerraform\u5c0e\u5165\u3057\u305f\u3089\u9a5a\u3044\u305f<\/a> <\/strong> from <strong><a target=\"_blank\" href=\"http:\/\/www.slideshare.net\/akuwano\">Akihiro Kuwano<\/a><\/strong> <\/div>\n<\/div>\n<p>\u30fbHashicorp\u793e(Vagrant\u30fbPacker\u30fbSerf\u30fbConsul\u3092\u4f5c\u3063\u3066\u3044\u308b\u4f1a\u793e)\u88fd<br \/>\n\u30fb2014\u5e747\u6708\u3088\u308a\u3002\u958b\u767a\u30b9\u30d4\u30fc\u30c9\u304c\u65e9\u304f\u3001\u307e\u3060\u67af\u308c\u3066\u306f\u3044\u306a\u3044<br \/>\n\u30fb\u30b5\u30fc\u30d0\u69cb\u6210\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3001\u30b3\u30fc\u30c9\u7ba1\u7406\u304c\u53ef\u80fd<\/p>\n<h3>Serf<\/h3>\n<p>\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3057\u3066\u3001\u30af\u30e9\u30b9\u30bf\u306e\u30e1\u30f3\u30d0\u5185\u3067\u76e3\u8996\u3057\u3001\u72b6\u6cc1\u306b\u5fdc\u3058\u3066\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u306a\u3069\u304c\u53ef\u80fd<\/p>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/Lnr4fjLJFtSdfZ\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/zembutsu\/re-is-the-order-an-automation-2nd\" title=\"Re: \u3054\u6ce8\u6587\u306f\u81ea\u52d5\u5316\u3067\u3059\u304b\uff1f[2]\" target=\"_blank\">Re: \u3054\u6ce8\u6587\u306f\u81ea\u52d5\u5316\u3067\u3059\u304b\uff1f[2]<\/a> <\/strong> from <strong><a target=\"_blank\" href=\"http:\/\/www.slideshare.net\/zembutsu\">Masahito Zembutsu<\/a><\/strong> <\/div>\n<\/div>\n<p>\u5229\u7528\u30b7\u30fc\u30f3<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/03\/2016-03-13_130901.png\" rel=\"attachment wp-att-2504\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2016\/03\/2016-03-13_130901.png\" alt=\"2016-03-13_130901\" width=\"734\" height=\"566\" class=\"alignnone size-medium wp-image-2504\" \/><\/a><\/p>\n<h3>Consul<\/h3>\n<p>\u969c\u5bb3\u691c\u77e5\u306f\u76e3\u8996\u30b5\u30fc\u30d0\u4e3b\u4f53\u3067\u3042\u3063\u305f\u305f\u3081<br \/>\n\u7570\u5e38\u691c\u77e5\u307e\u3067\u306b\u30bf\u30a4\u30e0\u30e9\u30b0\u304c\u3042\u3063\u305f<br \/>\n\u30ce\u30fc\u30c9\u4e3b\u4f53\u3067\u691c\u77e5\u3059\u308b\u305f\u3081\u3088\u308a\u8fc5\u901f\u306b\u691c\u77e5\u3057\u3001\u5fa9\u65e7\u306e\u305f\u3081\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3082\u53ef\u80fd<br \/>\n(\u30a2\u30af\u30b7\u30e7\u30f3\u4e0d\u8981\u3067\u3042\u308c\u3070\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30ec\u30b9\u306e\u5bfe\u5fdc\u3082\u53ef\u80fd)<\/p>\n<p>Consul\u306e\u30c7\u30fc\u30bf\u306fConsul\u30b5\u30fc\u30d0\u306b\u3088\u3063\u3066KVS\u306b\u4fdd\u5b58\u3055\u308c<br \/>\n\u305d\u308c\u306fWebUI\u3084envconsul\u3084WebAPI\u3092\u5229\u7528\u3057\u3066\u95b2\u89a7\u53ef\u80fd<\/p>\n<pre class=\"brush: plain; title: \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb; notranslate\" title=\"\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\">\r\nroot@hostname:\/usr\/local\/src# wget -d https:\/\/releases.hashicorp.com\/consul\/0.6.3\/consul_0.6.3_linux_amd64.zip\r\n...\r\nroot@hostname:\/usr\/local\/src# unzip consul_0.6.3_linux_amd64.zip\r\nArchive:  consul_0.6.3_linux_amd64.zip\r\n  inflating: consul\r\nroot@hostname:\/usr\/local\/src# mv consul \/usr\/bin\/\r\n\r\nroot@hostname:\/home\/shimizu# consul agent -data-dir \/tmp -server -bootstrap-expect 3\r\n==&gt; WARNING: Expect Mode enabled, expecting 3 servers\r\n==&gt; Starting Consul agent...\r\n==&gt; Error starting agent: Failed to get advertise address: No private IP address found\r\n\r\nroot@hostname:\/home\/shimizu# consul agent -data-dir \/tmp -bind x.x.x.x -server -bootstrap-expect 3\r\n==&gt; WARNING: Expect Mode enabled, expecting 3 servers\r\n==&gt; Starting Consul agent...\r\n==&gt; Starting Consul agent RPC...\r\n==&gt; Consul agent running!\r\n         Node name: 'hostname'\r\n        Datacenter: 'dc1'\r\n            Server: true (bootstrap: false)\r\n       Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400)\r\n      Cluster Addr: x.x.x.x (LAN: 8301, WAN: 8302)\r\n    Gossip encrypt: false, RPC-TLS: false, TLS-Incoming: false\r\n             Atlas: &lt;disabled&gt;\r\n\r\n==&gt; Log data will now stream in as it occurs:\r\n\r\n    2016\/03\/16 00:16:55 &#x5B;WARN] memberlist: Binding to public address without encryption!\r\n    2016\/03\/16 00:16:55 &#x5B;INFO] serf: EventMemberJoin: hostname x.x.x.x\r\n    2016\/03\/16 00:16:55 &#x5B;WARN] memberlist: Binding to public address without encryption!\r\n    2016\/03\/16 00:16:55 &#x5B;INFO] serf: EventMemberJoin: hostname.dc1 x.x.x.x\r\n    2016\/03\/16 00:16:55 &#x5B;INFO] raft: Node at x.x.x.x:8300 &#x5B;Follower] entering Follower state\r\n    2016\/03\/16 00:16:55 &#x5B;INFO] consul: adding LAN server hostname (Addr: x.x.x.x:8300) (DC: dc1)\r\n    2016\/03\/16 00:16:55 &#x5B;INFO] consul: adding WAN server hostname.dc1 (Addr: x.x.x.x:8300) (DC: dc1)\r\n    2016\/03\/16 00:16:55 &#x5B;ERR] agent: failed to sync remote state: No cluster leader\r\n    2016\/03\/16 00:16:56 &#x5B;WARN] raft: EnableSingleNode disabled, and no known peers. Aborting election.\r\n    2016\/03\/16 00:17:12 &#x5B;ERR] agent: coordinate update error: No cluster leader\r\n...\r\n\r\n### \u5225\u30b3\u30f3\u30bd\u30fc\u30eb\u3067 ###\r\nroot@hostname:\/home\/shimizu# consul members\r\nNode      Address             Status  Type    Build  Protocol  DC\r\nhostname  x.x.x.x:8301  alive   server  0.6.3  2         dc1\r\n<\/pre>\n<p>\u3053\u3053\u304b\u3089 consol agent -join \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u5229\u7528\u3057\u3066\u30af\u30e9\u30b9\u30bf\u3092\u4f5c\u6210\u3057\u3066\u3044\u304f<br \/>\n\u30b5\u30fc\u30d3\u30b9\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306a\u3069\u306f \/etc\/consul.d\/ \u306b\u30d5\u30a1\u30a4\u30eb\u3092\u304a\u304d\u3001\u8d77\u52d5\u30aa\u30d7\u30b7\u30e7\u30f3\u306b -config-dir=\/etc\/consul.d \u3092\u52a0\u3048\u308b<\/p>\n<h2>\u53c2\u8003<\/h2>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/Lnr4fjLJFtSdfZ\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/zembutsu\/re-is-the-order-an-automation-2nd\" title=\"Re: \u3054\u6ce8\u6587\u306f\u81ea\u52d5\u5316\u3067\u3059\u304b\uff1f[2]\" target=\"_blank\">Re: \u3054\u6ce8\u6587\u306f\u81ea\u52d5\u5316\u3067\u3059\u304b\uff1f[2]<\/a> <\/strong> from <strong><a target=\"_blank\" href=\"http:\/\/www.slideshare.net\/zembutsu\">Masahito Zembutsu<\/a><\/strong> <\/div>\n<\/div>\n<div class=\"oceanwp-oembed-wrap clr\"><iframe loading=\"lazy\" src=\"https:\/\/www.slideshare.net\/slideshow\/embed_code\/key\/NIXAL8KvI9KJKz\" width=\"427\" height=\"356\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" style=\"border:1px solid #CCC; border-width:1px; margin-bottom:5px; max-width: 100%;\" allowfullscreen> <\/iframe> <\/p>\n<div style=\"margin-bottom:5px\"> <strong> <a href=\"https:\/\/www.slideshare.net\/zembutsu\/introduce-orchestration-serf-and-consul-presentation\" title=\"Serf \/ Consul \u5165\u9580 \uff5e\u4ed5\u4e8b\u3092\u697d\u3057\u304f\u3057\u3088\u3046\uff5e\" target=\"_blank\">Serf \/ Consul \u5165\u9580 \uff5e\u4ed5\u4e8b\u3092\u697d\u3057\u304f\u3057\u3088\u3046\uff5e<\/a> <\/strong> from <strong><a target=\"_blank\" href=\"http:\/\/www.slideshare.net\/zembutsu\">Masahito Zembutsu<\/a><\/strong> <\/div>\n<\/div>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/2014\/12\/11959\/\">\u30aa\u30fc\u30b1\u30b9\u30c8\u30ec\u30fc\u30b7\u30e7\u30f3\u5165\u9580 \u2013 \u591a\u7a2e\u591a\u69d8\u5316\u3059\u308b\u30b5\u30fc\u30d3\u30b9\u3092Consul\u3067\u9023\u643a\u3055\u305b\u308b<\/a><br \/>\n<a href=\"http:\/\/www.hitsumabushi.org\/blog\/2014\/11\/01\/0243.html\">Consul \u4f7f\u3063\u3066\u307f\u308b<\/a><br \/>\n<a href=\"https:\/\/www.consul.io\/docs\/agent\/options.html\">CONSUL-CONFIGURATION<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30d5\u30e9\u6700\u65b0\u4e8b\u60c5 &#8211; OSS\u3092\u30d5\u30eb\u6d3b\u7528\u3057\u305f\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u8853 &#8211; \uff08\u4eee\uff09\u3000by\u9577\u8c37\u5ddd\u7950\u4ecb\uff08grasys, Inc.\uff09 \u30fbgrasys \u30a4\u30f3\u30d5\u30e9\u5c4b \u30fb2015\u5e741\u6708\u306bGoogle for Work Pa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[93,35],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2499"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2499"}],"version-history":[{"count":4,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2499\/revisions"}],"predecessor-version":[{"id":2505,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/2499\/revisions\/2505"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2499"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2499"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}