èŠçŽ ïŒæ¢åã®æ§æã·ã¹ãã ã®ãããããåŠç¿ããããµãŒããŒäžã®ãã¡ã€ã«ã®ç·šéãæåã§åæ¢ãããæ¹æ³ã
ãã®æçš¿ã¯ãå
æããå¿
èŠããã粟ç¥çèŠçã«æ§ããããŠããŸãã ãã¹ãã«ãå°ãæè¡çãªãã®ããããŸãããã»ãšãã©ã®å Žåããã¹ãã¯ããªãèªèº«ãšã®æŠããå ±é
¬ã®é
延ããããŠããªããã©ã®ãããã®éã®éåèšæ¶ãã³ã³ãããŒã«ããŠãããã«å°å¿µããŸãã
æ§æ管çã·ã¹ãã ãšã¯äœããèããããšããªãé è
ã®çŽ¹ä»
äœå¹Žãã®éïŒITæšæºã«ãã-3äžä»£ïŒããµãŒããŒæ§æããã»ã¹ãèªååã§ããããã°ã©ã ããããŸãã ãããã®ããã°ã©ã ã¯ãã¹ãŠè€éã§ããã管çè
ã®èãªããã®ã«äŸµå
¥ããããã¹ãŠã以åãšåãã§ã¯ãªããããšã匷å¶ããŸãã 圌ãã®ç 究ãšå
åšåïŒãå¿
èŠã§ããããšãŠãæ£ããããšããèªèïŒã¯ãã·ã¹ãã 管çè
ã®ãã£ãªã¢ã«ãããŠçµ¶å¯Ÿã«å¿
èŠãªãã®ã§ãã
æ§æ管çã·ã¹ãã ã®äž»ãªçã¿
äž»ãªçã¿ã¯ãæ§æ管çã·ã¹ãã ã䜿ãæ
£ããæã®èªååãå£ãããšã§ãã 以åã¯ãç»é¢ãèŠãããšãªãã2åã§WebãµãŒããŒãæã¡äžããããšãã§ããŸããã ããã§ãæ§æ管çã·ã¹ãã ãçç¥ããŠããå Žåã¯ãŸã£ããåãã¢ã¯ã·ã§ã³ã«15ã20åãè²»ããããåŠç¿ããå Žåã¯æ°æ¥ïŒ!!!!!ïŒãè²»ããããšãã§ããŸãã
ããã¯å人ã®æå¹æ§ã«å¯Ÿããç¯çœªã§ãã ããã10ïŒ0xAïŒåã«æžãããŸã-ãããŠã圌ãã¯äœãé²æ©ãšåŒã³ãŸããïŒ
ä»ã®ãã¹ãŠã®è°è«ã«é¢ä¿ãªãããã®èãã¯ãã€ãããªããæ©ãŸããŸãã 幎åŸã§ãã åãããšãããããã«ãã¿ã³ãæŒãã ãã§ãªããé
ãããå¿
èŠããããã³ã³ãã¥ãŒã¿ãŒãåŸ
ã€å¿
èŠããããŸãïŒãšãã£ã¿ãŒããã¡ã€ã«ããç·šéãããWebãµãŒããŒãåèµ·åãããŸã§æ°åç§åŸ
ã€å¿
èŠã¯ãããŸããïŒã ããã«æªãããšã«ãconfigã§ããªããã£ãã³ã³ã¹ãã©ã¯ããèšè¿°ãããšãDSLïŒåŠç¿ããå¿
èŠã®ããç¹å¥ãªããŒãããã°ã©ãã³ã°èšèªïŒã®äœåãªã¹ããŒã¹ãåŠçããå¿
èŠããããŸãã ä¿¡ããããªãã»ã©è€éãªå€éšã®ãŽãã«ã€ããŠèãã ããããã«ç¹å¥ãªãµãŒãã¹ãæäŸããŸãã ãããã°ã¯æªåããããããããŸã-æ§æã®ã¿ã€ããã¹ã«ããéåžžã®ãšã©ãŒã¡ãã»ãŒãžã®ä»£ããã«ã2ç»é¢åºåã·ãŒãã®ãªãŒããŒã·ã§ã¢ãäžé®®æã«ãªãããæäœæ¥ã§è¡ãããããèªãã®ã«æéãããããŸãã
ããã«æªãããšã«ããããã®ã·ãŒãã¯ããªãã®è¡åã«é¢ä¿ããªãããšãå€ããããããžã§ã¯ãã®ä»ã®å Žæã§ã®å®å
šã«äžè²«æ§ã®ãªãå€æŽã§ãã ãããŠãããªãã¯ãããã«å¯ŸåŠããããšãäœåãªããããŸãã å Žåã«ãã£ãŠã¯ãæ§æ管çã·ã¹ãã ã®ãã°ã§ãããããçŽæ¥äœæ¥ãè¡ã代ããã«ãã°ãä¿®æ£/åé¿ããŸãã
ããŠããã®ãã¯ãããžãŒãã©ã®ããã«ã販売ãããŸãããïŒ è·å Žã§ãããå®è£
ããããšããããšããããªãã®å
šåã§åæããæºåãã§ããŠããŸããïŒ
æ§æ管çã·ã¹ãã ã«ã€ããŠèª¬æããåã«ãå¿çåŠã®éåžžã«å®äŸãšãªãäŸã§ãã·ã¥ããã®å®éšã瀺ããããšæããŸãã ãŠã£ãããã£ã¢ãèªãã®ãé¢åãªäººã®ããã«ãèšãçŽãïŒåäŸãã¡ã¯ãã·ã¥ãããäžãããã圌ãã¯15å以å
ã«ãã·ã¥ãããé£ã¹ãªããã°ã圌ãã¯ç§ãäžãããããšèšããŸãïŒãããŠäž¡æ¹ãšãé£ã¹ãããšãã§ããŸãïŒã 幎é·ã®åäŸã»ã©ã15åéç¶ãå¯èœæ§ãé«ããªããŸãã åäŸã¯èªåãæããŠããã«ãã·ã¥ãããé£ã¹ãããšã¯ã§ããŸããããããã¯mar蟱ã«ãªããŸãã ãã®å®éšã§ã¯ããé
ããåã³ãã®ã¡ã«ããºã ããã¹ãããŸãã
ããã¯ããŸãã«æ§æ管çã·ã¹ãã ãæäŸãããã®ã§ãã 3åã§æã§ã§ããæäœã«30åè²»ããã3åãããããã«ïŒå¿
èŠã«å¿ããŠïŒãã®æäœãäœåºŠãå®è¡ã§ããŸãã ãããŠæãéèŠãªããšã¯ãé ãå·»ã蟌ãããšãªãã ã»ãšãã©ã®å Žåããã®æé ã¯CIãµãŒããŒïŒjenkinsãbuildbotãªã©ïŒã«å§ä»»ãããããã«ããCI / CDãšåŒã°ããéæ³ã®æãžã®æåã®ã¹ãããã®æãéãããŸãã
ã¹ããŒãžã³ã°
ãããŠããã®å°ããªã¹ãããã¯ãã¹ããŒãžã³ã°ããšåŒã°ããŸãã äœãããªããããã¯ã·ã§ã³ã®ã³ããŒã ããµãŒããŒã®ããŒãžã§ã³ãå€æŽãããšã©ããªããŸããïŒããšãã質åã«å¯Ÿããçãã衚瀺ãããŸãã å¶äœãäžæããããšãªããä»ã®é¢çœãå®éšãè¡ããŸãã
ãã¡ãããæ§æ管çã·ã¹ãã ãªãã§ã¹ããŒãžã³ã°ãå®è¡ã§ããŸãã ããããã¹ããŒãžã³ã°ãæ¬çªã«äŒŒãŠããããšã誰ã確èªããŸããïŒ ããã«ãããªãã®ã°ãããå®éšã®åŸã誰ãããã«åŸãã®ã§ãããããã¹ããŒãžã³ã°ã¯ââãŸã çç£ã®ããã«èŠããŸããïŒ åã®é¢çœãå®éšã®çµæã«å¯ŸããŠé¢çœãå®éšãããŠããå Žåããããããã®çµæã¯æ¬çªã®åŸåã§èµ·ããããšãšã¯ç°ãªãã§ãããã
ãã®è³ªåã¯ã誰ãåŸãã®ãïŒãã§ãã å®éã«ãµãã·ã§ããã§ã ã¹ããŒãžã³ã°ããã©ããŒããŠãã人ãæ°äººããå¯èœæ§ã®ãã巚倧ãªèªåŒµç¶æ
ããªãå Žåããã®çãã¯ã誰ãããŸãããã§ãã 誰ããã©ããŒããŠããŸããã ã©ãããïŒ
çãïŒãå°é¢ãŸã§ç Žå£ããŸãããšãŒãããåäœæããŸãã ãã®ããã»ã¹ã§äººã1å以äžãããå Žåããã¡ãã誰ããããè¡ããŸããã ãã°ãããå®éšããä¿®æ£ããããã«äœåºŠãåãããšãããã®ã¯ããŸãã«ãæ鬱ã§ãã
éåžžã®èãïŒããªããããäžããŸããä»ç§ã¯ãã¹ãŠãç§ã®æã«æ»ãã§ããããããã¯ããéãã§ããã åºåã¯ããå®éšã®ã³ããŒãã§ã¯ãªããé¢çœââãå®éšãšãã®ä¿®æ£ã®çµæã§ãã
ãããããèªåã§ãã¹ãŠãå®è¡ããããããããããã°ãåé¡ãããŸããã è¡ã£ãŠãã£ãã
ã¹ããŒãžã³ã°ã®äŒæ
ã¹ããŒãžã³ã°ãç°¡åã«ã¢ããã°ã¬ãŒãã§ããå Žåã¯ãå¥ã®ã€ã³ã¹ã¿ã³ã¹ã§äžããŠã¿ãŸãããïŒ ããã¯ãã£ãšç°¡åãããããŸãããéèŠã§è€éãªéãã³ã³ããŒãã³ãã¯ãããŸããããããªããä»åãçµãã§ããé©åãªéšåã§ãã
ãŸããããŒã«ã«ãã¹ããä»®æ³ãã·ã³ãŸãã¯ã³ã³ããã«é
眮ããããšãã§ããŸãã ããã«ãããè·å Žã§ã®åŸ
ã¡æéãã»ãšãã©ãªãïŒããŠãïŒããªãã©ã€ã³ãµããŒãïŒäŸ¿å©ïŒãåŸãããŸãã ããã«ã¯ãæ§æ管çã·ã¹ãã ã§å°ãäœæ¥ãå¿
èŠã«ãªããŸãããèŠããããã¯ããã«å°ãªãã§ãã ãããã-tyk-tykãšããªãã¯ãããã¯ã·ã§ã³ã®ã³ããŒïŒãŸãã¯gitaããã®æ©èœãã©ã³ãã«åºæã®ãã®ïŒã®æ°é®®ãªéšåãæã£ãŠããŸãã
ãªãã¡ã¯ã¿ãªã³ã°
è€æ°ã®ãµãŒããŒãéçšç°å¢ã«å€ããããã»ã¹ãæžé¢ã§äœæããäœåºŠãäœåºŠãïŒå°ãã®åŽåã§ïŒç¹°ãè¿ãããšãã§ãããããã®ããã»ã¹ã®äžéšãïŒãã䟿å©ãª/æ£ãã/ãã¡ãã·ã§ããã«ãªããã»ã¹ã«ïŒèªç±ã«å€æŽããŠãäœãèµ·ãã£ãã®ãã確èªã§ããŸãã
ããã«ã¯ãæ§æ管çã·ã¹ãã ã®2çªç®ã®éšåã§ãããµãŒããŒæ€èšŒãå¿
èŠã§ãã ããã«ã€ããŠã¯åŸã»ã©èª¬æããŸãããä»ã®ãšããã¯åçŽãªã¢ã€ãã¢ã«çŠç¹ãåœãŠãŸãããµãŒããŒã®æ§æããã»ã¹ã§äœããå€æŽããŠãäœãèµ·ãããã確èªããããšãã§ããŸãã ç¡æã§ã ïŒèªåããïŒããããããªããšãã¯ãæé©ãªãã®ãéžæããããã«ãç°ãªã段éã§2ã3ã€ã®ããŒãžã§ã³ã䞊è¡ããŠå®è¡ããããšããããŸãïŒã
ã³ãŒãã¬ãã¥ãŒ
æ§æ管çã·ã¹ãã ã®æ瀺ããªãã¡ã¯ã¿ãªã³ã°ããŠgitã«ä¿åãããšãã³ãŒãã¬ãã¥ãŒãå®æœã§ããŸãïŒããŒã ã«è€æ°ã®äººãããå ŽåïŒã ã³ãŒãã¬ãã¥ãŒã¯ã¯ãŒã«ã§ãïŒ æåã«ã圌ã¯æ²çãæ®ããªãããšãèšç·ŽããŸãã 第äºã«ãããè¯ãæ¹æ³ããäºãããåŠã³ãŸãã 第äžã«ããããžã§ã¯ããšãããžã§ã¯ãã§è¡ãããå€æŽã«é¢ããçžäºç¥èãå¢ãããŸãã ci / cdè¡ãäœæãããšãäžæçãªã€ã³ã¹ããŒã«ã§ææ¡ãããå€æŽãå®è¡ããçµæãèŠãããšãã§ããŸãããŸããããããã¯ããã¹ãŠãå£ããããããã«ãªã¯ãšã¹ããã©ããã§ããŸãã
ãã¹ã
æ§æ管çã·ã¹ãã ã«é¢ããäžé£ã®æ瀺ãããå Žåã¯ãçµæã確èªã§ããŸãã ããã«ã¯ãtestinfraãgossãinspecãserverspecãªã©ã®èå³æ·±ããœãªã¥ãŒã·ã§ã³ããããããããŸãã å®éããããã®ãã¹ãã§ã¯ãæ§æãé©çšããçµæãæ€èšŒã§ããŸãã ããšãã°ããããŒã80ã§ãªãã¹ã³ããŠãããããç£èŠã§180åã®ãã§ãã¯ã衚瀺ãããããããŠãŒã¶ãŒXããµãŒããŒã«ãã°ã€ã³ã§ããããªã©ã§ãã ãã®ãããªãã¹ãã衚瀺ããããã奜ããªã ãããã»ã¹ãè©Šãããšãã§ããŸãããã¹ãã«åæ Œãããããã¹ãŠãæ£ããè¡ããŸããã ããã«ãããäºæããªãããšãæããã«æ°ããïŒåããŸããïŒãã®ãè©Šãããšãã§ããŸãïŒããšãã°ãããããSSLãæå¹ã«ãããšãã¹ãŠã®ç£èŠãäžæããããšã¯æããªãã£ããïŒã
éçšä¿é
æ§æ管çã·ã¹ãã ã¯ãã¹ãã«ã®äœãã·ã¹ãã 管çè
ã®ä»äºãçŽæ¥è
ãããŸãã 以åã«20人ã®ç®¡çè
ãå¿
èŠã§ãããããã20å°ã®ãµãŒããŒã管çã§ããå Žåã3人ã®ããŒã ïŒããå°ãè³æ Œã®ãã管çè
ïŒã400å°ã®ãµãŒããŒã«å®å
šã«å¯Ÿå¿ã§ããŸãã å®éã察åŠããããšãã§ããŸããã2ã3ã¯ããŒã ã®èœåãé«ããäœé³ã®èŠå ïŒ1人ã®ç¥èã®éäžïŒãæžãããä»äºã®è³ªã«å¯Ÿããçžäºã®è²¬ä»»ã«ããããŒã ã®é°å²æ°ãæ¹åããŸãã ãŸããä»äºã®ã»ãã¥ãªãã£ã䜿çšãããšããã¹ãŠãç°¡åã«ãªããŸãã ããã3人ã®ç®¡çè
ã®ãªã¹ãã«èŒã£ãŠããã®ããããªãã®ãã®ã©ã¡ããã§ãã
å®éãç§ã¯å°ãcã§ãçŸå®ã¯é垞次ã®ããã«èŠããŸãïŒ60å°ã®ãµãŒããŒã®ä»£ããã«ã3人ã®ç®¡çè
ã400ïŒ1000ïŒ2000ïŒïŒå°ã®ãµãŒããŒãææããŠããããå¥ã®17人ã®ç®¡çè
ãéãããªãã·ã§ã³ã¯äºç®äžã®çç±ããåã«äŸ¡å€ããããŸããã ãããããããã¯æé·åžå Žãšæèœãªäººæã®äžè¶³ã®ç¹åŸŽã§ãããäžè¬çãªè°è«ã¯äŸç¶ãšããŠæ®ã£ãŠããŸãïŒæ§æ管çã·ã¹ãã ã¯åŽåå¹çãé«ããåŽåå¹çãé«ã人ã
ã¯åžå Žã§ããå€ãã®éèŠããããŸãã
泚æãå¿
èŠãªå¥ã®ããã°ã©ã
äžèšã®å¿
èŠæ§ã®ãã¹ãŠã®ç©æ¥µæ§ã®ããã«ãä»»æã®æ§æ管çã·ã¹ãã ã¯åãªãããã°ã©ã ã§ãã ããã¯ããã°ãããããšãæå³ããŸãã ãããããããšãèŠæ±ããin蟱çãªãã®ãå«ããããšã¯ããã°ãåé¿ããããã ãã«äžäŸ¿ã§ãã§ãã ããã¯ãããã°ã©ããŒããããžã§ã¯ãã®æ¹åæ§ã«ã€ããŠç°ãªãããžã§ã³ãæã£ãŠããããã«ãæãããªã¢ãŒããã¯ãã£ãŒæ©èœãå®çŸãããªãããšãæå³ããŸãã ããã¯ãããã¥ã¡ã³ãéšåã®ä»£ããã«ãããã¥ã¡ã³ããïŒ src
ãã£ã¬ã¯ããªã«ããïŒãããããšãæå³ããŸãã ä»ã®ããã°ã©ã ãšåæ§ã«ãæéãèœåïŒãããŠããã«åŠç¿ããæéïŒãäžããŠãå
ãªãäžçã«æ³šæãæãå¿
èŠããããŸãã
ãããŠåã³ãã©ãã€ã ã·ããã«ã€ããŠ
ãã®ãã¹ãŠïŒãã°ãšæ·±ãå
ãªãäžçãå«ãïŒ-æèãã¢ãã«ã«é©å¿ãããå¿
èŠããããŸãããããã¯æ§æ管çã·ã¹ãã ã«ãã£ãŠæ±ºå®ãããŸãã æ§æ管çã¯éåžžã«äŸµè¥²çãªãšã³ãã£ãã£ã§ããããããããã®ã®äžå¿ã«ãªãããããããã®ããã°ã©ã ã®èŠä»¶ã«åãããŠå€ãã®äœæ¥ããã»ã¹ã調æŽããå¿
èŠããããŸãã æªåããå¢çã®ç¬éã¯å€ãããïŒä»¥åã¯ããè¯ãç°¡åã«ã§ããŸããïŒãéåžžã®äœæ¥ã®ä»£ããã«äžæ¡çãªååŒãè¡ãæèŠãäœåºŠããããŸãã
ããããããã«äŒŽãããã1ã€ã®æèŠããããŸãããã¿ã³ãæŒãåæ°ãæžããæèãå¢ããŸãã ãè¡ã£ãŠå€æŽãããã®ä»£ããã«ãããã®ããã«å€æŽããã®ãæ£ããã®ãïŒããããªãå€æŽããå¿
èŠãããã®ãââïŒããã¢ãŒããã¯ãã£ã®è©³çŽ°ãªè°è«ããããŸãïŒãµãŒããŒAã§1ã€ã®å€ãå€æŽãããµãŒããŒBã§å¥ã®å€ãå€æŽã§ããŸããïŒãããã®å€æŽã®éã«å
±éç¹ãèŠã€ãããã®å
±éç¹ãæ°ãããšã³ãã£ãã£ãšããŠèª¬æããŸããïŒïŒ
ãªã³ãããžãŒããŸãã¯2çªç®ã®é£ããåé¡
ãªã³ãããžãŒã®åé¡ã¯å®å
šã«æé·ããã§ãããã ãããŸããŸãªå€åã«å
±éãããããšãèãããšãåžžã«æ°ãããã®ãåºçŸããæ°ãããã®ã«ã¯ååãå¿
èŠã«ãªããŸãã ãåç¥ã®ãšãããååãæãä»ãã«ã¯ããããITã®2çªç®ã®å°é£ãªåé¡ã§ããïŒ1ã€ã¯ãã£ãã·ã¥ã®ç¡å¹åã§ãïŒãååã®é èªããªããžã§ã¯ãã®ããããã£ãšæåŸ
ã決å®ããããè€éã§ãã ãããŠããã®ãã³ã«èŠåŽããŠååãèãåºãå¿
èŠããããŸãã ãã¹ãŠã®ééãã¯ã建ç¯ã«ããã湟æ²ã®äžéšã§ãã 以åã®å€æŽããå€æŽããå¿
èŠããããããã ã£ãå Žåããã»ãã¿ã ã®ããããã£ãå®è£
ããå¿
èŠãããããããå€æŽãè¡ãããŸãã ç§ã¯ïŒäººçããïŒéžè©±çãªäŸãé¿ããããšããŸããããããã§ãäžããŸãã 1ã€ã®ãããžã§ã¯ãã§ãã·ã¹ãã æ§æããšããååãæãä»ããŸã§ã«3é±éããããŸããïŒãµãŒããŒèšå®ã«åœ±é¿ããããœãããŠã§ã¢æ§æãã§ã¯ãªãansibleã®äœ¿çšãå¿
èŠãšããå€æŽã®éšåãèšè¿°ããä»å
¥ãå¿
èŠãšããªãéšåãèšè¿°ããŸããïŒ ansibleïŒã ã¢ã€ãã¢ã¯åççã§ãããäžå¯èœã«ãã€ã³ããããäŸåé¢ä¿ã®ãã³ãã«ãåé¢ããã®ã«åœ¹ç«ã¡ãŸãããããµãŒããŒAã§å€æŽããå¿
èŠããããŸãããã ãããŠãŒã¶ãŒãã€ã³ã¿ãŒãã§ã€ã¹ã§Bãå€æŽããåŸã®ã¿ãããã³Bããããã£ãŠããµãŒããŒæ§æãšã¢ã³ãµã³ãã«ã«ãã£ãŠæ§æãããŠããªãéšåã®äž¡æ¹ãäœããã®æ¹æ³ã§å€æŽããå¿
èŠããããŸãã ããŒã...é·ãéå¿ããããŠããææã ãã®äžã®å¥ã®ãšã³ãã£ãã£ã®ååãæããèããèŠã€ãåºãããšãå¿
èŠã§ããã
ããã³ãã£ã¢ããããã¯ãªãã£ã¹ãžã®ç§»å
ãµãŒããŒäžã®èšå®ãå€æŽããããã®ãã¿ã³ãå°ãããªããã¢ãã¹ãã©ã¯ãã«ã€ããŠãŸããŸãèããããã«ãªã£ãããã ssh user@server
ããgit commit
ãžãšåŸã
ã«ç掻ãå€ãã£ãŠããssh user@server
ã
ããã¯ãæ§æ管çã·ã¹ãã ã«åŸãããšã¯ãããã°ã©ããŒã®ç掻ããå€ãã®ããšãæå³ããŸãã ã³ãŒãã®æ§é ïŒã³ãŒã!!ïŒããã¹ããè¡šçŸåãšãããããããã³ãŒãã¬ãã¥ãŒãã³ãŒãã®æºåãšå®å®æ§ïŒã³ãŒã!!ïŒTKã®äºæããªãå€æŽãTKèªäœã¯äœããã®åœ¢ã§çŸãå§ããŸãã ãä»ããä¿®æ£ãããå¿
èŠã¯ãªããããä¿®æ£æ¹æ³ãæ確ã«ãããåé¡ãæè¡çãªè² åµã衚瀺ãããïŒä»ã¯æžãçŽãå¿
èŠãããïŒãããã¯ãã°ã衚瀺ããããããç¥ãããŠãããã°ã衚瀺ãããã äŸïŒ..ââãyesãyesãçŸåšã®æ§æã§ã¯ãã£ã¹ã¯ã®ãã£ãã·ã¥ãªãã·ã§ã³ãæ£ããæ§æãããŠããªãããšãããã£ãŠããŸãããå€æŽãè¡ãã«ã¯ããŸããããã¯ããã€ã¹ã®åé¡ãæ
åœããéšåãæžãæããå¿
èŠããããŸãã ããã¯ãéåžžã®ç®¡çè
ããã£ãšåã«ã«ãŒãã§400å°ã®ãµãŒããŒã§hdparm -W 0 /dev/sda
ãå®è¡ããŠãããšããäºå®ã«ããããããã§ãã ããããã300ãµãŒããŒã«ãšã£ãŠãsdaã¯ä»®æ³CD-ROMã§ããå Žåããããå±æ§ãèšå®ãããŠããåãµãŒããŒã§ç¢ºèªããå¿
èŠãããããšãç解ããã§ããã...ããããããã¯å¥ã®è©±ã§ãã
管çè
ã®å¯¿åœã¯ã管çè
ã®å¯¿åœã«ãŸããŸãè¿ã¥ããŠããŸãã å°éè·ã¯ãæ§æãæžã人ãšããã«ä»éãã人ã«åããããŸãïŒã€ãŸãã圌ãã¯ãµãŒããŒãšäžç·ã«ããã³ãã£ã¢ã«ãšã©ãŸããŸãïŒã ãããã¯SREãšåŒã°ããããšããããç¹å®ã®æç¹ã§ã®ãããžã§ã¯ãã®éèŠåºŠã«å¿ããŠãéåžžã«ã¯ãŒã«ã§éèŠãªè·æ¥ããŸãã¯ãã¢ããã°ã¬ãŒãããããµããŒããã«ãªããŸãã
ã©ãããå§ããŸããïŒ
å°ãããæ°ã«ãªã£ãã®ã«ãã©ãããå§ããã°ãããããããªãå Žåã¯ã奜ããªæ§æ管çã·ã¹ãã ãæ¢ããŠå§ããŠãã ããã ãããã¯ãAnsibleãcfengineãChefãJujuãPuppetãSaltStackãQuattorãªã©ã§ãã ã»ãšãã©ã®å Žåããªã¹ãã¯å®å
šã§ã¯ãããŸããã ãããã®è§£æ±ºçã¯ã©ããïŒç§ã®æèŠã§ã¯ïŒè¯ããã®ã§ã¯ãããŸããããç§ãã¡ãæã£ãŠãããã®ã®äžã§æè¯ã®ãã®ã§ãã ãã®ãããªã·ã¹ãã ã®éžæã®äžéšã¯ãããç¥ãããŠããããã°ã©ãã³ã°èšèªïŒãããç§ã®èŠæ¹ã§ãïŒããããžã§ã¯ãã®æ§æãšå®è¡å¯èœæ§ã®æèŠã«åºã¥ããŠããå¿
èŠããããŸãã
ãœãããŠã§ã¢ãéžæããåŸãé ãæ¥ããªãã§ãã ããã ãã®ãããªã·ã¹ãã ã§ã¹ããŒãããã¯ãèªãå¿
èŠããããé£æ床ãåãããã¬ã€ããããšãã§ããŸãããç¶æ³ã®å¶åŸ¡ã倱ãããšãªããå®è£
ã«éåžžã«å¶éãããŠããŸãã ããã¯ãé·æçãªã¢ã¯ã·ã§ã³ã®åçŽãªèªååïŒæ§æ管çã·ã¹ãã ã®èšèªã§ãæ°ã«å
¥ãã®å±éã¹ã¯ãªãããæžãæããïŒããå§ããæã§è¡ãããšã®å°ãªããšãäžéšãæžã蟌ãããšããããšãæå³ããŸãã
è¿œèš
æ§æ管çã·ã¹ãã ã§æãèå³æ·±ãã©ã€ãããã¯ã®1ã€ã§ããç§ã¯ãå®éšå®€ã¢ããªã±ãŒã·ã§ã³ãæ€èšããŸãã æ°ãããœãããŠã§ã¢ã調æ»ããå Žåãæ§æ管çã·ã¹ãã ã䜿çšãããã®ãœãããŠã§ã¢ã®æ§æã«ããããåè©Šè¡ãããããšãã§ããŸãïŒãœãããŠã§ã¢ããµãŒããŒã«å¯äœçšãåãŒããã©ããäžæãªå ŽåïŒã
åæã«ãããããã®ãäœããã¹ããããšãã説æã¯ãæŠå¿µçãªå®è£
ãããžã§ã¯ãã®åœ¹å²ã«å®å
šã«é©åããŠããŸãã ãããšããç§ã¯corosyncããããã°ããŠããŸãããããã¯ãæªç¥ã®ãŠããã£ã¹ã/ãã«ããã£ã¹ãã«å¶éããããããã¯ãŒã¯ã§åäœããããããŸããã§ããã ãããã°äžã«ãæ°åååã¯ã©ã¹ã¿ãŒåããå¿
èŠããããŸããã ãããå¯èœã«ãªã£ããšãããæ°ååãã¯åæ¥ã«ãªããªãã£ããããå®éšå®€ãåéããããããªãã®ã«ãªã£ãã
æ§æ管çã·ã¹ãã ãæ¯æ¥äœ¿çšããã«ã¯ããµãŒããŒãæäœããæãåºæ¬çãªæ¬èœãåæ§ç¯ããå¿
èŠããããŸãããéåžžã«äžå¿«ãªåŠç¿æ²ç·ã§ã¯ãªããåŽåå¹çãé«ããããŒã«ã§ããã ãã§ãªããè¡åãšæèã¢ãã«ãããå¹æçãªãã®ã«å€æŽããŸãã ããã¯éåžžã«é£ããæé ã§ãããå®è¡ããå¿
èŠãããæé ã§ãã