2014-02-01ãã1ã¶æéã®è¨äºä¸è¦§
ããã¦è¿½è¨ ãªã㨠mod_mruby ã®ã¤ã³ã¹ãã¼ã«ããã¥ã¡ã³ãã«ãç´¹ä»ãã¦é ãã¾ããï¼ mod_mrubyãngx_mrubyãDockerã§buildããæ¹æ³ãå ¬éãã¦ä¸ãã£ãã®ã§ãInstallãã¼ã¸ã«æ²è¼ãã¾ãããhttp://t.co/EszTx8MaUA http://t.co/xBaonCe3Nn thanks @inokara @hâ¦
ã¯ããã« ååã¨è©±ãã¦ã㦠mod_mruby ã§çãä¸ãã£ãå¾ã§ mod_rewrite çãªãã¨ã mod_mruby ã§è©¦ãããã¦ããã®æºåã¨ã㦠mod_mruby 㨠Apache ãåã Dockerfile ãä½ã£ã ã¨ããããç®æ¡æ¸ãã§ããã¾ãã [追è¨]ã¿ã¤ãã«ãä¿®æ£ãã¾ãã [追è¨]ç¾å¨ãä½â¦
ã¯ããã« mod_rewrite 㧠SetEnvIf ã使ãã¨æ¯ãåãå¦çãã¡ãã£ã¨æã£ãã®ã§ã¡ã¢ ã¹ããã©ã¨ãã以å¤ã®æ¯ãåã SetEnvIf å©ç¨åå¤ èªåã¯ä»¥ä¸ã®ããã«è¨å®ãã¦ããã # iPhone 㨠iPod 㨠iPad ã¯... RewriteCond %{HTTP_USER_AGENT} "iPhone" [NC,OR] Reâ¦
ã¯ããã« å æ¥ã®é£²ã¿ä¼ã§ Ansible ã¤ã¤ã§ãããã£ã¦è¨ãããã®ã§è©¦ãã¦ã¿ã ãã¨ããAnsible ã£ã¦ SSH ããéãã°è¨å®ãåºæ¥ãã£ã¦èãããã ãã©ãã³ãããªï¼ãã£ã¦é ã®è´ã«ãªã£ã¦ããã®ã§ç¢ºèªãã¦ã¿ã å人çã«ã¯ chef ã好ãã ã Ansible ãèå³ããã åâ¦
ã¯ããã« EC2 ã¤ã³ã¹ã¿ã³ã¹ã« RabbitMQ ãã¤ã³ã¹ãã¼ã«ãã 2 å°ã®ãã¼ããã¯ã©ã¹ã¿åãã ä»æ´ã ãã© RabbitMQ 㯠Erlang ã§å®è£ ãããã¡ãã»ã¼ã¸ãã¥ã¼ã管çããããã«ã¦ã§ã¢ AWS ã® SQS ã¨è¢«ãã®ããªï¼ãããªè¨äºããã£ãï½ï¼ åè Installing and settiâ¦
ã¯ããã« nginx ã使ã£ã¦ããå ´åã«ãµã¼ãã¹ã®ã¡ã³ããã³ã¹çã«å½¹ç«ã¡ãããªå°ãã¿ ä»ã«ããã¿ãããã°éææ¸ã å°ãã¿ #1 è¨å®ã« if ãå©ç¨åºæ¥ã è¨å®ã« if ã使ãã è¯ãç¥ããããã¨ãªã®ãããããªãããnginx ã®è¨å®ã«ã¯ if ã使ããã®ã§æ·±å¤ã¡ã³ããã³â¦
ã¯ããã« docker ãæ¥ã é²å Ubuntu 㧠docker ã®ãã¼ã¸ã§ã³ã 0.8.1 ã«ã¢ããã°ã¬ã¼ãããã docker ãèµ·åããªããªã£ã¦ããªãç¦ã£ã ä¸å¿ã解決ããã®ã§ã¡ã¢ 調æ»ã®æ®µéã§çºè¦ããã£ãã®ã§ã¡ã¢ ãã¨ã®çµç·¯ ãã¯ã㨠apt-get install lxc-docker ãã¯ã㨠aâ¦
ã¯ããã« ååããã®ç¶ãã§...ããã·ãç£è¦ã®ç¶ã åè ããã·ããã§ã㯠Stop using Nagios (so it can die peacefully) é話ä¼é¡ åãã¯ãã¤ã¾ã§ Nagios ã使ãç¶ããã®ã ãã ãããªãé話ä¼é¡ã§æ縮ã ãããã®è¨äºãæ¸ãã¦ããã以ä¸ã®ãããªè³æãå ¬éâ¦
ã¯ããã« ååã®ç¶ã ããã·ãç£è¦ã軽ã触ã£ã¦ã¿ã åè ããã·ããã§ã㯠æ§ç¯ ãã¡ãã§æ§ç¯ãã ã¡ãªã¿ã« dockerfile ã¯ãã¡ãï¼â» nagira ã®èµ·åã¯ã³ã³ããã«ãã°ã¤ã³ãã¦ãã /etc/init.d/nagira restart ããï¼ å°ã dockerfile ã§æ§ç¯ããå ´åã«ã¯é¢ä¿â¦
è¿½è¨ ä»¥ä¸ã®æ å ±ã¯å¤ããåã¯èª¤ããããã¾ãã®ã§ã注æä¸ãã ... ã¯ããã« ã¬ã·ããæ¸ãçºã ãã§ã¯ãªãã¦ãChef ã使ãã«ããã£ã¦è¦ãã¦ããããè²ã ã¨ãªãã¨ã Berkshelf ããµã¯ãã¨ä½¿ã cookbook ã® bundler çãªä½ç½®ã¥ãã® Berkshelf ã§è¿·ããªãçºã®ã¡ã¢â¦
ã¯ããã« elasticsearch 1.0.0 ãæ£å¼ã«ãªãªã¼ã¹ãããã®ã§æ¹ã㦠Snapshot 㨠Restore æ©è½ã試ãã¦ã¿ã ã¹ãããã·ã§ããã®ä»çµã¿ã«ã¤ãã¦å°ãã ãæ·±å ããã¦ã¿ã æä½ EC2 ã¤ã³ã¹ã¿ã³ã¹ä¸ã«æ§ç¯ãã elasticsearch 1.0.0 ãªãªã¼ã¹çãå©ç¨ãã¦æä½ãããâ¦
ã¯ããã« ååã®è¨äºã§ Xen Orchestra ã¨ãã XAPI ã® Web ã¯ã©ã¤ã¢ã³ããã¼ã«ã«ã¡ãã£ã¨ã ã触ãã XenServer ã®ç°å¢ã確ä¿åºæ¥ãã®ã§æ©éãã¡ãã触ã£ã¦ã¿ã ã¡ãªã¿ã«å®è£ 㯠node.js 㨠Redis ã®ã¿ã£ã½ã åè Xen Orchestra Xen Orchestra ã®æºå ç°å¢ Xeâ¦
ã¯ããã« @kkitase ããããæãã¦*1é ãã XenServer ã®ããããªè©±é¡ã Xen Orchestra 試ãã¦ã¿ãããXenServerã«ã対å¿ãã¦ãããããhttps://t.co/QN6IGFmfERâ Kimihiko Kitase (@kkitase) 2014, 2æ 10 Xen Orchestra ã試ãåã«ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã試â¦
ã¯ããã« å¹¾ã¤ãã®ãµã¼ãã¼ã Nagios ã§ç£è¦ãã¦ããããç£è¦è¨å®ã¯æåã¨ãªã£ã¦ããã®ã§ããããèªååã§ãããå¬ãããªã¨æ å ±åéãã¦ããã nagira ãªã Nagios ã API ã§æä½åºæ¥ãã©ããã¼ããããããã®ã§è©¦ãã¦ã¿ããã¡ãªã¿ã«ããµã¼ãã¼æ§ç¯å¾ã¯ä»¥ä¸â¦
ã¯ããã« elasticsearch 1.0.0 ããå©ç¨åºæ¥ãããã«ãªã£ã¦ããã®ã§éå»ã«æ¸¡ã£ã¦ç°¡åã«è§¦ã£ã¦ã¿ã ãã¼ã£ã¨è§¦ã£ãæãã㨠API ã«ã¢ã¯ã»ã¹ããã ãã§ç°¡åã«ã¹ãããã·ã§ãããåããæ軽ãã¯é常ã«é åçãªå°è±¡ ãã ããã¼ã¿éã大ãããªã£ã¦ã大ä¸å¤«ï¼ã¨ãâ¦
ã¯ããã« test-kitchen ãèµ°ãããå¾ã§ serverspec ã使ã£ã¦ãã¹ãã試ãã¦ããè¨äºãè¦ã¤ããã®ã§è©¦ã æµ·å¤ã§ã serverspec ãåºãåãå ¥ãããã¦ãã¦æ¬å½ã«ç´ æ´ãããã¨æã test-kitchen ã®ãã©ã¤ãã¨ã㦠kitchen-docker ã使ã åè Shell Provisioner â¦
ã¯ããã« æè¿ãMySQL 漬ãã§è²ã ã¨åå¼·ã«ãªããã¨ããã£ãã®ã§ã¡ã¢ ã¡ã¢ï¼1ï¼ !includedir ã¨ã !include åèã¯ãã¡ãã 以åãã my.cnf ã¨ãåãé層㫠conf.d ã¨ãããã£ã¬ã¯ããªããã£ã¦ä½ã«ä½¿ããã ããã¨æããªããéããã¦ãããã©ã*.cnf ã®æ¡å¼µåâ¦
ã¯ãã㫠第3å elasticsearch åå¼·ä¼ã«è¡ã£ã¦ãã åå¼·ä¼ã主å¬ãã¦é ãã @johtani ãããç»å£ãã¦ä¸ãã£ãçãããä¼å ´ãæä¾ããã ãããªã¯ã«ã¼ããããæé£ããããã¾ããï¼ ããã¦ããã¡ãã®æ¥æ¬èªæ¸ç±ã Comming Soon!!!!! è³æçï¼æ°ã¥ããã追è¨ãâ¦
ã¯ããã« docker ã使ãä¸ã§ã¡ãã£ã¨ã ãå½¹ã«ç«ã¤ãããããªãå°æãã¡ã¢ åå ã¨ä¼¼ãæã ã³ã³ããã¤ã¡ã¼ã¸ã®æ´å²ãç¢ºèª ã³ã³ããã¤ã¡ã¼ã¸ã®æ´å²ãããªã¼å½¢å¼ã§ç¢ºèªããã«ã¯ docker images -tree ã使ãã docker -H=tcp://127.0.0.1:4243 images -tree 以â¦
ã¯ããã« ååã®ç¶ã ã¹ãããã·ã§ããã Amazon S3 ã«åããããã ãã©è¨å®ãã¤ãã¤ã解ããªãã£ãã... ãã ã使ãã¨ãããããã åè elasticsearch-cloud-aws ã¨ãããã試ã ã¤ã³ã¹ãã¼ã« cd /usr/share/elasticsearch sudo bin/plugin -install elasâ¦
ã¯ããã« elasticsearch 1.0.0 RC1 ããªãªã¼ã¹ããã¦ãã ã¨ãããã㯠Backup 㨠Restore æ©è½ï¼snapshot/restore APIï¼ã触ã£ã¦ã¿ã ã¡ã¢ v1.0.0 åå¤ ãã¡ããèªãã ããä»ã¾ã§ã®èªèã 㨠1.0 以åã®ããã¯ã¢ããã¨ã¬ã¹ãã¢ã¯æé ã¨ãã¦ãé¢åãªå°è±¡ã§ãâ¦
ã¯ããã« docker rm ã§æ¶ããã¨ãåºæ¥ãªã Ghost ã³ã³ãããä¸éã«è¬ãæ段ã®ä¸ã¤ã試ã ãã®æ¹æ³ãæ£ãããã¯è§£ããªã åè Ghost container unkillable (exit status 255) #3231 æé Ghost ã«ãªã£ã¦ããã³ã³ãã ID ã確èªãã docker ps ã¾ãã以ä¸ã®ãâ¦
ã¯ããã« ååãåã åã®è¨äºã§ capistrano 㨠Chef-Solo ãçµã¿åãããã®ããã£ããã« AWS SDK for Ruby ã使ã£ã¦ EC2 ã¤ã³ã¹ã¿ã³ã¹ã«å¯¾å¿ããããã¼ã«çãªç©ãä½ã£ãã serverspec ãå人çã«æ¡å¼µãããããªããè²ã ã¨å¦ã¶ãã¨ãå¤ãã£ãã®ã§ããã¼ã«ã§åºâ¦
ã¯ããã« åå 㯠EC2 ä¸ã« capistrano 㨠Chef-solo ã使ã£ã¦ã¤ã³ã¹ã¿ã³ã¹ãã»ããã¢ãããã ã»ããã¢ããããã¤ã³ã¹ã¿ã³ã¹ã serverspec ã使ã£ã¦ cookbook ãæ£ããé©ç¨ããã¦ãããã確èªãã EC2 ã®å ´åã«ã¯åç㪠IP ã¢ãã¬ã¹ããã¹ãåãé©ç¨ãããâ¦