Mail.Ru Searchã®èªåãã¹ãããã¹ãŠã®å¿ èŠãªç°å¢ã§è¿ éã«å®è¡ããã«ã¯ãç¹å®ã®æ§æã§æ°ããä»®æ³ãã·ã³ãè¿ éã«å±éããæ¹æ³ãåŠã¶å¿ èŠããããŸããã
ã¯ã©ãŠãå ã®å€æ°ã®ä»®æ³ãã·ã³ãWebDriverãã©ãŠã¶ãŒãã¡ãŒã ã«ãã£ãŠäœ¿çšãããã¹ã±ãŒãªã³ã°ãããSearch Webã€ã³ã¿ãŒãã§ã€ã¹ã®ãã¹ããé«éåãããŸãã
ããã«ãä»®æ³ãã·ã³ã§ã¯ãã³ãŒãå質ã®ã¡ããªãã¯ãšã«ãã¬ããžã®æž¬å®å€ãåéããããŒã«ãããã³åœç€Ÿãéçºããæ€çŽ¢ãã¹ãããŒã«ãèµ·åããŸãã
èæ¯
ãã¹ãŠã¯ãKVMãã€ããŒãã€ã¶ãŒãã€ã³ã¹ããŒã«ãããlibvirtãå¶åŸ¡ãããŠããåäžã®ãµãŒããŒã§éå§ãããŸããã åæã«ã管çè ãJiraã®ã¿ã¹ã¯ãä»ããŠæ¯åæ°ããä»®æ³ãã·ã³ãæåã§äœæããŸããã ãã®ãããªããã»ã¹ã«ããããã¹ãéšéã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã®å¹çãšå¶åŸ¡æ§ã«ããã€ãã®å¶éã課ãããŸããã
æéãçµã€ã«ã€ããŠãWindowsä»®æ³ãã·ã³ã®æ°ãå¢ãããšããœãªã¥ãŒã·ã§ã³ã®ä¿¡é Œæ§ãäœäžããŸãããå®æçã«ãã²ã¹ãWindowsãæã€VMããã³ã°ã¢ãããããããã¹ããã·ã³ã®CPUå šäœã䜿çšããããçªç¶æŽæ°ãæŽæ°ããŠæ°ãããã©ãŠã¶ãŒãã€ã³ã¹ããŒã«ãããããŸããã ç°å¢ãå¶åŸ¡äžèœã«ãªããæåã§ç®¡çãç¶ããããšãäžå¯èœã«ãªããŸããã ã¿ã¹ã¯ãåæããåŸãå°æ¥ã®ä»®æ³åãã©ãããã©ãŒã ãæºããã¹ãèŠä»¶ã®ä»¥äžã®ãªã¹ãããŸãšããŸããã
- 管ççšAPIãšãããå®è£ ããã©ã€ãã©ãªã®å¯çšæ§
- ä»®æ³ãã·ã³ã®ã¹ããŒã¿ã¹ç®¡ç
- ä»®æ³ãã·ã³ã®ãããã¡ã€ã«ç®¡çïŒã¡ã¢ãª/ CPU /ãã£ã¹ã¯ïŒ
- ç°ãªããŠãŒã¶ãŒã®ã¯ã©ãŒã¿ã®ç®¡çïŒ1人ã®ãŠãŒã¶ãŒãä»ã®ä»®æ³ç°å¢ã®ããã©ãŒãã³ã¹ã«åœ±é¿ãäžããå¯èœæ§ãããç¶æ³ãååŸããããããŸããã§ããïŒ
- ãã£ã¹ã¯ãµãã·ã¹ãã 管çïŒããã¯ã¢ãã/ã¹ãããã·ã§ããïŒ
- ãããã¯ãŒã¯ç®¡ç
- æ°Žå¹³ã¹ã±ãŒãªã³ã°æ©èœãšå¿ èŠãªã¬ãã«ã®ãã©ãŒã«ããã¬ã©ã³ã¹
- ç掻ã³ãã¥ããã£
- éçºã®èŠéã
決å®ã®éžæ
èŠä»¶ãæµè¡èªã§è¡šçŸããããã«ããã©ã€ããŒãã¯ã©ãŠããæŽçããããã®IaaSãœãªã¥ãŒã·ã§ã³ãæ¢ããŠããŸããã ãããŸã§ãå€ãã®ãã©ãããã©ãŒã ããããã®èŠä»¶ã«å¯Ÿå¿ããŠããŸãã 次ã®ãªãŒãã³ãœãŒã¹ãœãªã¥ãŒã·ã§ã³ã«æ³šç®ããŸããã
- Proxmox VE www.proxmox.com/proxmox-ve
- Xen www.xenproject.org
- OpenStack www.openstack.org
- ãŠãŒã«ãªwww.eucalyptus.com
- Opennebula opennebula.org
èŠéãããã³ããŒããã¯ã®æ¬ åŠãã³ãã¥ããã£ã¢ã¯ãã£ããã£ã®èŠ³ç¹ãããããã®ãããžã§ã¯ããè©äŸ¡ããåŸãOpenStackãéžæããŸããã
OpenStackã¯å€æ°ã®ãµãŒãã¹ã§ããããããããæ©èœã®éèŠãªéšåãæ ã£ãŠããŸãã åå¥ã®ãµãŒãã¹ã«ã¯ãæ¿èªããããã¯ããã€ã¹ç®¡çããã€ããŒãã€ã¶ãŒç®¡çãããã³ä»®æ³ãã·ã³äœæã¹ã±ãžã¥ãŒã©ãå«ãŸããã»ãšãã©ãã¹ãŠã®OpenStackã³ã³ããŒãã³ãã¯RESTful APIãåãããµãŒãã¹ã§ãã åãµãŒãã¹ã®æ§æã説æããããšã¯æå³ããããŸãããã€ã³ãã©ã¹ãã©ã¯ãã£ã«å²ãåœãŠãããã¿ã¹ã¯ã«äŸåããŸãã ç§ãã¡ã䜿çšããäž»èŠãªã³ã³ããŒãã³ãã«ã€ããŠèª¬æããŸãã
-ãã€ããŒãã€ã¶ãŒïŒKVMãåªå ããŸããã çç±ã¯äžè¬çã§ãã-ããã¯ã³ã¢ã«å«ãŸããŠããŸãã å°æ¥çã«ã¯ãããã«ããã«ãŒãã«ã®æŽæ°ã«é¢ããåé¡ãåé¿ã§ããŸãã
-ãããã¯ããã€ã¹ã®ããã¯ãšã³ãããã³ä»®æ³ãã·ã³ã€ã¡ãŒãžã®ã¹ãã¬ãŒãžãšããŠãCephãéžæããŸããã 決å®ã®æç¹ã§ãéçºè ã¯è£œåã®æºåãæŽã£ãŠããªããšè¿°ã¹ãããããã¹ããéåžžã«çå£ã«åãæ¢ããŸããããããã©ãŒãã³ã¹/ä¿¡é Œæ§ã«åé¡ã¯ãªãã£ãããããã®ãŸãŸã«ããŠããããšã«ããŸããã äžè¬ã«ããã®æç¹ã§Cephã䜿çšããããšã¯OpenStackã«ãšã£ãŠéåžžã«ãšããŸããã¯ãªæ§æã§ããããç§ãã¡ã®ããã«Swiftã¯ã©ã¹ã¿ãŒãäžããããšã¯ç¡æå³ãªäœæ¥ã®ããã«æããŸããã
-ãããã¯ãŒã¯ä»®æ³åã®ããã¯ãšã³ããšããŠãOpenVSwitchãéžæããŸããã åœæïŒGrizzliãªãªãŒã¹ïŒOVSã¯ãæ¢åã®VLANäžã§æ©èœããå¯äžã®ãœãªã¥ãŒã·ã§ã³ã§ããã
å±é段éã§ã¯ãããã€ãã®å°é£ã«çŽé¢ããŸããïŒ2012幎ã®çµããã«ãOpenStackã¯CentOSã«ããã»ã©ã¹ã ãŒãºã«å±éãããŸããã§ãããäžè¬ã«ãOpenStackã¯ããªãè€éãªãšã³ãžãã¢ãªã³ã°éçŽå補åã§ãã£ãããã管çè ãšäžç·ã«ãå±éãšæ§æã«å€å€§ãªåŽåãè²»ãããŸããã
ãã®ãããªãœãªã¥ãŒã·ã§ã³ã®å®è£ ã«æºãã£ãŠããå Žåããã®ãã¥ã¢ã³ã¹ããã¹ãŠææ¡ããå¿ èŠã«å¿ããŠç¹å®ã®ãµãŒãã¹ã®å®è£ ã®è©³çŽ°ã調ã¹ãããšãã§ããå°ä»»ã®äººãããæ¹ãè¯ãã§ãããã
ã³ã³ããŒãã³ãã®çžäºäœçšã®ã¹ããŒã ã¯ã次ã®ããã«ãªããŸãã
æ§æ管ç
ãã¹ãŠã®ãµãã·ã¹ãã ã®å±éãšã¹ãã¬ã¹ãã¹ãã®åŸãã²ã¹ãã·ã¹ãã ã®æ§æã管çããæ¹æ³ã®åé¡ã«çŽé¢ããŸããã æ§æ管çããŒã«ã¯æè¿è³ã«ããããšãããã®ã§ãç§ã®æèŠã§ã¯ãåããŒã«ã詳现ã«èª¬æããããšã¯æå³ããããŸããã
ãã ãã次ã®ã·ã¹ãã ãåè£ãªã¹ãã«å«ãŸããŠããŸããã
- SaltStack saltstack.org
- Opscode Chef www.getchef.com
- Puppet puppetlabs.com
ç§ãã¡ã®éèŠãªéžæåºæºã®1ã€ã¯ãWindows XPãšé£æºã§ããããšã§ããããã¯ãçµ±èšã«ãããšããã·ã¢åžå Žã®ãã¹ã¯ãããã·ã¹ãã ã®äžã§ç¢ºå®ã«ç¬¬2äœãå ããŠããããã§ãã Puppetã¯ãã®åºæºã«ããããã«åé€ãããŸãã-ãã®æç¹ã§ã¯ãXPã¯å ¬åŒããã¥ã¡ã³ãã«ãªã¹ããããŠããŸããã§ããã
SaltStackã¯ããã®çŽæãšå人çãªåæ ïŒãããžã§ã¯ãã¯Pythonã§æžãããŠããŸãïŒã«ãããããããéåžžã«ç²éã§ããããšãå€æããå€ãã®ããšãç¬ç«ããŠå®è£ ããå¿ èŠããããŸãïŒæ°ããããŒãã®ããŒãã¹ãã©ãããcloud-initãšã®çµ±åãWeb APIã®å¯çšæ§ãªã©ïŒãããžã§ã¯ãããããã«é²åçã«å°éããã®ãåŸ ã¡ãŸãã
æçµçã«ãéžæã¯ã·ã§ãã«å§ããããŸããã
èŠä»¶ããªãã³ã«ç«¶åä»ç€ŸïŒå¡©ïŒãå€§å¹ ã«äžåãéçºããã³ã³ãã¥ããã£æŽ»åã®ãã€ããã¯ã¹ã
Chefã§ã®äœæ¥ã¯ãHabréã§äœåºŠã説æããå€å žçãªã¢ãããŒããšå€ãããŸãããknifeãšknife-openstackãã©ã°ã€ã³ã䜿çšããŠãOpenStack APIãããŒãã¹ãã©ããWindowsããŒãçšã®knife-windowsãéç¥ããã»ã¹ãšäœæ¥ããã»ã¹ã®ç·šæçšã«knife-sporkãçµ±åããŸãChefïŒéçåæãããŒãžã§ã³ç®¡çãCookie /ããŒã«/ããŒã¿ã®ChefãµãŒããŒãžã®ã¢ããããŒãïŒã
ãã¹ãäž
ãããšã¯å¥ã«ãã¯ãã¯ããã¯ããã¹ãããã³ãããã°ããæ¹æ³ã«ã€ããŠèª¬æãã䟡å€ããããŸãã Cookieããã¹ãããã«ããªããžããªã«ããã·ã¥ããããCookieãChefã«ã¢ããããŒããããããŸããã ãããã®ç®çã®ããã«ã vagrant www.vagrantup.comã䜿çšããŸã
-ä»®æ³ãã·ã³ãäœæããŠChef Cookieãé©çšããããã»ã¹ãèªååã§ããŸãã ãšããã§ãvagrantã¯Chefãšã ãã§ãªãã ä»ã®CMS salt / puppet / cfengine / ansibleãšçµ±åããããšãã§ããŸãã
äžè¬çãªã¢ã¯ã»ã¹ã§ã¯ãç§ãã¡ã«å¿ èŠãªæµ®æµªè ã®ç®±ããããŸããïŒã©ã€ã»ã³ã¹ããªã·ãŒã®æ§è³ªäžãããã¯Windowsã«ããåœãŠã¯ãŸããŸãïŒããŸãã¯ç®±ãæåã«çµã¿ç«ãŠãå¿ èŠããããŸãã ãã®ãããªå Žåã¯ãveeweeã䜿çšããŸãã Veeweeã¯ãVagrant Boxãæºåããããã®ããŒã«ã§ãããã¿ãŒã²ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®Vagrant Boxãã¡ã€ã«ã®ã¢ã»ã³ããªãèªååããŸãã ç§ãã¡ã¯ç©æ¥µçã«veeweeã䜿çšããŠãWindowsããã¯ã¹ã®æºåããã¹ãããWindowsã®ç¡äººã€ã³ã¹ããŒã«ããã¹ãããŸãã
ãŠãŒã¹ã±ãŒã¹
ã§ã¯ããã®æã¯ã©ã®ããã«æ©èœããŸããïŒ æçµçãªãŠãŒã¹ã±ãŒã¹ãããæ確ã«ããããã«èª¬æããŸãã ã©ããªãçããŠãããã¿ã¹ã¯ãããæŒãåºããŸãããã ããšãã°ããã¹ãã®ç®çã§ãAmigoãã©ãŠã¶ãããã€ãã®ã¿ãŒã²ãããã©ãããã©ãŒã ã«å±éããå¿ èŠããããŸããWindows7 / Windows XP / Windows Vista / Windows 8ãšããŸãã
- æåã«ããããã®ã·ã¹ãã çšã®æµ®æµªè ããã¯ã¹ãæºåããŸãïŒãŸã ãªãå ŽåïŒã
- 次ã«ããããã®åã·ã¹ãã ãžã®Amigoã®ã€ã³ã¹ããŒã«ãèšè¿°ããã¯ãã¯ããã¯ãäœæããŸãïŒknife cookbook create ...ïŒïŒå Žåã«ãã£ãŠã¯æé ãçµ±äžããããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãžã®åææ¡ä»¶ãšäŸåé¢ä¿ãè¿œå ããå¿ èŠãããå ŽåããããŸãïŒã
- 次ã®ã¹ãããã¯ãç§ãã¡ãäœæããCookieãã¿ãŒã²ãããªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®ããããã«æ£ããå±éãããŠãããïŒæµ®æµªè ïŒã確èªããããšã§ãã
- ãã¹ãåŸãCookieãšãã®äŸåé¢ä¿ãChefãµãŒããŒã«ã¢ããããŒãããŸãïŒãã€ãã¹ããŒã¯ã¢ããããŒã...ïŒã
- ããŒã«ãäœæãèšè¿°ãããŒãããŸãïŒãã¡ã€ã«ãããã€ãããŒã«...ïŒã
- æåŸã®ã¹ãããã¯ãã¿ãŒã²ããOSã䜿çšããŠä»®æ³ãã·ã³ãäœæãããããã«ããŒã«ãå²ãåœãŠãŸãïŒãã€ãOpenStackãµãŒããŒäœæ...ïŒã å¥ã®èª¬æå³ïŒ
æ°ååŸãèªç±ã«ä»®æ³ãã·ã³ãæ§æããããã§è¿œå ã®ãã¹ãæé ïŒæåãšèªåã®äž¡æ¹ïŒãå®è¡ã§ããŸãã
ç§ãã¡ãåŸããã®
ãã®ã€ã³ãã©ã¹ãã©ã¯ãã£ãžã®ç§»è¡ã«ãããã³ãŒãã«ç¥èãèç©ãããŸããã ããã§ãã¢ããªã±ãŒã·ã§ã³ãããžã§ã¯ãã®å±éæ¹æ³ã«é¢ãã詳现ãªããã¥ã¡ã³ããäœæãããã®ç¥èãéçšéšéã«è»¢éããå¿ èŠããªããªããŸããã ãã¹ãŠã¯ã³ãŒãã§èšè¿°ãããŠããŸãïŒã³ãŒããšããŠã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã®ã€ããªãã®ãŒã«åŸãããã«åªããŠããŸãïŒã å±éæé ïŒVagrantïŒãèªåã§ãããã°ããVeeweeã䜿çšããŠæ°ããvagrantããã¯ã¹ãäœæã§ããŸãã ã³ãŒãã§ææžåãããã€ã³ãã©ã¹ãã©ã¯ãã£ãžã®ç§»è¡ã«ãããæŽæ°ãã¹ã±ãŒãªã³ã°ãããã³ç°å¢ã®é害ããã®å埩ã®ã³ã¹ããåæžã§ããŸããã ããã«ïŒ
- ãã¹ã¯ããã補åã®ãã¹ããé«éåãã
- ã«ã¹ã¿ã ã¬ããŒã/ãã¹ãç£èŠããŒã«ã®ã¬ã€ã¢ãŠããèªååããŸãïŒç¶ç¶çãªé ä¿¡ãã©ã¯ãã£ã¹ãç©æ¥µçã«é©çšããŸãïŒ
- ãã¹ãéšéãå¿ èŠãšããã€ã³ãã©ã¹ãã©ã¯ãã£ãœãªã¥ãŒã·ã§ã³ïŒãã¯ãµã¹/ãœããŒãªã©ïŒã®ã»ããã¢ãã/ã¬ã€ã¢ãŠããé«éåããŸãã
- ç°å¢ãäœæããã³æ§æããããã®ã·ã¹ãã 管çè ã®ã¢ã€ãã¢è§£æ±ºã®æäœæ¥ããã§ãŒã³ããé€å€ãã
ãã®ãœãªã¥ãŒã·ã§ã³ãOpenSourceã³ã³ããŒãã³ãã«åºã¥ããŠããããšã¯ééããªãå©ç¹ã®ãªã¹ãã«è¿œå ããããšãã§ããŸãïŒWindowsä»®æ³ãã·ã³ãMSDNãµãã¹ã¯ãªãã·ã§ã³ã§åãåãã©ã€ã»ã³ã¹ãé€ãïŒã
å°æ¥ã®èšç»ãšããŠã¯ãWindowsãæ§ç¯ããããã®Chefããã³veeweeãã³ãã¬ãŒãã®ã¯ãã¯ããã¯ãå ¬éããäºå®ã§ãïŒæšæºãã³ãã¬ãŒããšã¯è¥å¹²ç°ãªããŸãïŒã ãã®ãããã¯ãã³ãã¥ããã£ã®é¢å¿ãåŒããã®ã§ããå ŽåãOpenStackïŒrackspace / hpcloudïŒçšã®Windowsã€ã¡ãŒãžãæºåããæ©èœã«é¢ããèšäºãæžãäºå®ã§ãã