ã¯ããã«
ã¢ãžã£ã€ã«ã®å²åŠã®æ®åã«ããããã·ã¢ã®ITã¹ãã·ã£ãªã¹ãã¯æ¯å¹ŽãéçºããŒã ã®è£œåã®ã«ã¹ã¿ãã€ãºãšç®¡çã®åéã§ãŸããŸãå€ãã®å°éç¥èãšèœåãç²åŸããŠããŸãã ãã ããæãå€ããçç£çã§ã¢ã¯ã»ã¹ããããããŒãžã§ã³ã®Jira Data Centerã䜿çšãããšãäŸç¶ãšããŠå€ãã®çåãçããŸãã ãã®æçš¿ã§ã¯ãå®éã«é©çšããJira DataCenterã®ååãšã¡ã«ããºã ã«ã€ããŠèª¬æããŸãã Jiraã¯ã©ã¹ã¿ãŒã®æ§é ã«ã€ããŠã®è©±ããå§ããŸãã
Jira DataCenterãšã¯äœã§ããïŒ
Jira DataCenterã¯åºæ¬çã«ãµãŒããŒããŒãžã§ã³ã§ãããå ±éã®ããŒã¿ããŒã¹ãšå ±æã€ã³ããã¯ã¹ã䜿çšããæ©èœãåããŠããŸãã
Jira DataCenterèªäœã¯ã補åããã³ã¢ããªã±ãŒã·ã§ã³ãšããŠããã©ãŒã«ããã¬ã©ã³ã¹ãšè² è·åæ£ãæäŸããªãããšãç解ããããšãéèŠã§ãã ã¢ãžã¥ãŒã«ãšã·ã¹ãã ã¯ããã«è²¬ä»»ããããã¢ãã©ã·ã¢ã³è£œåãšã¯é¢ä¿ãããŸããã
èšãæããã°ãã¢ãã©ã·ã¢ã³ã¯ã¯ã©ã¹ã¿ãŒã§ã®äœæ¥ããµããŒãããŠããŸãããã¯ã©ã¹ã¿ãŒåèªäœã¯å€éšæ段ã«ãã£ãŠå®è£ ãããŠããããã®éžæã¯éåžžã«è±å¯ã§ãã
補åã®è©³çŽ°ãªèª¬æã¯ãã¢ãã©ã·ã¢ã³ã®Webãµã€ãã§å ¥æã§ããŸãã
ããã€ãã®æ§ç¯ãªãã·ã§ã³ããããŸãã
1.ç¬èªã®ã€ã³ãã©ã¹ãã©ã¯ãã£äž
2. Amazon CloudïŒAWSïŒã§
3. MSã®ã¯ã©ãŠãïŒAzureïŒ
ãã®èšäºã§ã¯ãç¬èªã®ã€ã³ãã©ã¹ãã©ã¯ãã£ã®ãœãªã¥ãŒã·ã§ã³ã«ã€ããŠèª¬æããŸãã
Jira DataCenterã¯ã©ã®ãããªåé¡ã解決ããŸããïŒ
Jira Data Centerã¯ã次ã®ç®æšã®éæãæ¯æŽããŸãã
- ãã©ãŒã«ããã¬ã©ã³ã¹ã®å®è£ ã
- é«è² è·äžã§ã®å®å®ããåäœãä¿èšŒããŸãã Jira Sizing Guideã«ãããšãé«è² è·ãšã¯å€§èŠæš¡/ãšã³ã¿ãŒãã©ã€ãºèŠæš¡ã®ã€ã³ã¹ã¿ã³ã¹ãæããŸãã
- ã¡ã³ããã³ã¹ãå¿ èŠãªå Žåã®ç¶ç¶çãªéçšã®ç¢ºä¿ã ãã®æç¹ã§ãç§ã¯å¥ã«äœã¿ãŸãã å€ãã®å Žåãã¢ããªã±ãŒã·ã§ã³ãæŽæ°ããå¿ èŠããããŸããããã¹ãŠã®äŒæ¥ããããè¿ éãã€ç®ã«èŠããªãããã«è¡ãèœåãæã£ãŠããããã§ã¯ãããŸããã ãã®åé¡ã¯ãã¯ã©ã¹ã¿ãªã³ã°ãšããããããŒãããŠã³ã¿ã€ã æŽæ°ã¹ããŒã ã䜿çšããããšã§è§£æ±ºãããŸãã
ãããã®åé¡ã¯ãã¯ã©ã¹ã¿ãªã³ã°ãšã¹ã±ãŒã©ãã«ãªã¢ãŒããã¯ãã£ã«ãã£ãŠå¯ŸåŠãããŸãã
Jira DataCenterã®ã³ã³ããŒãã³ãã¯äœã§ããïŒ
次ã®å³ã«ç€ºãããã«ãJira DataCenterã¯ã©ã¹ã¿ãŒã¯ããã€ãã®å°çšãã·ã³ã®ã³ã¬ã¯ã·ã§ã³ã§ãã
å³1. Jira Data Centerã®ã¢ãŒããã¯ãã£
- ã¢ããªã±ãŒã·ã§ã³ããŒãïŒã¢ããªã±ãŒã·ã§ã³ããŒããŸãã¯ã¯ã©ã¹ã¿ãŒããŒãïŒã ãã¹ãŠã®ã¯ãŒã¯ããŒããšãªã¯ãšã¹ããåãå ¥ããŠåŠçããŸãã ããŒãã®åœ¹å²ã¯ãåäžã®ã³ã³ãã³ããšã€ã³ã¹ããŒã«ãããã¢ããªã±ãŒã·ã§ã³ãããã³ããŠã³ããããå ±æãã¡ã€ã«ã·ã¹ãã ãåããéåžžã®ãµãŒããŒã«ãã£ãŠæããããŸãã
- ãã¡ã€ã«ã®ã€ã³ããŒã/ãšã¯ã¹ããŒãããã©ã°ã€ã³ããã£ãã·ã¥ãªã©ã®æšæºæ©èœãåãããã¡ã€ã«ã·ã¹ãã ïŒå ±æãã¡ã€ã«ã·ã¹ãã ïŒã ãã¡ã€ã«ãµãŒããŒã¯ãå ±æãã©ã«ããŒãŸãã¯ãªãœãŒã¹ãäœæãããå¥åã®ãµãŒããŒã§ããããããŒãã«ããŠã³ããããŠå ±æãã¡ã€ã«ã«äœ¿çšãããŸãã
- å ±æããŒã¿ããŒã¹ ãã®å ŽåãããŒã¿ããŒã¹ãµãŒããŒã¯å¥ã®ãµãŒããŒã§ãããMS SQLãPostgreSQLãMySQLãOracleäžã«æ§ç¯ã§ããŸãã
- ããŒããã©ã³ãµãŒ ãŠãŒã¶ãŒãªã¯ãšã¹ããé ä¿¡ããããŒãã«é ä¿¡ããŸãããã®ãã¡ã®1ã€ã倱æããå Žåããã©ã³ãµãŒã¯ãªã¯ãšã¹ããã»ãŒç¬æã«ä»ã®ããŒãã«ãªãã€ã¬ã¯ãããŸãã ãã®äœæ¥ã®ãããã§ããŠãŒã¶ãŒã¯1ã€ã®ããŒãã®é害ã«æ°ä»ãããšãããããŸããã ãã©ã³ãµãŒã®åäœã«ã€ããŠã¯ãå¥é説æããŸãã
Jira Data Centerã¯ã©ã¹ã¿ãŒããããž
JDCã§ã¯ã©ã¹ã¿ãŒãæ§ç¯ããããã®åºæ¬ååã瀺ããŸãã
- Jiraã€ã³ã¹ã¿ã³ã¹ã¯å ±éã®ããŒã¿ããŒã¹ãå ±æããŸãã
- Luceneã€ã³ããã¯ã¹ã¯ãªã¢ã«ã¿ã€ã ã§è€è£œãããã€ã³ã¹ã¿ã³ã¹ããšã«ããŒã«ã«ã«ä¿åãããŸãã
- æ·»ä»ãã¡ã€ã«ã¯å ±éã®ãªããžããªã«ä¿åãããŸãã
- Jiraã€ã³ã¹ã¿ã³ã¹ã¯ãã£ãã·ã¥ã®äžè²«æ§ãç£èŠããŸãã
- ãã€ã§ãè€æ°ã®ã€ã³ã¹ã¿ã³ã¹ãåæã«ã¢ã¯ãã£ãã«ã§ããŸãã
- å©çšå¯èœãªã¯ã©ã¹ã¿ãŒããã¯ã
- ãã©ã³ãµãŒã¯ã¢ã¯ãã£ããªããŒãã®ã¿ã«ãªã¯ãšã¹ãããªãã€ã¬ã¯ãããããã«èšå®ãããŠããŸãããéã¢ã¯ãã£ããªããŒãã«ãªã¯ãšã¹ãã転éããããšã¯ã§ããŸããããŸãã1ã€ã®ããŒãã«ãã¹ãŠã®ã»ãã·ã§ã³ãã¢ãã¬ã¹ããããšãã§ããŸããã
ãã¹ãŠã®ããŒãã¯ã¢ã¯ãã£ããšããã·ãã«åããããŸãã ã¢ã¯ãã£ãããŒãã¯ã次ã®ç¹ã§ç°ãªããŸãã
- ãªã¯ãšã¹ããåŠçãã
- ããã¯ã°ã©ãŠã³ãã®ããã»ã¹ãšã¿ã¹ã¯ãå®è¡ãã
- ã¹ã±ãžã¥ãŒã«ãããã¿ã¹ã¯ã¯ã1ã€ä»¥äžã§æ§æã§ããŸãã
- ãã¹ãŠã®å®çšçãªã·ããªãªã§ãç¶æ³ã¯æšæºã®Jira Serverã䜿çšããŠããããã«èŠããŸãã ãããã£ãŠãããã·ãããŒãã¯èŠæ±ãåŠçãããã¿ã¹ã¯ãå®è¡ããŸããããçæçãªã¯ãŒã¯ããŒãïŒã·ã¹ãã ã®èµ·åæããã©ã°ã€ã³ã®ããŒããã€ã³ããã¯ã¹äœæãªã©ïŒãåŒãåãã圹å²ãæãããŸãã
以äžã®å³ã¯ãJiraã¯ã©ã¹ã¿ã®åäœã瀺ããŠããŸã
å³2.ã¢ãŒããã¯ãã£ãŒã®ç°¡ç¥å³
ããŒããã©ã³ãµãŒã«ã€ããŠ
ãã©ã³ãµãŒã¯ããªããŒã¹ãããã·ãã€ã³ã¹ããŒã«ãããŠããä»»æã®ãµãŒããŒãŸãã¯ç©çããã€ã¹ã§ãã ãã©ã³ãµãŒã®æãæåãªäŸãæããŸãã
1.ããŒããŠã§ã¢ãã©ã³ãµãŒïŒ
â¢ã·ã¹ã³
â¢ãžã¥ãããŒ
â¢F5
2.ãœãããŠã§ã¢ãã©ã³ãµãŒïŒ
â¢mod_proxyïŒApacheïŒ-æãäžè¬çãªãããã³ã«ãšããã€ãã®ç°ãªãè² è·åæ£ã¢ã«ãŽãªãºã ããµããŒãããApache HTTPãµãŒããŒã®ãããã·ãµãŒããŒã
â¢Varnishã¯ããªããŒã¹HTTPãããã·ãµãŒããŒããã³ã¢ã¯ã»ã©ã¬ãŒã¿ã§ããããã©ãã£ãã¯ã®å€ããµã€ãåãã«èšèšãããŠããŸãã ä»ãšã¯ç°ãªãããããã·ãµãŒããŒãšHTTPãã©ãã£ãã¯ã®ããŒããã©ã³ãµãŒã®ã¿ã§ãã ç¹ã«ãã¯ââãã¹ã¯ãŠã£ãããã£ã¢ããã¥ãŒãšãŒã¯ã¿ã€ã ãºãã¬ãŒãã£ã¢ã³ããã®ä»å€ãã®å€§èŠæš¡ãããžã§ã¯ãã䜿çšããŠããŸãã
â¢Nginx-ãã©ãã£ãã¯ã®å€ããµã€ãåãã®ããŒããã©ã³ãµãŒããã³ãããã·ãœãªã¥ãŒã·ã§ã³ã§äººæ°ã®ãããã³ããŒ1 WebãµãŒããŒã ããã¯ç©æ¥µçã«éçºãããŠãããã¡ãŒã«ãŒã¯ç¡æã®äŒæ¥ããŒãžã§ã³ãæäŸããŠããŸãã WordPress.comãZyngaãAirbnbãHuluãMaxCDNãªã©ãäžçã§æã蚪åããããµã€ãã®å€ãã§äœ¿çšãããŠããŸãã
â¢Nginx Plus-å®éã«ã¯ãäžèšã®ææã®Nginxã®æ³äººåãããŒãžã§ã³ã§ãã
â¢HAProxyã¯ãTCP / HTTPãããã³ã«ã®è² è·åæ£ãšãããã·æ©èœãæäŸããç¡æã®ãªãŒãã³ãœãŒã¹ããŒã«ã§ãã é«éã§ãã·ã¹ãã ãªãœãŒã¹ãã»ãšãã©æ¶è²»ãããLinuxãSolarisãFreeBSDãããã³Windowsãšäºææ§ããããŸãã
ããã§ãã®ãªã³ã¯ã§ãããã·ãµãŒããŒã®è¯ãæ¯èŒãèŠã€ããããšãã§ããŸãã
ãã©ã¯ãŒãããã³ãªããŒã¹ãããã·
ããŒããã©ã³ãµãŒã¯ãçŽæ¥ãããã·ãšããŠããªããŒã¹ãããã·ãšããŠãæ©èœããŸãã ãã®éãã¯ãstackoverflowã«é¢ãããã®ã³ã¡ã³ãã®èè ã«ãã£ãŠååã«èª¬æãããŠããŸãã
1.ã転éãããã·ãïŒè»¢éãããã·ïŒã ãã®å Žåã®ãããã·ã€ãã³ãã¯ããçŽæ¥ãããã·ããå ã®èŠæ±è ã«ä»£ãã£ãŠå¥ã®Webãµã€ãããããŒã¿ãååŸããããšã§ãã äŸãšããŠãã€ã³ã¿ãŒãããã«æ¥ç¶ãããŠãã3å°ã®ã³ã³ãã¥ãŒã¿ãŒã®ãªã¹ãã瀺ããŸãã
X =ã€ã³ã¿ãŒãããäžã®ã³ã³ãã¥ãŒã¿ãŒãŸãã¯ã¯ã©ã€ã¢ã³ãã³ã³ãã¥ãŒã¿ãŒ
Y =ãããã·Webãµã€ããproxy.example.org
Z =ã¢ã¯ã»ã¹ããããŠã§ããµã€ãã¯www.example.netã§ã
éåžžãX-> ZããçŽæ¥æ¥ç¶ã§ããŸãããã ããäžéšã®ã·ããªãªã§ã¯ãXã«ä»£ãã£ãŠY-> Zã䜿çšããæ¹ãããå ŽåããããŸããããã¯ãX-> Y-> Zã§ãã
2.ãéãããã·ãïŒéãããã·ïŒã åãç¶æ³ãæ³åããŠãã ããããµã€ãYã§ã®ã¿ãªããŒã¹ãããã·ãæ§æãããŠããŸãã éåžžãX-> ZããçŽæ¥æ¥ç¶ã§ããŸãããã·ããªãªã«ãã£ãŠã¯ãZã®ç®¡çè ãçŽæ¥ã¢ã¯ã»ã¹ãå¶éãŸãã¯çŠæ¢ããæåã«èšªåè ã«Yãééãããæ¹ãè¯ãå ŽåããããŸãã X-> Y->Zã
ãã®ã±ãŒã¹ã¯ããŠãŒã¶ãŒXãããŒã¿ãYãšäº€æããŠããããšããŠãŒã¶ãŒXãèªèããŠããããããŠãŒã¶ãŒXãZã«ã¢ã¯ã»ã¹ããŠããããšãç¥ããªããšããç¹ã§ãçŽæ¥ãããã·ããšç°ãªããŸãããµãŒããŒZã¯ã¯ã©ã€ã¢ã³ãã«ã¯èŠãããå€éšãããã·ãµãŒããŒYã®ã¿ãå€éšã«èŠããã ãªããŒã¹ãããã·ã¯ãã¯ã©ã€ã¢ã³ãåŽã®æ§æãå¿ èŠãšããŸããã ã¯ã©ã€ã¢ã³ãXã¯ãYïŒX-> YïŒãšã®ã¿å¯Ÿè©±ããŠãããšèããŠããŸãããå®éã«ã¯ãYã¯æ¥ç¶å šäœããªãã€ã¬ã¯ãããŸãïŒX-> Y-> ZïŒã
次ã«ããœãããŠã§ã¢ãã©ã³ãµãŒã®äœ¿çšãæ€èšããŸãã
ã©ã®ãœãããŠã§ã¢ãã©ã³ãµãŒãéžæããŸããïŒ
ç§ãã¡ã®çµéšã§ã¯ãã¹ãã£ããã»ãã·ã§ã³ã¢ãŒãããµããŒããããŸãæããã䜿çšãããWebãµãŒããŒã®1ã€ã§ããããããœãããŠã§ã¢ãã©ã³ãµãŒã®æé©ãªéžæè¢ã¯Nginxã§ãã
ã¹ãã£ãããŒã»ãã·ã§ã³ã¯ãã¯ã©ã€ã¢ã³ãèŠæ±ãåãã°ã«ãŒããµãŒããŒã«éä¿¡ãããè² è·åæ£æ¹æ³ã§ãã Nginxã«ã¯ãCookieã䜿çšããŠãã©ã³ã¹ãåãã¹ãã£ãããŒã¡ãœããããããŸãããåçšããŒãžã§ã³ã®ã¿ã§ãã ããããå€éšã¢ãžã¥ãŒã«ã®äœ¿çšãšããç¡æã®æ¹æ³ããããŸãã
ãã®ã¢ãžã¥ãŒã«ã¯Cookieãäœæãããããåãã©ãŠã¶ãŒãäžæã«ãªããŸãã 次ã«ãCookieã䜿çšããŠãªã¯ãšã¹ããåããµãŒããŒã«ãªãã€ã¬ã¯ãããŸãã Cookieãååšããªãå ŽåïŒæåã®èŠæ±ãªã©ïŒããµãŒããŒã¯ã©ã³ãã ã«éžæãããŸãã
ãã®ãªã³ã¯ãšãã®Habrapostã§ã¹ãã£ãããŒã¡ãœããã®è©³çŽ°ãèªãããšãã§ããŸãã
ãããŠä»ãå®çšçãªéšåã«ç§»ããŸããã...
Jira DataCenterã¯ã©ã¹ã¿ãŒãäœæããæé
ã¯ã©ã¹ã¿ãªã³ã°ã®å ŽåãJiraãã€ã³ã¹ããŒã«ãããæ¢åã®ã€ã³ã¹ã¿ã³ã¹ãŸãã¯æ°ããã€ã³ã¹ã¿ã³ã¹ã䜿çšã§ããŸãã ãã®äŸã§ã¯ãç°ãªãOSãžã®æ°ããã€ã³ã¹ã¿ã³ã¹ã®ã€ã³ã¹ããŒã«ã«ã€ããŠèª¬æããŸãïŒã·ã¹ãã ã®æ±çšæ§ã瀺ãããïŒã
1.ããŒã¿ããŒã¹ãµãŒããŒããå§ããŸãããã æ¢åã®ãã®ãšæ°ãããã®ã®äž¡æ¹ã䜿çšã§ããŸãã ç¹°ãè¿ããŸããã説æã®ããã«ãWindows Server 2016 + PostgreSQL 9.4ãéžæãããŸããã OSãã€ã³ã¹ããŒã«ããPGãµãŒããŒãã€ã³ã¹ããŒã«ããPG Adminãã€ã³ã¹ããŒã«ãããŠãŒã¶ãŒãšããŒã¿ããŒã¹ãè¿œå ããŸãã
2. Ubuntu 16.04 LTS OSã§æåã®ããŒããäœæããŸãã å¿ èŠãªããã±ãŒãžããªããžããªã®æŽæ°ãã€ã³ã¹ããŒã«ããŸãã
3. Jira DataCenterãããŠã³ããŒãããŠã€ã³ã¹ããŒã«ããããŒã¿ããŒã¹ãèµ·åããŠæ§æããŸãïŒå¿µã®ãããAtlassianã«è©³çŽ°ãªã¬ã€ãããããŸã ïŒã
4. Jiraããªãã«ããããŒãããªãã«ããŸãã
ãµãŒãã¹ãžã©ã¹ããã
5.ããã«æäœããã«ã¯ãJiraèªåå®è¡ãäžæçã«ç¡å¹ã«ããããšããå§ãããŸãã
update-rc.d -f jira remove
6.ã¹ã€ããããªãã«ããããŒãã®ã¯ããŒã³ãäœæããŸãã
7.æåã®ããŒããèµ·åããJiraããªãã«ããŸãïŒããã©ã«ãã§ã¯ãã€ã³ã¹ããŒã«åŸã®Jiraã¯èªåå®è¡ã«èšå®ãããŸãïŒã
8. 2çªç®ã®ããŒããå®è¡ããJiraããªãã«ããŸãã
9.ãã©ã³ãµãŒçšã«åå¥ã®ã€ã³ã¹ã¿ã³ã¹ãäœæããŸãã Ubuntu 16.04ãéžãã ã®ã¯ã ããã¯éåžžã«é«éã§åçŽã§ãããã©ã€ã»ã³ã¹ã®åœ¢ã§è¿œå è²»çšãå¿ èŠãšããŸããã
10. nginxãã€ã³ã¹ããŒã«ããŸãïŒãã®äŸã§ã¯ãããŒãžã§ã³1.13.4ã䜿çšãããŠããŸãïŒã
11. nginx-sticky-module-ngãããŠã³ããŒãããŠè§£åããŸãã
git clone bitbucket.org/nginx-goodies/nginx-sticky-module-ng.git
12.ã¢ãžã¥ãŒã«ãåã³ã³ãã€ã«ããã³è¿œå ããããã«ãnginxãæºåããŸãã
13. nginx-sticky-module-ngã¢ãžã¥ãŒã«ã§nginxãã³ã³ãã€ã«ããŸãã ç§ã®å Žåãã³ã³ãã€ã«è¡ã¯æ¬¡ã®ããã«ãªããŸããã
./configure --prefix = / etc / nginx --sbin-path = / usr / sbin / nginx --modules-path = / usr / lib / nginx / modules --conf-path = / etc / nginx / nginxã conf --error-log-path = / var / log / nginx / error.log --http-log-path = / var / log / nginx / access.log --pid-path = / var / run / nginx pid --lock-path = / var / run / nginx.lock --http-client-body-temp-path = / var / cache / nginx / client_temp --http-proxy-temp-path = / var / cache / nginx / proxy_temp --http-fastcgi-temp-path = / var / cache / nginx / fastcgi_temp --http-uwsgi-temp-path = / var / cache / nginx / uwsgi_temp --http-scgi-temp-path = / var / cache / nginx / scgi_temp --user = nginx --group = nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module- -with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_sl_module_with_module -with-http_sub_module --with-ht tp_v2_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt = '-g -O2 -fstack-protector- param = ssp-buffer-size = 4 -Wformat -Werror = format-security -Wpã-D_FORTIFY_SOURCE = 2 -fPIC '--with-ld-opt ='-Wlã-Bsymbolic-functions -Wlã-zãrelro -Wlã-zãnow -Wlã-as-needed -pie '--add-module = / usr / local / src / nginx-sticky-module-ng
14. /etc/nginx/nginx.confãã¡ã€ã«ãèŠã€ããŠã.bakã«ã³ããŒããnginxããªããŒã¹ãããã·ã¢ãŒãã«èšå®ããŸãã
15.次ã«ããã¡ã€ã«ãµãŒããŒïŒã§ããã°ãã©ãŒã«ããã¬ã©ã³ãïŒãå¿ èŠã§ãã ããšãã°ã NFSããŒã«ãäœæããWindowsãµãŒããŒãéžæããŸãã ã
16.åããŒãã§ãNFSãµããŒãçšã®ããã±ãŒãžãã€ã³ã¹ããŒã«ããŸãã
apt-get install nfs-common
17. / media / jiraãã©ã«ããŒãäœæããŠå®è¡ããŸãã
chmod -R 0777 / media / Jira
18. NFSããŒã«ãå ±æããŒã«ãšããŠããŠã³ãããŸãïŒã«ãŒããã©ã«ããŒã§ã¯ãªãã/ media / jiraãªã©ã«ããŠã³ãããããšãå¿ é ã§ãïŒ-ãã¹ãŠã®ããŒã
19.1ã ããã«ãæåããŠã³ãïŒåäžïŒãå®è¡ããããšãã§ããŸãã
sudo mount -t nfs -O uid = 1000ãiocharset = utf-8 xx.xx.xx.xxïŒ/ jira / media / jira
ããã§ãxx.xx.xx.xxã¯ãNFSããŒã«ãæã€ãµãŒããŒã®IPã¢ãã¬ã¹ã§ãã
19.2ã ãŸãã¯ãããã«èªåããŠã³ãïŒOSèµ·åæïŒïŒ
mcedit / etc / fstab
æåŸã«æ¬¡ã®è¡ãè¿œå ããå¿ èŠããããŸãã
192.168.7.239:/jira / media / jira nfs userãrw 0 0
次ã«ãä¿åããŠçµäºããŸãã
20. IDãå²ãåœãŠãŸãïŒæåã®node1ããŒãã2çªç®ã®node2ããŒããªã©ã
ïŒãã®IDã¯ã¯ã©ã¹ã¿ãŒå šäœã§äžæã§ããå¿ èŠããããŸã
jira.node.id = node1
ïŒãã¹ãŠã®JiraããŒãã®å ±æããŒã ãã£ã¬ã¯ããªã®å Žæ
jira.shared.home = / media / jira
21.æåã®ããŒãã§jiraãå®è¡ããŸã
ãµãŒãã¹ãžã©ã¹ã¿ãŒã
ãã§ãã¯ïŒ
ã·ã¹ãã ->ã·ã¹ãã æ å ±->ã¯ã©ã¹ã¿ãŒONãšããŒãçªå·ãæ¢ããŸãã
22. nginxãã©ã³ã·ã³ã°ã®ã»ããã¢ãã
23.ä»¥æ¥ ä»¥åã¯ãããŒãã§Jiraèªåèµ·åãç¡å¹ã«ããŠããã次ã®ã³ãã³ãã§æå¹ã«ã§ããŸãã
update-rc.d -f jira enable
24.ã¯ã©ã¹ã¿ãŒã®åäœã確èªããå¿ èŠã«å¿ããŠããŒããè¿œå ããŸãã
ã¯ã©ã¹ã¿ãŒã®éå§é åº
1.å ±æãã¡ã€ã«ã·ã¹ãã ãµãŒããŒãæå¹ã«ãã
2.ããŒããã©ã³ãµãŒãæå¹ã«ãã
3. node1ãæå¹ã«ããŸã
4. node2ãæå¹ã«ããŸã
5. ...
ã¯ã©ã¹ã¿ãŒåæ¢é åº
1. service Jira stopã³ãã³ãã䜿çšããŠãäž¡æ¹ã®ããŒãã§Jiraãåæ¢ããŸã
2.ããŒã2ããªãã«ããŸã
3.ããŒã1ããªãã«ããŸã
4.ããŒããã©ã³ãµãŒããªãã«ããŸã
5.ãã¡ã€ã«ã·ã¹ãã ãµãŒããŒã®é»æºãåã
ããã ãã§ã...
ãã¡ããã説æããæ¹æ³ã ããçã®æ¹æ³ã§ã¯ãããŸããã ããã¯å®è£ ã®1ã€ã®æ¹æ³ã«ãããŸããã
ååãè³æã®æºåã«ååããŠãããããšã«æè¬ããŸãã
ã³ã¡ã³ãããŠã質åããŠãã ããããããŠãããªãã®æ³šæãããããšãã