hbstudy#01 ã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼ã«è¡ã£ã¦ãã
- æ ªå¼ä¼ç¤¾ãã¼ããã¼ã主å¬
- è²ããªæå³ã§ã¢ã¦ã§ã¼æãã
- ä½ã¨ãªã Mac/iPhone çé«ãæ°ããããªã
ã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼
- é¦¬å ´ãã
- ãã¼ããã¼ãã®CTO
- ã¤ã³ãã©ã¨ã³ã¸ãã¢
- ãµã¼ãã¨ã³ã¸ã㢠+ ãããã¯ã¼ã¯ã¨ã³ã¸ã㢠+ ã¢ã¼ããã¯ã
- æ å ±ã¨ã交æµã¨ãå°ãªã
- æ
å ±ãå°ãªã
- SD, WEB+DB PRESS, ãµã¼ã/ã¤ã³ãã©ãæ¯ããæè¡
- ã¤ã³ãã©ã¨ã³ã¸ãã¢åå¼·ä¼
Kerne-based VIrtual Machine (KVM)
- Accense Technology, Inc. Takano ENDOH
- http://twitter.com/MiCHiLU
- è³æ : http://tinyurl.com/WhatisKVM
What's KVM
- loadable kernel module
- based on QEMU
- ä»®æ³åæ¯æ´æè¡ãµãã¼ã
- åä½ãã OS ãå¤ã
- å®å ¨ä»®æ³åï¼
What's QEMU
How does it work?
- Kernel ã®ä¸ã« QEMU ãããï¼ãã®ä¸ã« QEMU OS ãåã
- ãããã¯ã¼ã¯ã¯
- ããªãã¸ï¼TAPï¼TUN
- æã® VirtualBox ã VMware ã®æ¥ç¶ã«è¿ãï¼
Quick Start KVM
# yum install kvm quemu-img bridge-utils
-
- CPU ã®ä»®æ³åæ¯æ´æè¡ãæå¹ã«ãªã£ã¦ããããã§ãã¯
-
- Network 㯠bridge ã®è¨å®ãå¿
è¦
- QEMU ãèµ·åããã¨ãã« TAP ãå²ãå½ã¦ããããããªã¹ã¯ãªããä½ã£ã¦ãã
- qemu-img ã§ã¤ã¡ã¼ã¸ãä½æ
- qemu-kvm ã§èµ·å
- VNC ã§èµ·åç»é¢ãåå¾
- ãããã¯ã¼ã¯ãã¼ã(-boot n)ãªã©ã¨ããã¨ï¼ã¤ã³ã¹ãã¼ã«å¾ããããã¯ã¼ã¯ãã¼ããããã¨ããããï¼ãããå¤ãã¦åèµ·å
- Network 㯠bridge ã®è¨å®ãå¿
è¦
Problems
- ãã¹ãã®è¤æ°ã®NICã®å²ãå½ã¦
- ãããã¯ã¼ã¯è² è·ã®ã¢ãã¿ãªã³ã°
Roadmap
- Intel VT ã® I/O ãµãã¼ãã®åãè¾¼ã¿
- ã¡ã¢ãªå¹çã®æ¹å
- ãªã¢ã«ã¢ã¼ãã®ãµãã¼ã
Announces...
- Tokyu GTUG Night #1
- æµæ¯å¯¿ã§ 8/5 ã«
åçæ§æ管çã½ããã¦ã§ã¢ Wakame ã®è©±
- ãã¾ããï¼ æ ªå¼ä¼ç¤¾ãããã ãã
èªå·±ç´¹ä»
ã¤ã³ãã©ã¨ã³ã¸ãã¢ã«æå¾ ãããã¨
- æ¥ã å®å®ããã¦
- ææ¡ããã¦
- ãã£ã¨ã¢ããªå´ã«åºã¦ãã¦æ¬²ãã
- ããã°ã©ããæ¼ãã®ãã¦ã»ããï¼
- ãªãã
- ã¤ã³ãã©ã¯ã¢ããªã®ç¹æ§ãç¥ããªããã°æ§ç¯ã§ããªã
- Scalability
- å¿ ãææ¡ãããåé¡
- å®éã®ã¨ããï¼å¤§è¦æ¨¡ãµã¤ããéå¶ããçµé¨ãããã¨ã³ã¸ãã¢ã¯å°ãªã
- Amazon EC2 ã§ãã£ã¦ã¿ãã°ãããããªãï¼
- ãã¾ã®ãã¹ãã£ã³ã°ãã¼ã¿ã»ã³ã¿
- ã·ã¹ãã 管çè
ã®ããã«æ¯ãèãã½ããã¦ã§ã¢ãããã°
- ãã㧠Wakame
Wakame
- ã©ã®ãããªæ¯ãèããããã®ã
- å
¨ä½å
- Xen ã¤ã³ã¹ã¿ã³ã¹ç¾¤ + ãªã½ã¼ã¹ããã¼ã¸ã£ + ã¹ãã¬ã¼ã¸ = Amazon EC2
- åä½åç
- ãã·ã³ã« Wakeme ã«ã¤ã³ã¹ãã¼ã«ãã¦ãã
- Master/Agent å
- èµ·åãããã¨ï¼Master ã Agent ã«ãµã¼ãã¹èµ·åãæ示ãã
- ãªã®ã§ init.d ãªã©ããã¯åé¤ãã¦ãã
- Master ã«ã¹ã±ã¼ã«ã¢ã¦ãè¨ç»ã®æ示
- Master ããªã½ã¼ã¹ããã¼ã¸ã£ã«æ示ãåºãã¦ã¤ã³ã¹ã¿ã³ã¹ãèµ·åãã
- ãã®éã« Master ãèµ·åããªãããã«ãã¦ããã¨ï¼èµ·åæ¸ã¿ã® Master ãã Agent ã«ãµã¼ãã¹ãèµ·åããæ示ãåºã
- Load balancer ã«æ示ãåºãã¦ï¼ãã©ãã£ãã¯ãåæ£ãããªã©ãå¯è½
- Master ããªã½ã¼ã¹ããã¼ã¸ã£ã«æ示ãåºãã¦ã¤ã³ã¹ã¿ã³ã¹ãèµ·åãã
- ãã·ã³ã« Wakeme ã«ã¤ã³ã¹ãã¼ã«ãã¦ãã
- ã¹ã±ã¼ã«ã¢ã¦ãã¯è¨ç»çã«
- äºè¨ã¯ã§ããªã
- ã¢ã¯ã»ã¹è² è·ã®äºæ¸¬ãªã©
- ãã£ã³ãã¼ã³ãªã©ã¯è¨ç»ã§ãã
- Yahoo! ããã®ãªã³ã¯å¼µãããæéã¨ããããã°ã»ã»ã»ã»
- è¨ç»ã§ããªãã®ã§ã¯ãªãï¼æºåãéã«åããªãã ã
- ä¼¼ããããªãã®
- RightScale
- Vertebra
- Scalr
- Chef
- Puppet ã®æ§ãªæã
- ã©ãããï¼ãã¤ï¼ã©ãã ãã®ãã©ãã£ãã¯ãæµããã交æã§ãããããã³ã«ãä½ããã
- ãã¦ã³ããªãã¤ã³ãã©ã¸
- Q&A
- è² è·ãç£è¦ãã¦ã¹ã±ã¼ã«åºæ¥ãã®ï¼
- ãããããªå¤ãããªã¬ã¼ã«åä½ãããã¨ãåºæ¥ã
- ãã¸ãã¯ãããããä½ãã
- Amazon EC2 ã§ãã¤ãºã®ãããªã¹ãã¤ã¯ãã©ãããï¼
- æ¬å½ã®ã¹ãã¤ã¯ã¨åºå¥ã§ããªãã®ã§ï¼é£ãã
- å®éã®å©ç¨ä¾ã¯ï¼
- ãã¾ãã£ã¦ããã¨ãã
- å®é¨ãã¼ã¹ã§ä½å°ã¾ã§ï¼
- Amazon EC2 ã® 20å°ãªããããããã®ã§ï¼ã¾ã
- Master ãè½ã¡ããï¼
- ãã¼ã¿ãã¼ã¹ã«æ å ±ãå ¥ãã¦ããã°ï¼ãã£ã¶ã¹ã¿ãªã«ããªã®ãããªãã¨ãã§ããã®ã§ï¼è¨ç»ä¸
- ã©ããã£ã¦ãï¼
- å é¨ã§ãµã¼ãã®é層æ§é ã決ãã¦
- ããªã¬ã¼ãæå®ãã¦
- è¨å®ã§ãã
- Eucalyptus ã§åãã®ï¼
- åãããã
- ãªã Ruby ï¼
- æµè¡ã ãã
- å´åãåæ¸ã§ãã
- Ruby ã®ãã¼ã¸ã§ã³ä¾åã«ã¤ãã¦ã¯èãã¦ãªãã£ã
- AMQP ããã XMPP ã®æ¹ããã
- XMPP ã®æ¹ããã°ã¢ã¦ã(ã»ãã·ã§ã³åã)ããµãã¼ããã¦ããã®ã§ï¼å¤ããã
- ãã ï¼AMQP ã®æ¹ãã¨ã³ã¿ã¼ãã©ã¤ãºãªã®ã§ã¦ã±ããã
- MySQL ã® Slave ãå¢ãããã¨ã¯ã§ãã
- Snapshot ãåå¾ã㦠mount ã㦠replication ãããæ¹æ³ã¯ãã£ã¦å®éã«ã§ãã¦ãã
- è² è·ãç£è¦ãã¦ã¹ã±ã¼ã«åºæ¥ãã®ï¼
ã¾ã¨ãã¨ã¡ã¢ãªã©
- Wakame ã¯ä¾¿å©ãã
- ãµã¼ãã®å¢å¼·è¨ç»ã¯å¿ é
- Master ãè½ã¡ãã¨ãã«ã¯ï¼ä½ãæ示ãåºããªããªã
- æ§ææ å ±ãå ¨ã¦å¤é¨ã«ä¿åã§ããã°ï¼failover ã¯ã§ãããã§ãã
- Eucalyptus ã§å®é¨ããããª
- RabbitMQ ã®ããã¯ã¨ã³ãã Erlang
- Rubyã®æ°æã¡ããã¨æ°æã¡æªãã«ã¤ãã¦ãããã話ããæ°ããã
- Pokenççµæ§é«ãã£ããª
- ã¤ã³ãã©ãåå¼·ããããã®ä¼ãããªãã¦ï¼ã¤ã³ãã©ãã£ã¦ã人ãåå¼·ãã
- ãã¡ãã次åãè¡ãäºå®ã§ã