2014-01-01ãã1å¹´éã®è¨äºä¸è¦§
æ¬ã¨ã³ããªã¯CloudStack Advent Calendar 2014ã®22æ¥ç®ã®ã¨ã³ããªã¨ãã¦æ¸ãã¾ããã ã¯ããã« ä»å¹´ã®7æããApache CloudStackãç¨ãã¦ãã©ã¤ãã¼ãã¯ã©ã¦ããéç¨ãã¦ãã¾ãããªã¼ãã³ã½ã¼ã¹çã®CloudStackã155å°ï¼ããã»ããµæ°3100ï¼ã®è¨ç®æ©ã§éç¨ããâ¦
C++ã®ãåå¼·ã«ãStroustrupã®ãProgramming -- Principles and Practice Using C++ãç¥ãã¦PPPãèªã¿å§ãããè¨èªã®å¦ç¿ã¯åå ¸ã¨ããããä½è ã®æ¬ãã¾ãèªããã¨ã«ãã¦ãããã ãã©ããThe C++ Programming Languageãã®æ¹ã§ã¯ãªãããã£ã¡ãé¸ãã ãã¡ãªã¿â¦
次ã®ã¹ã©ã¤ãã¯@syuu1228ããã®ãOSvã®æ¦è¦ã¨å®è£ ãã OSvã®æ¦è¦ã¨å®è£ from Takuya Asada ã©ã¤ãã©ãªOSãæµè¡ã£ã¦ããæããããã®ã§ããã®ãã¡ã¾ã¨ãã¦ãããããUSENIX ATCã®OSvã®çºè¡¨ãèãã¦ãã¿ãã³ãã¦ã ææãexokernelã¨ä½ãéãã¿ãããªè³ªåããã¦â¦
ä½ã¯ã¨ãããgit cloneã $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.gitLinuxã«ã¼ãã«ã§ã¯ã3.x.yç³»åãã¨ã«ãã©ã³ããããããªãªã¼ã¹ãã¼ã¸ã§ã³ã«ã¿ã°ãä»ãããã¨ã«ãªã£ã¦ããããªã®ã§ãã½ã¼ã¹ã³ã¼ãããã§ãã¯ã¢ã¦â¦
åæ£ã·ã¹ãã ã®ã·ãã¥ã¬ã¼ã¿ã«ä»INRIAãéçºãã¦ããSimGridã£ã¦ã®ããããã¡ã«ãã«ã³å¤§ã®CloudSimï¼ãã®åã«GridSimã£ã¦ã®ããã£ãï¼ã¨ã¯å¥ç©ãSimGridã¯å¤§æµã®UNIXã·ã¹ãã ã«å¯¾å¿ãã¦ããã®ã§ãOSXã§ãåãã®ã ããhomebewç¨ã®formulaããã£ãã®ã§ããµãã¯â¦
OSvãåããã¦ã¿ãããã git clone https://github.com/cloudius-systems/osv.gitãã¦ãREADME.mdãçºãããscripts/setup.pyã§å¿ è¦ãªããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããã¿ããã ãã©ãCentOSç¨ã®è¨è¿°ããªãã®ã§ãFedoraããã¼ã¹ã«ã³ã¼ãã追å ãversionãexact â¦
ãAmazon Web Services åºç¤ããã®ãããã¯ã¼ã¯ï¼ãµã¼ãã¼æ§ç¯ãã¨ããæ¬ãåºã¦ããã®ã§ãAWSã®ãããããå ¼ãã¦èªãã§ã¿ããAWSã®ä¸ã§ãã¤ã³ãã©æè¡ãå¦ã¶ã¨ãã趣æ¨ãã¯ã©ã¦ããå½ããåã«ãªã£ã¦ãã¯ã©ã¦ããããªãã¬ã¬ã·ã¼ãªã·ã¹ãã ãç®ã®åããæ¶ãã¦â¦
æ¸ç±ãã½ãããä»äººã«ä½ãããæ¥æ¬ãèªåã§ä½ãç±³å½ããèªãã§ããã¨ãããå æ¥æ¬IBMã®æ¹ã«ããã¿ã¤ãã«ã®çºè¨ãé£ã³åºããããã®æ¥çã«é·ãããã¨ãä»®æ³è¨æ¶ã«ä»®æ³è¨ç®æ©ã¨ãä»®æ³ãã¨ãã訳èªã«ã¯ã¾ã£ããéåæãæããªããªã£ã¦ãã¾ã£ãããããæ°ããIBMâ¦
A Tour of Goãé²ãã§ããã¨ãHTTPãµã¼ãã®ä¾ããããPlaygroundã§éä¿¡ãã§ããã®ãï¼ã¨æã£ãããæ¡ã®å®ããã¼ã«ã«ã§å®è¡ããã¨ã®ãã¨ãã¨ããããã§ãbrewã§ã¤ã³ã¹ãã¼ã«ã $ brew update $ brew install go ==> Downloading https://downloads.sf.net/proâ¦
Vagrantã®ä½è ã§ããMitchell HashimotoããSerfãPackerãTerraformã¨ãããã¼ã«ãGoè¨èªã§å®è£ ãã¦ããã¨ç¥ããGoè¨èªã復ç¿ãããããªã¨è¨ãæ°åã«ããã5å¹´ãçµã¤ã®ãããããã§è¦ã¤ããã®ããA Tour of Goãæ¥æ¬èªåãããã¦ãããGoã®ããã°ã©ã ããµã¼â¦
ãµã¼ãã«CentOS 7ãã¤ã³ã¹ãã¼ã«ããã®ã§ãã¡ã¢ãæ®ãã¦ããã ãããã¯ã¼ã¯ ãããã¤ã³ã¿ãã§ã¼ã¹åãenp6s0ã¨ãenp7s0ã«ãªã£ã¦ããããããããã®PCI IDã¯06:00.0ã¨07:00.0ã管çãã¼ã«ã¯Network Administration ToolããªããªããNetwork Managerã«ä¸æ¬åâ¦
Vagrantæ¬ã«ããã¨AWSãããã¤ããããããã§ãGCEçããããã¨ã°ã°ã£ãã¨ãããæ¡ã®å®ãVagrant GCE Providerãè¦ã¤ãã£ãããããã¤ãã¨ã¯ãã¤ãã¼ãã¤ã¶ãã¯ã©ã¦ãã®ããã«ãä»®æ³ç°å¢ãå®è¡ãããã©ãããã©ã¼ã ã®ãã¨ã§ãVirtualBox以å¤ã«VMWareãHyper-â¦
ä½è¤ããã®è¬æ¼ãè´ãã¦ãããã¢ã¼ã·ã§ã³ã³ã¼ããã²ãããããã¨ã ã*1ãGCEãå°ã試ãã¦ã¿ããã¨ã«ãããä¸èº«ãè¦ãã«ãGoogle Compute Engineå ¥éãã¨ããæ¸ç±ãè²·ã£ã¦ã¿ãã®ã ãã©ããã§ã«å 容ãå¤ããªã£ã¦ããæ°ããããæ¬æ¸ã§ã¯gutilã¨ããCLIãã¼ã«ãâ¦
systemdã§ã¯cgroupãæ´»ç¨ãã¦ããããã ããµã¼ãã¹ãã¨ã«cgroupã§ã¢ã¤ã½ã¬ã¼ã·ã§ã³ããã¦ããã®ã§ãé¢ä¿ããããã»ã¹ãä¸ç¶²æå°½ã§æ®ºãããããµã¼ãã¹ãã¨ã®è³æºå©ç¨éã観測ã§ããã確ãã«pidããã¡ã¤ã«ã«è¨é²ãã¦ããã¦ã殺ãã£ã¦ã®ã¯ããµããããæµãã¨ãâ¦
ååã®ç¶ãã§ãsystemdãå°ã調ã¹ã¦ã¿ããsystemdã¯sysvinitã«ä»£ãã£ã¦RedhatãDebianã§æ¡ç¨ããã¦ãããããLinusæ§ãSystemdã«ã¶ã¡ããããã¨ãboycott systemdã¨ããç©è°ãé¸ãã¦ããããã ãCentOS 6.5ã ã¨ãPID 1ã¯å½ç¶initã ãã©ãCentOS 7ã¯systemdã«â¦
Vagrantã®ã¤ã³ã¹ãã¼ã« å¤ä¼ã¿ã«CentOS 7ã®åå¼·ããã¦ã¿ããã¨ãã¤ãã§ã«Vagrant + VirtualBoxã§ç°å¢ãæ§ç¯ãã¦ã¿ãã以ä¸ã試è¡é¯èª¤ã®ã¡ã¢ã Vagrantã¨VirtualBoxã¯Homebrew caskã§ã¤ã³ã¹ãã¼ã«ããã $ brew cask install virtualbox $ brew cask install â¦