第3åã«å¼ãç¶ãã第4åã®KLabåå¼·ä¼ã«ãåå ããã¦ããã ãã¾ããã
ä»åã®ãã¼ãã¯ãã·ã¹ãã 管çã«é¢ãããã®ã§ãå²ã¨æ®æ®µãã£ã¦ãããã¨ã«è¿ã話é¡ã ã£ãã®ã§ãèå³æ·±ãã£ãã§ãã
ç¸å¤ããããåºæ¿ããããã¾ããã§æ¥½ããã£ãã§ãã以ä¸ã«ã¡ã¢ããã¿ãã¨è²¼ãä»ãã¦ããã¾ãã
DSASã®ãããã - MATRIXã®ç§å¯ã¨å¹ççãªã·ã¹ãã 管çã®é¢ä¿
ã馴æã¿KLabã®ã²ãããã(id:hirose31)ã
ä½è«ã ãã©ãä»åº¦ããµã¼ã24æã(ä»®)ãªãæ¸ç±ãåºãããããKLabï¼ã¯ã¦ãªã®æ¹ã§å·çãã¦ããã¨ããããã¯æå¾
ï¼
ãã¦ãæ¬é¡ã ãã©ããµã¼ãããããã(æ°åå°ãæ°ç¾å°ã¨ã)管çãã¦ããã¨ãéç¨ç®¡ç(æéããããã¾ããã管çã§ããªãããªããã¹çºçãã¨ã)ãé¢åã ãã©ãKLabããã§ã¯ã©ã解決ãããã£ã¦ãã¼ãã
- ãµã¼ãæ
å ±ã®ä¸å
管çã«ã¯ãMATRIXãã使ã£ã¦ãã
- ãµã¼ãã®ä¸è¦§ãå½¹å²ãç¶æ 管çã¨ããå®ç¾©ãã¦ãã
- ããã¹ãå½¢å¼ã§ããã
- []ã¨ãã§å½¹å²ãæ¸ã
- [WARN]ã¨ã[STOP]ã¨ãç¶æ ãããã
- ãµã¼ãå°æ°ãå¤ããªãã¨è¦ããããªã
- MATRIXã®shãã¤ã³ãã£ã³ã°
- ã·ã§ã«å¤æ°ã«ãµã¼ãã®å½¹å²ãããæ¸ããå ¨ãµã¼ãåå®ç¾©ãã¦ããã£ã½ã
- source /etc/dsds.conf ã§èªã¿è¾¼ã¾ãã
- å
¨ã¦ã®ãµã¼ãã«æããã¦ãã
- éä¸ç®¡çãµã¼ãã«ãã¦ããã¨ããããã¨ãã大å¤ãå ¨ã¦ã®ãµã¼ãã«æããã¦ããã®ã§å¤§ä¸å¤«
- MATRIXã®shãã¤ã³ãã£ã³ã°
- XXXã«å¯¾ãã¦XXXããã
- dsas.confã§XXXãµã¼ãã¯å®ç¾©æ¸ãªã®ã§ãå¤æ°æå®ã§å®è¡å¯è½
- FORALL
- å ¨ãµã¼ãã«å¯¾ãã¦XXXã§ãã
- SYNCALL
- å ¨ãµã¼ãã«å¯¾ãã¦ã³ãã¼
- å ¨ãµã¼ãã«ãã¡ã¤ã«ã³ãã¼ã¯ãæã使ç¨é »åº¦ãé«ã
- DIFFALL
- å ¨ãµã¼ãã«å¯¾ãã¦åä¸æ§ã確èªãã
- FORALL
- dsas.confã§XXXãµã¼ãã¯å®ç¾©æ¸ãªã®ã§ãå¤æ°æå®ã§å®è¡å¯è½
- è¨å®ãã¡ã¤ã«ãé·ããã
- httpd.confã¨ãkeepalived.conf(DSASã®ã¯2600è¡ãããããããã)ã¨ã
- matrix-refrecton
- httpdãkeepalivedã®è¨å®ãçæã§ãã
- 2600è¡ãã¤ã¸ã£ã¦ããã¨ãã¹ããã®ã§ãããããä»çµã¿ãå¿ è¦
- httpdãkeepalivedã®è¨å®ãçæã§ãã
- MATRIXã®è¨èªãã¤ã³ãã£ã³ã°
- sh, perl, php
- dmetad
- ã¡ã¿ãã¼ã¿ãµã¼ã
- çµ±ä¸çãªI/Fã§ã¢ã¯ã»ã¹ã»æ
å ±ãæä¾ã§ãã
- ãªã¯ã¨ã¹ã
- HTTP(GET only)
- ã¬ã¹ãã³ã¹
- sh, yaml, json
- ãªã¯ã¨ã¹ã
- http://meta/{role}/{property}
- ä¾ â /ps/node, /ps/vip ã¨ã
- ã¾ã¨ã
- ä¸å
管ç
- éè¤ã®æé¤
- åãæ å ±ãè¤æ°ã®å ´æã§ç®¡çããã®ã¯è¯ããªã
- é©åº¦ã«ç®¡çãã¡ã¤ã«ãã¾ã¨ãã
- ã°ãããããã¨æ°ãå¤ããªãéãã¦å¤§å¤
- ã¾ã¨ããã¨ã¿ã¥ãã
- éè¤ã®æé¤
- æ©æ¢°ã«ãããã
- æéã»ãã¹ãæ¸ãã
- ä¸å
管ç
æå¾ã«ã²ãããããã
- ãµã管ãã³ã¼ãæ¸ããã
- ãµã¼ã管çã楽ãããã©ãã³ã¼ãæ¸ãã®ã楽ãã
ã¨ãã£ããã£ã¦ããã®ãå°è±¡çã ã£ããå
±æã
ãªã¼ãã³ã½ã¼ã¹ã·ã¹ãã 管çãã¬ã¼ã ã¯ã¼ã¯Func
mizzy.orgã®å®®ä¸ããã
ä»ã¯paperboy&co.ã§ã·ã¹ãã ã¢ã¼ããã¯ãããã¦ããã£ãããã¨ãã(ããªããããã£ã¦ããã³)
- Funcã«ã¤ãã¦
- ã·ã¹ãã 管çãã¬ã¼ã ã¯ã¼ã¯
- ã·ã¹ãã 管çç¨ã®ããã°ã©ã ãéçºããããã®ãã¬ã¼ã ã¯ã¼ã¯
- è¤æ°ã®ãµã¼ãã«å¯¾ãã¦ãä½ããã®å¦çãä¸æ¬ãã¦ã¾ã¨ãã¦å®è¡ã§ãã
- ãªãããã®é¨åã¯ãã¢ã¸ã¥ã¼ã«ã§æ¡å¼µã§ãã
- ã¡ãªã¿ã«ãgihyo.jpã§é£è¼ä¸
- ã·ã¹ãã 管çãã¬ã¼ã ã¯ã¼ã¯
- Funcã®ç¹å¾´
- ãã¹ãæ å ±ã管çãã
- ããã¨ãã¯ãXMLRPC over HTTPS
- SSL証ææ¸ã«ããç¸äºèªè¨¼
- Pythonã®å é¨ãã¼ã¿å½¢å¼ã§çµæåå¾ã§ãã
-
- æ§æ
- certmaster(管çãµã¼ã) â funcd(ã¯ã©ã¤ã¢ã³ããå®éã«å¦çãã)
- æ§æ
-
- Funcã使ããã®ã¯ãã¾ã FC6ãRHEL4以éã®ã¿
- èµ·åã¹ã¯ãªãããã¢ã¸ã¥ã¼ã«ãRedHatä¾åã«ãªã£ã¦ãã
- virtã¢ã¸ã¥ã¼ã«ã®å©ç¨
- XenãVMã®èµ·åç¶æ ã¨ããç£è¦ï¼å¶å¾¡ã§ãã
- Funcã使ããã®ã¯ãã¾ã FC6ãRHEL4以éã®ã¿
- 課é¡
- æ§ã ãªOSã¸ã®å¯¾å¿
- puppetã®ãããªOSã®éããå¸åããããã®ä»çµã¿ãå¿ è¦
- ã¢ã¸ã¥ã¼ã«ã®å å®
- Funcä¸ã§åä½ããã¢ããªã±ã¼ã·ã§ã³ã®å å®
- ãã¹ã管çæ¹æ³ã®ããªã¨ã¼ã·ã§ã³
- DBã¨ããYAMLã¨ãLDAPã¨ã
Func...ããªãé
åçã«æ ãã¾ãããè¤æ°ã®ãµã¼ãã«åä¸ã®å¦çãå®è¡ããããã¨ãç°¡åã«åºæ¥ããã§ããã¢ã¸ã¥ã¼ã«ãè²ã
ããã¿ããã ããããã¯æ¯é使ã£ã¦ã¿ããã¨æã£ãã
æ親ä¼
çµãã£ããã¨ã¯ããã¡ããæ親ä¼ã¸ãè²ã
ãæ
å ±äº¤æããã¦ãããã¾ããã
ã¤ããçãããããããã¼ããã¡ã¿ãããª"ã¹ã¼ãã®ä¼ç¤¾"ã®ä¸ã«ããã¨ç¡ç¸ã®ãããªãã¯ãã«ã«ãã¼ã¯ã延ã
ã¨ãã¦ãã¾ããããè
¹ãã£ã±ãã§ãã
å人çã«ã¯ã座ã£ãå¸ã®ä¸¡é£ããå¤æ©ãã(id:viver)ã¨æ°´éãã(id:mizuno_takaaki)ã§ãæåã¡ãã£ã¨ç·å¼µãã¾ããï½
VIVER CORE Serverãæ´»ç¨ãã¦ãã¾ããã¼ã£ã¦è©±ãããã¨ãå¤æ©ãããããåãã¦ä½¿ã£ã¦ããã£ã¦è©±ãèãã¾ãããã¨ããã³ããã¿ã«ãªãã¾ãããï¼ãã¨ãèªããåãããï½
使ã£ã¦ãã人ãæå¤ã¨ããªãã®ããªãããããªã«ç´ æ´ãããã®ã«ãVIVER COREã«ã¤ãã¦ã¯ãä»åº¦ããã°ã«æ¸ãã¦ç´¹ä»ãã¾ããï¼VIVER COREã ããããªãã¦ãPartty!ã«ã¤ãã¦ãã
æ°´éããã¯ãä»ã¯ç¾åº¦ã«ããã£ããã(å ã¯ãã¯ã¦ãª)ããã§ãç¾åº¦ã®ã¯ãã¼ã©åé¡ã§ããªããªãè¦å´ãã¦ããã£ãããã¿ããã§ããã§ãããã大ä¸å¤«ã§ãããï¼ã¨ã®ãã¨ããã®ä»ãç¾åº¦ã«ã¤ãã¦ãè²ã ã¨ã
åããã¼ãã«ã«ã¯ä»ã«ããä¾¡æ ¼ã³ã ã®ã¤ã±ã¦ãæ¹ããPHPã®ãã¬ã¼ã ã¯ã¼ã¯(Maple)ä½ã£ãæ¹(id:kunit)ã¨ãããã£ããã£ã¦ãããåºæ¿ãããã¾ããã§ãããçããã«è² ããªãããã«ç§ãææ¥ããç²¾é²ãããã¨æãã¾ãã