2013-01-01ãã1å¹´éã®è¨äºä¸è¦§
2013å¹´ãæ®ãã¨ããããã¨æ°æéããã£ããå¹´ã®ç¬ã§ããä»å¹´ãå½ããã°ã¸ã¢ã¯ã»ã¹ããã ãããããã¨ããããã¾ããã ä»å¹´ãä¾å¹´éããã¾ã¨ãã®æãè¾¼ãã¦ãå½ããã°ã§ã®2013å¹´ã®ã¢ã¯ã»ã¹ã©ã³ãã³ã°ãæ®ãã¦ããã¾ãã ä»å¹´ã®å½ããã°ã¸ã®ã¢ã¯ã»ã¹æ°(PVæ°)â¦
Lsyncdãå ¥ãã¦ã¿ãä½æ¥ã¡ã¢ãç°å¢ã¯CentOS 6ç³»ã§ãLsyncdã®ãã¼ã¸ã§ã³ã¯2.1.4ã Lsyncdã¯ãLinux Kernelã«çµã¿ãã¾ãã¦ããinotifyã使ã£ã¦ãæå®ãããã£ã¬ã¯ããªé ä¸ã§å¤æ´ãå ããããå ´åã«ãã»ã¼ãªã¢ã«ã¿ã¤ã ã«rsyncã§(é éã®ãµã¼ããªã©ã«)åæãããâ¦
ã¿ã¤ãã«ãã®ã¾ãã¾ã ãã©ãChefspecã使ã£ã¦ããæã«ãResourceã®ç¶æ ãè¦ããå ´åã®è©±ã chef_run = ChefSpec::ChefRunner.new ã¨ããã¦ããå ´åã p chef_run.resources ã¨ãã§æ¨æºåºåã«ãã©ã©ã¼ãã¨åºãã¦ãããã
AWS re:Inventã§çºè¡¨ããã¦ãããSSDã«ããé«æ§è½ã©ã³ãã I/Oç¨ã«æé©åãããã¨ãããAmazon EC2ã®æ°ããã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ããI2ã¤ã³ã¹ã¿ã³ã¹ããå æ¥ä½¿ããããã«ãªãã¾ããã ã¤ã³ã¹ã¿ã³ã¹ã¿ã¤ãã¨ãã¦ã¯"i2.*"ããã¯ãã¾ããã¤ã§ãã I2ã¤ã³ã¹ã¿ã³ã¹ã¿ã¤â¦
HAProxyã使ãä¸ã§ãã©ããã£ããããã©ã¼ãã³ã¹ãä¸ããã®ãã模索ããã¡ã¢ã åºæ¬çã«ãä¸è½ãªããã©ã¼ãã³ã¹ãã¥ã¼ãã³ã°ã¯ãªãã®ã§ãä»åã¯CPS(Connections per Second)ã®ããã©ã¼ãã³ã¹ãä¸ãããã¨ã«ç¦ç¹ãçµãã¾ããCPS(Connections per Second)ã¯ãâ¦
ã¿ã¤ãã«ã®ä»¶ãætwitterã«æ¸ãããããªæ°ããã¾ãããxfsaildã®ã¹ãã¼ã¿ã¹ã"D"ã®ã¾ã¾ã«ãªãLAãç¹å®ã®æ°åã§å¼µãä»ããã¨ããã¾ã«ãã£ã¦ããããã¼ã¨æã£ã¦ããã®ã§ãããæ°ä»ãããã¡ããã¨FIXãªãªã¼ã¹ããã¦ãã¾ããã ããã¾ããã£ããè¦ã¦ããªãã¦ãã¿â¦
StackOverflowã®ã¦ã±ã¦ãªã§ããããã python - Upgrading all packages with pip - Stack Overflow ããæ¹ã大ããåããã¨ã以ä¸ã®2éãã pip-toolsã使ã ã¯ã³ã©ã¤ãã¼ãæ¸ãã¦å®è¡ å人çã«ã¯ãåä½ä¿éçãªæå³ã§ãå ¨ããã±ã¼ã¸ã®ãã¼ã¸ã§ã³ãä¸æ¬ã§ã¢â¦
HAProxyã¯åºæ¬çã«L7ã¬ã¤ã¤ã®ãã¼ããã©ã³ãµã¼(ãªãã¼ã¹ãããã·)ãªã®ã§ãããã¯ã¨ã³ãã«ãããªã¢ã«ãµã¼ãã«ã¯ãããã³ãã¨ã³ãããå±ãããªã¯ã¨ã¹ããããã¼ããã©ã³ãµã®IPã¢ãã¬ã¹ããã¢ã¯ã»ã¹ãæ¥ããã®ããã«æ¯èãã¾ãã ã§ãHAProxyã¯tproxy(transpareâ¦
以åãä¸åº¦ãã£ãã¯ããªã®ã§ããããã£ããå¿ãã¦ãã¾ã£ã¦ãã¦ãçµå±èª¿ã¹ããã¨ã«ãªã£ãã®ã§ãä»åã¯ããã«ä½æ¥ãã°ãæ®ãã¦ããã¾ãã TIME_WAITã³ãã¯ã·ã§ã³ã®å¢æ® ä¸è¬çã«ãããã¯ã¼ã¯ã¢ã¯ã»ã¹æ°ã極端ã«å¤ããµã¼ãã§ã¯ãTIME_WAITç¶æ ã®ã³ãã¯ã·ã§ã³ãâ¦
ã¡ããã©2ã¶æåã®è©±ã§ãããããã°ãã¼ãã¨ãã¦ã¤ãããã¦ããã£ã¦ããZenbackãå¤ããã¨ã«ãã¾ããã ã¨ãåæã«å¤é¨ãµã¼ãã¹ã¸ã®ãªã³ã¯ãå¤ãã£ãã®ã§ãæ´çãããã¦ãå°ããªã³ã¯ãå¤ãã¾ããã åç´ã«å¤ãããã©ãå¤ããã®ããªããã¨ããèå³æ¬ä½ãä¸çªâ¦
ãã¼ããã©ã³ãµã¨ããªãã¼ã¹ãããã·ã使ã£ã¦è²ã ãã£ã¦ããã¨ãHTTPS/SSL対å¿ãã¼ãã©ããããããªã¼ã¿ãããªãã¨ãèããæ¥ããã®ãã¡ãã£ã¦ãããããããããã¾ããã ãã¦ãæè¿è§¦ãå§ããHAProxyãªãã§ãããå ¬å¼ãµã¤ãã®è¨è¼ãè¦ã¦ããã¨ãéçºçã®ãâ¦
ã¨ãããã¨ã«ã(ä»æ´ï¼)æ°ä»ããã話ã§ããHAãçµãã éã®VIPã®åãæ¿ããã¹ãããã£ã¦ããã¨ãã«ãé«è² è·æã¨ãã¯åãæ¿ãã«7ç§ã´ã£ãããããã±ã¼ã¹ã¨ãããã£ã¦ã7ç§ã£ã¦ä½ã®æ°åã ããã¨çåãæã¡ã¾ããã OSã¯ãCentOS 6.4(2.6.32-358.23.2.el6.x86_64â¦
å°ãæéããã£ã¦ãã¾ãã¾ããããã¿ã¤ãã«éããåæãåãã¾ããããã¾ã«ã¯ãå 容ãç®æ¡æ¸ããã¦ã¿ããï½ Chefã®å©ç¨äºä¾ã®è©±ããã¾ããã(æè¿ã®å®çª) Cookbook/Recipeããã«ã¹ã¯ã©ããã§3ä¸ä»£æ¸ãã(2åæ¸ãç´ãã)ãã¨ã話ãããã®ä¸ã§ãµã¼ãã¹ãChefã¾â¦
ã¾ããã°ããããã°ãæ¸ãã¦ããªãã£ãããã¤ãæ¸ãã¦ããã©ãããããã¨ãã¯ã©ã¤ããªãã°ãæ®ãã CentOS 6ç³»ã«HAProxyã®1.5ç³»(éçºç)ãã¤ã³ã¹ãã¼ã«ãã¹ãRPMãä½ã£ãã ã¨ã¯ãã£ã¦ããHAProxyã®tarballã«ã¯ãspecãã¡ã¤ã«ãæ·»ä»ããã¦ããã®ã§ããã«ããâ¦
æ°ãã¤ãããã1ã¶æ以ä¸ããã°æ¸ãã¦ãªãã£ãã®ã§ãµã¯ãã¨ãã¿ã¤ãã«ã¯ååé£ããååã¯æ¬å½ã æ¨æ¥ãAWSããæ°ããä¸ä»£ã®HPCåãã®Amazon EC2ã¤ã³ã¹ã¿ã³ã¹ãçºè¡¨ããã¾ããã"c3.*"ããã¯ãã¾ããã¤ã§ãã Amazon Web Services ããã°: ãAWSçºè¡¨ã æ°ä¸ä»£â¦
ãã¤ãããã¯å¿ãã¦ãã¾ãã¾ããããã¡ã¤ã³ã§ä½¿ã£ã¦ããiPhone5ã®ã¹ãªã¼ããã¿ã³(é»æºãã¿ã³)ã®åå¿ãæªããªã£ã¦ãã¾ããã ä½åº¦ãæ¼ãããå¼·ãæ¼ãããããã¨åå¿ãããã©ãä»ã¾ã§ã©ããæ®éã«æ¼ãã ãã§ã¯ããã¾ãå¹ãã¦ãããªããããªæãã ã¨ããããã§â¦
æ´å²ã®ããã¯ã©ã¦ããµã¼ãã¹ã¯ãã©ãããããªã£ã¦ãã¾ãå¾åãããã¨ã¯æãã¾ããããã¹ããµã¼ãã§ã®å®CPUã®ã¢ã¼ããã¯ãã£ã»ä¸ä»£ã®éãã§ããµã¼ãã¤ã³ã¹ã¿ã³ã¹ã®CPUããã©ã¼ãã³ã¹ã«å¾®å¦ãªå·®ãã¤ãã¦ãã¾ãã¾ãã2006å¹´ãããµã¼ãã¹æä¾ãã¦ããAmazon EC2â¦
ã¨ã³ããªãæ¸ãã®ãé ããªã£ã¦ãã¾ãã¾ãããã9/20ãiPhone5sã®çºå£²æ¥å½æ¥ã«ã幸éã«ãæã«å ¥ãããã¨ãã§ãã¾ããã 以åãiPhoneã«å¤ããã¨ãã«ããã³ã¢ãã¤ã³ãã8000ãã¤ã³ãè¶ ãæ失ãã¦ãããã¨ããã£ã¦ããã³ã¢ããããå²å¼ã¯ã¡ãã£ã¨é åã§ããããâ¦
ã¿ã¤ãã«ã®éãã§ãããIPv6ã使ã£ã¦ããèªãããã¯ã¼ã¯ç°å¢ä¸ãããAmazon VPCã«VPNæ¥ç¶ããVPCå ã®ã¤ã³ã¹ã¿ã³ã¹ã¨IPv6ãããã¯ã¼ã¯é ä¸ã®ãµã¼ãã¨ãéä¿¡(é£æº)ã§ããããã«ãã¦ã¿ããã°ã§ãã IPv6ã使ãä¸ã§ã®åææ¡ä»¶/è¦ä»¶ ã¾ããä»å話ãããä¸ã§ã®åæâ¦
ååã®ã¨ã³ããªãã¯ããã¦ã®Amazon VPC - 1. ã«ã¼ã¿ã¼ããVPCã¸VPNæ¥ç¶ãããã®ç¶ãã§ãã(ä»æ´ã·ãªã¼ãº) Amazon VPCã§ã¯ãåãµããããã§ã®ã¢ã¯ã»ã¹ã³ã³ããã¼ã«ãæè»ã«è¨å®ã§ããããèªãããã¯ã¼ã¯ããVPNãã³ãã«ãã¯ã£ã¦æ¥ç¶ã§ãããªã©ãããã»ãã¥ã¢â¦
ã¼ã¡ã¼ã¡Amazon VPCã触ãå§ãã¦ã¿ã¾ããã ä»æ´ãªæãããã¾ãããAmazon VPCã®Private Subnetã«Hardware VPN(IPsec VPN)ã使ã£ã¦æ¥ç¶ã§ããä»æç¹ã§ã®è©³ããæé ãæ®ãã¦ãããã¨æãã¾ãã(ã·ãªã¼ãºåãã¾ããå¤åã) Amazon VPCã®æ¦è¦ã¯ãä¸è¨å ¬å¼ãµã¤ãâ¦
æ©ä¼ããã£ãã®ã§ã調ã¹ã¦ã¿ã¾ããã 2ãã¡ã¤ã«ã®å·®åã¯diffã³ãã³ãã§åããã©ããã®éã®å ±éãã¦ããé¨åã¯ã©ããã£ã¦åå¾ããã®ããã¨ã¬ã¬ã³ããªããæ¹ã¯ãã£ã±ãgrepã³ãã³ãã使ãã®ãããï¼ åæ $ diff -c5 {a,b}.txt *** a.txt 2013-08-28 18:54:49.â¦
æã家ã¯é«å°ã«ããã®ã§ãé ãã§éå¬ããã¦ããè±ç«ã§ãã£ã¦ããå°ãããªãããå²ã¨å®¶ãã観ããã¨ãã§ãã¾ãã ä»æ¥ã¯ã調å¸å¸ã®è±ç«å¤§ä¼ã®é³ããèããã¦ããã®ã§ãã«ã¡ã©ãæ大æé ã«ãã¦æ®ã£ã¦ã¿ã¾ããã ããã§ã¯ï¼=ÍÍÍÍ(à¹â¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ìà¹)â¦
ãã£ã¨ããéãã ã£ãæ°ããã¾ãããæ¯åããã1æ³ãè¿ãã¾ãããããã§ã¨ãï¼ åä¾ãèªçãã¾ãã - å RX-7ä¹ãã®é©å½ãªæ¥ã ä¸è¨ã®ã¨ã³ããªãæ¸ãã¦ãã丸1å¹´ããã£ã±ããã£ã¨ããéã§ããã æ¯åã¯ãããã¯ããããããç¬ããããæ³£ããããé£ã¹ãããã¦â¦
ã¡ã¢ã¡ã¢ã AWSæ±äº¬ãªã¼ã¸ã§ã³ã¨BGPãã¢ã確ç«ããã¨ã¬ã¤ãã³ã·ã¯ã©ãå¤ãããï¼Î± - å RX-7ä¹ãã®é©å½ãªæ¥ã ä¸è¨ã¨ã³ããªãæ¸ããã¨ãã«ãAWS æ±äº¬ãªã¼ã¸ã§ã³ã®åã¾ã¼ã³ã«ç«ã¡ä¸ããã¤ã³ã¹ã¿ã³ã¹ã使ã£ã¦ãus-east ã«ããã¤ã³ã¹ã¿ã³ã¹ã¸ã®çµè·¯ã調ã¹ã¦ã¿ãâ¦
1æ³ç®åã«ãã¦ãåãã¦ã®ãã¼ã«ã奥ããã®å®å®¶ã«ã¦ã # å¤ã®åç2013 ããã§ã¯ï¼ =ÍÍÍÍ(à¹â¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ì=ÍÍÍÍ(à¹â¢Ìдâ¢Ìà¹)=ÍÍÍÍ(à¹â¢Ìдâ¢Ì
åèã¾ã§ã«ãAWS(Amazon Web Services)ã¾ã§ã®éä¿¡çµè·¯ä¸ã®ASãã¹ã®æ°ãçããªã£ãããã©ããããã¬ã¤ãã³ã·ãå¤ããã®ãè¨æ¸¬ãã¦ã¿ã¾ããã 注æäºé ã¨ãã¦ããã®æã®è©±ã¯ããã¡ããç°å¢ã«ãã£ã¦çµæã大ããå¤ããã®ã§ãåèç¨åº¦ã«ãããªããªãããããã¾ãâ¦
ã¤ã³ã¿ã¼ãããã®ãããã¯ã¼ã¯ã«å¤å°ãªãã¨èå³ãããæ¹ãªããæå®ã®ç®çå°ã¾ã§ã®çµè·¯æ¢ç´¢ããã¦ããããã¿ããªå¤§å¥½ãtracerouteã³ãã³ãã ãããªtracerouteã®è²ã ãã¡ã¢ãã¦ããã¾ãã tracerouteã®ä»çµã¿ æ¢ã«å¤ãã®è§£èª¬ãµã¤ããããã®ã§ããã¡ãã«è²ãã¾â¦
IPv4ã®BGPãã«ã«ã¼ãæ°ã¯èª¿ã¹ãã¨ããã2006å¹´ã«20ä¸ãè¶ ãã2009å¹´ã«ã¯30ä¸çªç ´ã2011å¹´çµããã«40ä¸ãçªç ´ããä»æ¥ææã§ãã§ãã¯ãã¦ã¿ãã¨ãããé£æ¥ããNeighborã«ãããããã§ããIPv4ã®ã¤ã³ã¿ã¼ãããçµè·¯ã®ãã«ã«ã¼ãæ°ã¯ã45ä¸ã46ä¸å°ã¨ãã£ãã¨ãâ¦
ä»æ´ãªè©±é¡ã§ã¯ããã¾ãããPythonã§ä½ãããAWS Command Line Interface(aws-cli: å¾æ¥ã®Javaã§åãã¦ããEC2 API Toolsã¨ã¯å¥ç©)ãå ¥ãã¦åããã¦ã¿ã¾ãããã¡ã¢çãªæãã§æ®ãã¦ããã¾ããaws-cliã¯ãpipã§ç®¡çã§ãããããã1ã¤ã§è¤æ°ã®AWSãµã¼ãã¹ãæ±â¦