Sambaã¯ãCIFSãããã³ã«ã®ã»ãã³ãã£ã¯ã¹ïŒããã³Windowsãã·ã³ããã®ã¢ã¯ã»ã¹ïŒãPOSIXãã¡ã€ã«ã·ã¹ãã ã䜿çšããç°å¢ã«æäŸããããã«èšèšãããCIFSãµãŒãã¹ã§ãã Sambaã®äž»ãªæ©èœã¯ãWindowsããŒã¹ã®ã¯ã©ã€ã¢ã³ãã䜿çšããè±å¯ãªã»ãã³ãã£ã¯ã¹ãããã貧匱ãªPOSIXãã¡ã€ã«ã·ã¹ãã ã®ã»ãã³ãã£ã¯ã¹ã«å€æããããšã§ãã
ãã®ãããªå€æãå®è¡ããããã«ãSambaã¯ã»ãã³ãã£ã¯ã¹å€æã§äœ¿çšãããè¿œå æ å ±ãå«ãå€ãã®å éšã¡ã¿ããŒã¿ããŒã¿ããŒã¹ã䜿çšããŸãã
ç¹ã«ãè¿œå ã®ãã©ã¡ãŒã¿ãŒã¯ãç°ãªãã¯ã©ã€ã¢ã³ãããåããã¡ã€ã«ãåæã«éãããšãªã©ãæ åœããŸãã
ãã®æ å ±ã¯ãPOSIXã§ãã¡ã€ã«ãçŽæ¥éãåã«å¿ ãåŠçãããŸãã
ãããã£ãŠãWindowsã¯ã©ã€ã¢ã³ãããPOSIXãã¡ã€ã«ã·ã¹ãã ãžã®ééçãªã¢ã¯ã»ã¹ãæäŸãããŸãã
Sambaã®ãã©ãŒã«ããã¬ã©ã³ã¹ã¯ã3ã€ã®ãã€ã³ãã«åºã¥ããŠããŸãã
- Sambaã¡ã¿ããŒã¿ããŒã¿ããŒã¹ã®å埩
- ã¯ã©ã¹ã¿ãã¡ã€ã«ã·ã¹ãã ããŒã¹ã®ãŠãŒã¶ãŒãã¡ã€ã«ã®å¯çšæ§
- ãããã¯ãŒã¯é害ä¿è·ã¡ã«ããºã ãé害ãçºçããããŒãããåäœäžã®ããŒãã«IPã¢ãã¬ã¹ã転éããŸãã
ãã®èšäºã§ã¯ããã©ãŒã«ããã¬ã©ã³ãCIFSãµãŒãã¹ãäœæããã¡ã«ããºã ã«ã€ããŠã®ã¿èª¬æããŸãã å®è£ ã®åææ¡ä»¶ã¯ããã¡ã€ã«ãä¿åããããã«çŽæ¥äœ¿çšããã䞊åã¯ã©ã¹ã¿ãã¡ã€ã«ã·ã¹ãã ã®äœ¿çšã§ãã
ã¯ã©ã¹ã¿ã·ã¹ãã ã®èª¬æã¯ããã®èšäºã®ç¯å²å€ã§ãã äŸãšããŠãGPFSãŸãã¯Lustreãã¡ã€ã«ã·ã¹ãã ã䜿çšã§ããŸãã
ã¡ã¿ããŒã¿ããŒã¿ããŒã¹-èªæãªããŒã¿ããŒã¹
éåžžã®éã¯ã©ã¹ã¿ãŒããŒãžã§ã³ã®Sambaã¯ãTrivial DatabaseïŒTDBïŒãšåŒã°ããéåžžã«ã·ã³ãã«ã§ãªãœãŒã¹ã®ãªãããŒã¿ããŒã¹ã䜿çšããŠããŒã¿ãä¿åããŸãã
TDBã¯Key-to-Valueã«åºã¥ããŠæ§æãããŠãããæ§æã¯Berkley DBã«äŒŒãŠããŸãã TDBã¯ãPOSIXã·ã¹ãã ã®ããŸããŸãªããã»ã¹ããã®éåžžã«é«éãªè€æ°ã®èªã¿åãããã³æžã蟌ã¿ã¢ã¯ã»ã¹ãæäŸããŸãã ã¡ã¢ãªãªãã¬ã¯ã·ã§ã³ïŒmmapïŒã¯ãã»ãšãã©ã®ã¢ãŒããã¯ãã£ã§ãµããŒããããŠããŸãã
ãã¡ã€ã«ã·ã¹ãã ãžã®åã¯ã©ã€ã¢ã³ãæ¥ç¶ã¯ãç¬èªã®smbdããŒã¢ã³ããã»ã¹ã«ãã£ãŠåŠçãããŸãã ãããã®éã§ããããã®ããã»ã¹ã¯TDBããŒã¹ãä»ããŠçžäºäœçšããŸãã
SAMBAã®ã¯ã©ã¹ã¿ãŒããŒãžã§ã³ãå®è£ ããæåã®è©Šã¿ã¯ãGPFSãLustreãªã©ã®ã¯ã©ã¹ã¿ãŒãã¡ã€ã«ã·ã¹ãã ã«TDBãå«ããã¡ã€ã«ãåã«é 眮ããããšã§ããã
ãã®ãããªSAMBAå®è£ ã¯æ©èœããŸããããéåžžã«äœéã§ããã é床ã®äœäžã¯ãã¯ã©ã¹ã¿ãŒãã¡ã€ã«ã·ã¹ãã åæãããã³ã«ã®ãªãŒããŒããããšé 延ã倧ããããã§ãã åæã«ãSambaãæ£åžžã«åäœãããã«ã¯ãTDBãžã®éåžžã«é«éãªã¢ã¯ã»ã¹ãæäŸããå¿ èŠããããŸãã
ã¯ã©ã¹ã¿ãã¡ã€ã«ã·ã¹ãã ã®æ©èœã®åºç€ã¯ãããŒã¿ãæ倱ããä¿è·ããããšã§ãã ã¯ã©ã€ã¢ã³ããããŒã¿ã®èšé²ãéå§ããããŒã¿ãæžã蟌ãŸããã¯ãã®ããŒãã§é害ãçºçããŠãããããã¯å€±ãããŸããã
ãããã£ãŠãã¯ã©ã¹ã¿ãŒãã¡ã€ã«ã·ã¹ãã ã¯ãå ±æã¹ãã¬ãŒãžã«ããŒã¿ãæžã蟌ãããã¯ã©ã¹ã¿ãŒå ã®ãã¹ãŠã®ããŒãã«å€æŽãéä¿¡ããå¿ èŠããããŸãã
ãã ãããã®ã¹ããŒãã¡ã³ãã¯Sambaã¡ã¿ããŒã¿ã«å®å šã«åœãŠã¯ãŸãããã§ã¯ãããŸããã ç¹å®ã®ç¶æ³ã§ã¯ããã®ããŒã¿ã倱ãããŠããCIFSãšPOSIXã®éã§å¿ èŠãªã»ãã³ãã£ã¯ã¹å€æãå®è¡ããæ©èœã«ã¯åœ±é¿ããŸããã
ãããã£ãŠãèšé²äžã«å ±éã®ã¡ã¿ããŒã¿ãªããžããªãšããŒã¿ã¬ããªã±ãŒã·ã§ã³ãå¿ èŠãšããªãã¯ã©ã¹ã¿ãŒã·ã¹ãã ãå®è£ ããããšãå¯èœã«ãªããŸãã
ããã¯ãã¹ãŠã®ã¡ã¿ããŒã¿ã«åœãŠã¯ãŸãããã§ã¯ãªããšèšã£ãŠãã ããã
TDBããŒã¿ããŒã¹ã«ã¯ãæ°žç¶ãšéæ°žç¶ã®2çš®é¡ããããŸãã
æ°žç¶ç-åèµ·ååŸãä¿æãããã¹ãé·ææ å ±ãå«ãŸããŠããŸãã ãããã®ããŒã¿ããŒã¹ã¯ãæžã蟌ã¿ãããèªã¿åãã«ãã䜿çšãããŸãã ãã®ã¿ã€ãã®ããŒã¿ããŒã¹ã®æžã蟌ã¿ã¢ã¯ã»ã¹é床ã¯éèŠã§ã¯ãããŸããã ããã§ã®äž»ãªãã®ã¯ä¿¡é Œæ§ã§ãã
æ®çºæ§ -ããã¯ãŸãã¯ã»ãã·ã§ã³ã®ããŒã¿ããŒã¹ãªã©ã ããã«ä¿åãããããŒã¿ã®ã©ã€ããµã€ã¯ã«ã¯çãã§ãã ãããã®ããŒã¿ããŒã¹ãžã®æžã蟌ã¿é »åºŠã¯éåžžã«é«ãã§ãã ãŸãããéåžžã®TDBããšãåŒã°ããŸãã
Sambaãæ£åžžã«æ©èœããããã«ã¯ããéåžžã®TDBãã§äœæ¥ããéã®é«ãããã©ãŒãã³ã¹ãç¹ã«éèŠã§ãã
æ å ±ã®æ倱ã¯ãäžè²«æ§ã®ãªãããŒã¿ããŒã¹ã§ã®ã¿å¯èœã§ãã
以äžã®è¡šã¯ãSambaã®ã¯ã©ã¹ã¿ãŒå®è£ ã§äœ¿çšãããããŒã¿ããŒã¹ã®ãªã¹ããšèª¬æã§ãã
è¡š1æ°žç¶çãªTDB
å | èšè¿° |
account_policy | ãã¹ã¯ãŒãã®æå¹æéèšå®ãå«ããSamba / NTã¢ã«ãŠã³ãããªã·ãŒèšå®ã |
group_mapping | UNIXã°ã«ãŒãã®Windowsã°ã«ãŒã/ SIDãããã³ã°ããŒãã«ã |
passdb | tdbsamã䜿çšããå Žåã«ã®ã¿ãããŸãã ãã®ãã¡ã€ã«ã«ã¯ãSambaSAMAccountæ å ±ãæ ŒçŽãããŸãã ãã®ãã¡ã€ã«ã§ã¯ãPOSIXãŠãŒã¶ãŒã¢ã«ãŠã³ãæ å ±ã«/ etc / passwdãã¡ã€ã«ãŸãã¯å¥ã®ã·ã¹ãã ãœãŒã¹ããã¢ã¯ã»ã¹ã§ããå¿ èŠãããããšã«æ³šæããŠãã ããã |
ç»é² | Windowsã¬ãžã¹ããªã®ã¹ã±ã«ãã³ãæ ŒçŽããèªã¿åãå°çšã®SambaããŒã¿ããŒã¹ãwinregRPCïŒãªã¢ãŒãããã·ãŒãžã£ã³ãŒã«ïŒãä»ããŠããŸããŸãªããŒã¿ããŒã¹ããŒãã«ã®ãšã¯ã¹ããŒãããµããŒãããŸãã |
ç§å¯ | ãã®ãã¡ã€ã«ã«ã¯ãã¯ãŒã¯ã°ã«ãŒã/ãã¡ã€ã³/ã³ã³ãã¥ãŒã¿ãŒã®SIDãLDAPãã£ã¬ã¯ããªãæŽæ°ããããã®ãã¹ã¯ãŒããããã³Sambaãæ£ããæ©èœããããã«å¿ èŠãªãã®ä»ã®éèŠãªç°å¢æ å ±ãæ ŒçŽãããŸãã ãã®ãã¡ã€ã«ã«ã¯ãä¿è·ããå¿ èŠãããéåžžã«éèŠãªæ å ±ãå«ãŸããŠããŸãã PRIVATE_DIRãã£ã¬ã¯ããªã«ä¿åãããŸãã |
share_info | åãªãœãŒã¹ã®ACLæ å ±ãä¿åããŸãã |
Idmap2 | IDMAP WinbinddããŒã¿ããŒã¹ã |
è¡š2 TDB
å | èšè¿° |
ããã㯠| ãã€ãç¯å²ããã¯ã«é¢ããæ å ±ã |
ãã㯠| ãã¡ã€ã«ã·ã¹ãã ããã¯ããŒãã« |
æ¥ç¶ | æ¥ç¶ã®æ倧æ°ã远跡ããããã«äœ¿çšãããçŸåšã®æ¥ç¶æ å ±ã®äžæãã£ãã·ã¥ã |
Notify_onelevel | ããããctdbããŒã¢ã³éã®ã¡ãã»ãŒãžã³ã°ã«äœ¿çšãããŸã |
éç¥ãã | ããããctdbããŒã¢ã³éã®ã¡ãã»ãŒãžã³ã°ã«äœ¿çšãããŸã |
ã»ãã·ã§ã³ID | ããŸããŸãªã»ãã·ã§ã³æ å ±ããã³utmpãµãŒãã¹ã®äžæãã£ãã·ã¥ã |
ãããã£ãŠãã©ã®æ å ±ã倱ãããå¯èœæ§ãããããããããŸãã ãã®æ å ±ã¯ãã»ãã·ã§ã³ãããã¯ãããã³æããã«ïŒã€ã³ã¿ãŒãããäžã«ã¯ããŒã¿ããããŸããïŒãã¯ã©ã¹ã¿ãŒã®æäœã«å¿ èŠãªç¹å®ã®æ å ±ã«é¢ãããã®ã§ãã
ããŒãã«é害ãçºçãããšããã®ããŒãã§éãããŠãããã¹ãŠã®ãã¡ã€ã«ãéãããããããäžèšã®æ å ±ã倱ãããããšã¯éèŠã§ã¯ãããŸããã
CTDBDããŒã¢ã³ãšã¯ã©ã¹ã¿ãŒå ã®TDBããŒã¿ããŒã¹ã®æäœ
Sambaã¯ã©ã¹ã¿ãŒã®éèŠãªã³ã³ããŒãã³ãã¯CTDBDããŒã¢ã³ã§ãã CTDBïŒCluster Trivial DataBaseïŒãšåŒã°ããã¯ã©ã¹ã¿ãŒåãããTDBããŒã¿ããŒã¹ã®ãµããŒããæäŸããèªåå埩ã®å¯èœæ§ãåããŠããŸãã
CTDBDã¯ã¯ã©ã¹ã¿ãŒããŒããç£èŠããé害ãçºçããå Žåã«èªååæ§æãå®è¡ããŸãã
è² è·åæ£ã®ç¢ºä¿ã¯ãCTDBDã®ãã1ã€ã®ã¿ã¹ã¯ã§ãã
ããŒã¿ããŒã¹ã®ã¿ã€ãã«å¿ããŠããã®åŠçã¯ããŸããŸãªæ¹æ³ã§å®è¡ãããŸãã
äžæTDBã䜿çšãã
äžæTDBã®äž»èŠãªæ©èœã¯ãã¯ã©ã¹ã¿ãŒå ã®ãã¹ãŠã®ã¬ã³ãŒããå«ããå¿ èŠããªãããšã§ãã ã»ãšãã©ã®å ŽåãäžæTDBã«ã¯ããã®ç¹å®ã®ããŒãã®æ¥ç¶ã«é¢é£ãããšã³ããªã®ã¿ãå«ãŸããŸãã ãããã£ãŠãããŒã¿ãèœã¡ãå Žåããã®ããŒã¿ã®ã¿ã倱ãããŸãã
CTDBã·ã¹ãã ã¯ãåããŒãã®CTDBDããŒã¢ã³éã®ã¡ã¿ããŒã¿ããŒã¿ããŒã¹ã®æäœã«åæ£ãããã³ã«ã䜿çšããSambaããŒã¢ã³ãšCTDBDããŒã¢ã³éã®ããŒãå éä¿¡çšã®ããŒã«ã«ãããã³ã«ã䜿çšããŸãã
CTDBã®èšèšã§ã¯ã2å±€ã®ã¬ã³ãŒãã¹ãã¬ãŒãžã·ã¹ãã ã䜿çšããŠããŸãã æåã®ã¬ãã«ã§ã¯ãåã¬ã³ãŒãã«ã€ããŠãå Žæã®ææè ã決å®ãããŸã-ãå Žæãã¹ã¿ãŒãã ãã®ãã¹ãã¯ããã®ããŒã«ãã£ãŠã¬ã³ãŒãã«æ¥ç¶ãããŸãã
2çªç®ã®ã¬ãã«ã§ã¯ãããŒãã³ã°ãããŒã¿ãã¹ã¿ããå®çŸ©ãããŸãïŒããŒãã³ã°ãŸãã¯ããŒãã³ã°ããŒã¿ãã¹ã¿ïŒã ããã¯ãã¬ã³ãŒããå€æŽããæåŸã®ããŒãã§ãã
ããã±ãŒã·ã§ã³ãã¹ã¿ãŒãã¯ãã¬ã³ãŒããã©ã®ããŒãã«ãããããããã£ãŠã©ã®ããŒãããããŒã¿ãã¹ã¿ãŒãã§ããããåžžã«èªèããŠããŸãã ãããŒã¿ãã¹ã¿ãã«ã¯ãã¬ã³ãŒãã®ææ°ã®ã³ããŒãå«ãŸããŠããŸãã
åã¬ã³ãŒãã«ã¯ãã°ããŒãã«ã·ãªã¢ã«çªå·ïŒRSNïŒã¬ã³ãŒãã·ãŒã±ã³ã¹çªå·ïŒïŒãå«ãŸããŠããŸããããã¯ããããŒã¿ãã¹ã¿ããããŒãããããŒãã«ç§»åãããã³ã«å¢å ãã64ãããæŽæ°ã§ãã ãããŒã¿ãã¹ã¿ãŒãã¬ã³ãŒãã®æææš©ã®å€æŽã¯ãåžžã«ããã±ãŒã·ã§ã³ãã¹ã¿ãŒããéããŠè¡ãããŸãã
ããŒãã«ã¯ãããŒã«ã«TDBå ã®æ¢ã«ã¢ã¯ã»ã¹æš©ã®ãããšã³ããªã®ã¿ãå«ãŸããŠããŸãã ããŒã¿ã¯ä»ã®ããŒãã«èªåçã«é ä¿¡ãããŸãããããªã¯ãšã¹ãã«å¿ããŠã®ã¿éä¿¡ã§ããŸãã
ã¬ã³ãŒãã®å®éã®ã³ããŒãå«ãããŒãã¯1ã€ã ãã§ã-ãããŒã¿ãã¹ã¿ãŒãã ããŒããã¬ã³ãŒãã®æžã蟌ã¿ãŸãã¯èªã¿åããè¡ãå ŽåããŸãããã®ããŒãã®ãããŒã¿ãã¹ã¿ãŒãã§ãããã©ããã確èªããŸãã ãã®å ŽåãTDBã«çŽæ¥æžã蟌ã¿ãŸãã ããã§ãªãå Žåã圌ã¯ã¬ã³ãŒãã®çŸåšã®å 容ãçŸåšã®ãããŒã¿ãã¹ã¿ãŒãã«èŠæ±ãããããŒã¿ãã¹ã¿ãŒãã®åœ¹å²ãæãããŠãããçŽæ¥é²é³ãå®è¡ããŸãã
ãããã£ãŠãããŒã¿ã®æžã蟌ã¿ãšèªã¿åãã¯åžžã«ããŒã«ã«ã§è¡ãããããã©ãŒãã³ã¹ãå€§å¹ ã«åäžããŸãã
ããŒããåæ¢ãããšããã®ããŒãããããŒã¿ãã¹ã¿ãŒãã§ãã£ãã¬ã³ãŒãã¯å€±ãããŸãã
CTDBDã¯å埩ããã»ã¹ãéå§ããŸãã ãããè¡ãã«ã¯ãå埩ããã»ã¹ã®ãã¹ã¿ãŒããŒãïŒãå埩ãã¹ã¿ãŒãïŒãéžæããŸãã ããŒããéžæããããšãã¯ã©ã¹ã¿ãŒåããããã¡ã€ã«ã·ã¹ãã ã§ç¹å®ã®ãã¡ã€ã«ïŒæ§æã§æå®ïŒã«ããã¯ãèšå®ããä»ã®ããŒãããå埩ãã¹ã¿ãŒãã®åœ¹å²ãèŠæ±ã§ããªãããã«ããŸãã
Recover Masterã¯ããã¹ãŠã®ãµã€ãããææ°ããŒãžã§ã³ã®ã¬ã³ãŒããåéããŸãã é¢é£æ§ã¯ãRSNã®å€ã«ãã£ãŠæ±ºãŸããŸãã æãéèŠãªã®ã¯ã倧ããªRSNãæã€ã¬ã³ãŒãã§ãã
å®æ°TDBã䜿çšãã
ãã®ããŒã¿ããŒã¹ã®å ŽåãåããŒãã«ã¯åžžã«ããŒã¿ããŒã¹ã®å®å šãªçŸåšã®ã³ããŒããããŸãã
èªã¿åãã¯åžžã«ããŒã«ã«ã³ããŒããè¡ãããŸãã ããŒããèšé²ããå¿ èŠãããå Žåããã¹ãŠã®ããŒãã§ããŒã¿ããŒã¹å šäœãå®å šã«ããã¯ãããã©ã³ã¶ã¯ã·ã§ã³ãå®è¡ããŸãã
次ã«ãå¿ èŠãªèšé²æäœãå®è¡ããŸãã ãã®åŸãå€æŽã¯ãã¹ãŠã®ããŒãäžã®ããŒã¿ããŒã¹ã®ããŒã«ã«ã³ããŒã«èšé²ããããã©ã³ã¶ã¯ã·ã§ã³ã¯çµäºããŸãã
ãããã£ãŠãã¯ã©ã¹ã¿ãŒã®ãã¹ãŠã®ããŒãã«ã¯ãåžžã«ããŒã¿ããŒã¹ã®å®å šãã€ææ°ã®ã³ããŒãå«ãŸããŠããŸãã ãããã®ããŒã¿ããŒã¹ã§ã¯å€æŽã®é »åºŠãäœããããåæããã»ã¹äžã«çºçããé 延ã¯éèŠã§ã¯ãããŸããã
ããŒãã®1ã€ã«é害ãçºçããå Žåãå¿ èŠãªæ å ±ã¯ãã¹ãŠã¯ã©ã¹ã¿ãŒã®ä»ã®ã¡ã³ããŒã«ãããŸãã
ãããã¯ãŒã¯ãã§ã€ã«ãªãŒããŒ
ã¡ã¿ããŒã¿ããŒã¿ããŒã¹ã®ä¿è·ã«å ããŠãCTDBDã¯çµ±åãããTCP / IPãããã³ã«ãã§ãŒã«ãªãŒããŒã¡ã«ããºã ã䜿çšããŸãã
ããã¯ãã¯ã©ã¹ã¿ãŒã®ããŒãå šäœã«åæ£ãããŠãããããªãã¯IPã¢ãã¬ã¹ã®ã»ããã®ã¯ã©ã¹ã¿ãŒã䜿çšããããšã«ãããŸãã ãããã®ã¢ãã¬ã¹ã¯ãã¢ãã¬ã¹è§£æ±ºãããã³ã«ïŒARPïŒã®æŽæ°ãéããŠããŒãããããŒãã«è»¢éã§ããŸãã
ããŒãã«é害ãçºçããå Žåããã¹ãŠã®ãããªãã¯IPã¢ãã¬ã¹ãåäœäžã®ããŒãã«è»¢éãããŸãã
ãããªãã¯ã¯ã顧客ãé£çµ¡ããã¢ãã¬ã¹ã§ãã ã¯ã©ã¹ã¿ãŒã®ãã©ã€ãã«éã®éä¿¡ã«ã¯ãå éšIPã¢ãã¬ã¹ã䜿çšãããŸãã
å¥ã®IPã¢ãã¬ã¹ãåŒãç¶ãã ããŒãã¯ãå€ãTCPæ¥ç¶ã«é¢ããæ å ±ã®ã¿ãç¥ã£ãŠãããæ¥ç¶ã®ãTCPã·ãŒã±ã³ã¹çªå·ããç¥ããŸããã ãããã£ãŠãç¶ç¶ã§ããŸããã ã¯ã©ã€ã¢ã³ããšåæ§ã«ãæ¥ç¶ãå¥ã®ããŒãã«ç¢ºç«ãããããšãç¥ããŸããã
æ¥ç¶ã®åãæ¿ãã«é¢é£ããé 延ãåé¿ããããã«ã次ã®ææ³ã䜿çšãããŸãã ãã®ææ³ãç解ããã«ã¯ãTCPãããã³ã«ã®æ©èœã®åºæ¬ååãç解ããå¿ èŠããããŸãã
IPã¢ãã¬ã¹ãåä¿¡ãããšãæ°ããããŒãã¯ãACKãã©ã°ãšæããã«ééã£ããã·ãŒã±ã³ã¹çªå·ãããŒãã«çãããã±ãããã¯ã©ã€ã¢ã³ãã«éä¿¡ããŸãã å¿çãšããŠãã¯ã©ã€ã¢ã³ãã¯ãTCPãããã³ã«ã®èŠåã«åŸã£ãŠãæ£ãããã·ãŒã±ã³ã¹çªå·ãã§ACKå¿çãã±ãããéãè¿ããŸãã æ£ãããã·ãŒã±ã³ã¹çªå·ããåä¿¡ãããšãããŒãã¯RSTãã©ã°ãšãã®ãã·ãŒã±ã³ã¹çªå·ãã§ãã±ããã圢æããŸãã åä¿¡ãããšãã¯ã©ã€ã¢ã³ãã¯ããã«æ¥ç¶ãåéããŸãã
é 延ã¯ãããããã§ãã ãã®ææ³ããªããšãã¯ã©ã€ã¢ã³ãã¯ãµãŒããŒããã®TCP ACKãã±ãããé·æéåŸ ã€ããšãã§ããŸãã
å®éã«
åè¿°ã®ããã«ãããŒãã®1ã€ã«é害ãçºçããŠIPã¢ãã¬ã¹ã転éãããå Žåãé害ãçºçããåŸãåŒãç¶ãåäœãã責任ã¯ãã¹ãŠã¯ã©ã€ã¢ã³ãã«ãããŸãã é害ãçºçããããŒãã«é¢é£ä»ããããŠããéããŠãããã¡ã€ã«ã¯ãã¹ãŠéããããŸãã
Windowsãšã¯ã¹ãããŒã©ãŒã§ãã¡ã€ã«ãã³ããŒãŸãã¯èªã¿åãå Žåã倱æãããšãšã©ãŒã衚瀺ãããŸãã ãã ããæ¥ç¶ã倱ãããåŸã«æ¥ç¶ãåéã§ããããŒã«ã䜿çšãããšããã¹ãŠãã¹ã ãŒãºã«é²ã¿ãŸãã ããšãã°ãã/ zãã¹ã€ããã䜿çšããxcopyãŠãŒãã£ãªãã£ã ãã®ãŠãŒãã£ãªãã£ã䜿çšããŠãã¡ã€ã«ãã³ããŒãããšãIPã¢ãã¬ã¹ã®åãæ¿ãäžã«ããããªé 延ããçºçããŸããã ãã®åŸãã³ããŒãç¶è¡ãããŸãã
ãããã¯ãŒã¯ãªãœãŒã¹ãžã®æ¥ç¶ã倱ãããŸããã
ãšãã£ã¿ãŒã§ãã¡ã€ã«ãéããIPã¢ãã¬ã¹ã移åããããã«ä¿åããå¿ èŠããªãå Žåã倱æããŠãäœæ¥ã«åœ±é¿ããŸããã
ãããã£ãŠããã®å Žåã®é害åŸã®äœæ¥ã®åŸ©å ã®è²¬ä»»ã®äžéšã¯ãã¯ã©ã€ã¢ã³ãã«è»¢éãããŸãã
Sambaã¯ã©ã¹ã¿ãŒã®æ§æ
ã¯ã©ã¹ã¿ãŒã®ã»ããã¢ããã¯ã2ã€ã®ã¹ãããã§æ§æãããŸãã
- ã¯ã©ã¹ã¿ãŒã§åäœããããã«SambaããŒã¢ã³ãæ§æãã
- CTDBãæ§æãã
Sambaããã³é¢é£ãµãŒãã¹ã®æ§æ
ããŒãžã§ã³3.3以éãSambaãœãŒã¹ãã¹ãã«ã¯çµã¿èŸŒã¿ã®ã¯ã©ã¹ã¿ãªã³ã°ãµããŒãããããŸãã ãã ããã¯ã©ã¹ã¿ãŒã§åäœããã«ã¯ãç¹å¥ãªããŒã䜿çšããŠããã±ãŒãžãã³ã³ãã€ã«ããå¿ èŠããããŸãã
äžè¬çãªãã£ã¹ããªãã¥ãŒã·ã§ã³ïŒRHELãSLESãDebianïŒã®å Žåã Enterprisesamba.comããã¯ã©ã¹ã¿ãªã³ã°ãµããŒãä»ãã®ã³ã³ãã€ã«æžã¿ããŒãžã§ã³ã®SambaãããŠã³ããŒãã§ããŸãã
éèŠãªãç¥ããã Windowsã¯ã©ã€ã¢ã³ããSambaã¯ã©ã¹ã¿ãŒã§æ£åžžã«èªèšŒãããããã«ã¯ãå€éšèªèšŒã䜿çšããããšããå§ãããŸãã ããšãã°ãActive Directoryã䜿çšããŸãã
WindowsãŠãŒã¶ãŒãPosixãã¡ã€ã«ã·ã¹ãã ã«ã¢ã¯ã»ã¹ããããã«ãSambaã¯WindowsãŠãŒã¶ãŒãšPOSIXã·ã¹ãã ãŠãŒã¶ãŒïŒLinuxãªã©ïŒã®éã®ãããã³ã°ã確ç«ããŸãã WindowsãŠãŒã¶ãŒã¯ãæ¢ç¥ã®POSIXãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ãŠãŒã¶ãŒã®ååã§POSIXãã¡ã€ã«ã·ã¹ãã ã«ã¢ã¯ã»ã¹ããå¿ èŠããããŸãã WindowsãŠãŒã¶ãŒèªèšŒã¯ãPOSIX OSã®ãŠãŒã¶ãŒèªèšŒã«é¢ä¿ãªãçºçããŸãã
ã€ãŸã WindowsãŠãŒã¶ãŒãã¢ã¯ã»ã¹ã§ããããã«ããã«ã¯ã以äžãè¡ãå¿ èŠããããŸãã
- WindowsãŠãŒã¶ãŒãäœæ¥ããPOSIXãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã§ããŒã«ã«ãŠãŒã¶ãŒãäœæãã
- SambaããŒã¿ããŒã¹ã«WindowsãŠãŒã¶ãŒãäœæãããã®ãã¹ã¯ãŒããèšå®ããŸã
- ãããã®ãŠãŒã¶ãŒéã®æ¥ç¶ã確ç«ããŸã
ãŠãŒã¶ãŒãšãã¹ã¯ãŒãã®é¢ä¿ã®è¡šã¯ãCTDBããŒã¿ããŒã¹ã«ä¿åããŠãã¯ã©ã¹ã¿ãŒå ã«é åžã§ããŸãã ãã ããããŒã«ã«ãŠãŒã¶ãŒããŒã¿ããŒã¹ã«ã¯ãã®æ©èœã¯ãããŸããã ã€ãŸã Sambaã§ãŠãŒã¶ãŒãäœæãããã³ã«ãã¯ã©ã¹ã¿ãŒã®ãã¹ãŠã®ããŒãã§å¯Ÿå¿ããããŒã«ã«ã¢ã«ãŠã³ããäœæããå¿ èŠããããŸãã
ããã¯äžäŸ¿ã§ãã ãããåé¿ããã«ã¯ãå€éšããŒã¿ããŒã¹ãããŒã«ã«ãŠãŒã¶ãŒããŒã¿ããŒã¹ãšäœµçšããã®ãçã«ããªã£ãŠããŸãã ãã®å ŽåãActive Directotyãšã®çµ±åã䜿çšãããŸãã Sambaã¯ã©ã¹ã¿ãŒã¯ãã¡ã€ã³ã®ã¡ã³ããŒã§ãã
ãã¡ã€ã«/etc/nsswitch.confã«ä»¥äžãèšè¿°ããå¿ èŠããããŸãã
passwdïŒãã¡ã€ã«winbind
ã°ã«ãŒãïŒãã¡ã€ã«winbind
ã·ã£ããŠïŒãã¡ã€ã«winbind
ããã¯ãããŒã«ã«ãã¡ã€ã«ã«å ããŠããŠãŒã¶ãŒãšã°ã«ãŒããwinbindãä»ããŠActive Directoryã§æ€çŽ¢ãããããšãæå³ããŸãã winbindãµãŒãã¹ã䜿çšãããšãWindowsãã¡ã€ã³ã®ãŠãŒã¶ãŒãUnixãã·ã³ã«ãã°ã€ã³ã§ããŸãã ãããã£ãŠãééçãªã¢ã¯ã»ã¹å¶åŸ¡ãå®è£ ãããŸãã
Active Directoryãã¡ã€ã³ã§ã®æ¿èªã¯ãKerberosãããã³ã«ã®äžã§å®è¡ãããŸãã Kerberosã©ã€ãã©ãª-ã/etc/krb5.confãã«é©åãªèšå®ãè¡ãå¿ èŠããããŸãã
[ãã®ã³ã°]
ããã©ã«ã= FILEïŒ/var/log/krb5libs.log
kdc =ãã¡ã€ã«ïŒ/var/log/krb5kdc.log
admin_server = FILEïŒ/var/log/kadmind.log
[libdefaults]
default_realm = IT-DYNAMICS.RU-Active Directoryãã¡ã€ã³
dns_lookup_realm = true-ãµãŒããŒãæåã§ç»é²ããå¿ èŠããªããªããŸã
dns_lookup_kdc = true-ãµãŒããŒãæåã§ç»é²ããå¿ èŠããªããªããŸã
ticket_lifetime = 24h
転éå¯èœ=ã¯ã
[domain_realm]
.it-dynamics.ru = IT-DYNAMICS.RU
.it-dynamics.ru = IT-DYNAMICS.RU
[ããã©ã«ã]
pam = {
ãããã°= false
ticket_lifetime = 36000
renew_lifetime = 36000
転éå¯èœ= true
krb4_convert = false
}
æåŸã«ãSambaèªäœãæ§æããå¿ èŠããããŸãã
[ã°ããŒãã«]
ã¯ã©ã¹ã¿ãªã³ã°=ã¯ã
netbioså= smbcluster
ã¯ãŒã¯ã°ã«ãŒã= otd100
ã»ãã¥ãªãã£= ADS
ã¬ã«ã = IT-DYNAMICS.RU
ãã¹ã¯ãŒãã®æå·å=ã¯ã
ã¯ã©ã€ã¢ã³ãã©ã³ãã³èªèšŒ= no
ã¯ã©ã€ã¢ã³ãntlmv2 auth = yes
passdbããã¯ãšã³ã= tdbsam
groupdbïŒããã¯ãšã³ã= tdb
idmapããã¯ãšã³ã= tdb2
idmap uid = 1000000-2000000
idmap gid = 1000000-2000000
fileidïŒã¢ã«ãŽãªãºã = fsname
vfsãªããžã§ã¯ã= gpfsââ fileid
gpfsïŒsharemodes =ããã
äžæãªACLãŠãŒã¶ãŒã匷å¶ãã=ã¯ã
nfs4ïŒã¢ãŒã=ç¹å¥
nfs4ïŒchown = yes
nfs4ïŒacedub = merge
ã¬ãžã¹ããªå ±æ=ã¯ã
/etc/samba/smb.confã®éèŠãªãã©ã¡ãŒã¿ãŒã¯ãclustering = yesãã§ãã ã¯ã©ã¹ã¿ãªã³ã°ã®ãµããŒããå«ãŸããŠããŸãã ãnetbios nameããã©ã¡ãŒã¿ãŒã«ã¯ããã¹ãŠã®ããŒãã«å ±éããã¯ã©ã¹ã¿ãŒã®ååãèšè¿°ããŸãã
å ±æãªãœãŒã¹ãééçã«ç®¡çããã«ã¯ãSambaèšå®ã§ã¬ãžã¹ããªãµããŒããæå¹ã«ããå¿ èŠããããŸã-ãã¬ãžã¹ããªå ±æ= yesãã ãã以å€ã®å Žåããããªãã¯ãã©ã«ããŒèšå®ãsmb.confã«å«ãŸããŠãããšãã¯ã©ã¹ã¿ãŒå ã®ãã¹ãŠã®ããŒãéã§ãã®ãã¡ã€ã«ã匷å¶çã«åæããŸãã
ãããã«ããŠããã/ etc / samba / smb.confãã¯ãã¹ãŠã®ããŒãã§åãã§ããå¿ èŠããããŸãã
ãŠãŒã¶ãŒèªèšŒãæåãããã«ã¯ã次ã®ã³ãã³ãã§Sambaã¯ã©ã¹ã¿ãŒãActive Directoryãã¡ã€ã³ã«å ¥åããå¿ èŠããããŸããnet ads join -U Administrator
ã管çè ããšã¯ãã³ã³ãã¥ãŒã¿ãŒããã¡ã€ã³ã«è¿œå ããæš©éãæã€ãŠãŒã¶ãŒã§ãã
CTDBãæ§æãã
CTDBã¯å¥ã®ããã±ãŒãžãšããŠæäŸãããŸãã ãœãŒã¹ã¯ctdb.samba.orgããããŠã³ããŒãã§ããŸãã RHEL x64çšã®ã³ã³ãã€ã«æžã¿ããŒãžã§ã³ãããã«ãããŸãã x86ã®å Žåãsrc.rpmãããŠã³ããŒãããŠèªåã§ã³ã³ãã€ã«ã§ããŸãã
CTDBãªãã·ã§ã³ã¯/etc/sysconfig/ctdb.confãã¡ã€ã«ã«ãããŸã
ãã®ãã¡ã€ã«ã¯ãã¯ã©ã¹ã¿ãŒã®ãã¹ãŠã®ããŒãã§åãã§ãªããã°ãªããŸããã
æãéèŠãªãã©ã¡ãŒã¿ãŒïŒ
CTDB_RECOVERY_LOCK = / gpfsââ-storage / ctdb /ããã¯
é害ããå埩ãããšãã«ãå埩ãã¹ã¿ãŒããéžæãããšãã«äœ¿çšãããããã¯ãã¡ã€ã«ã®å Žæã決å®ããŸãã ããã¯ããµããŒãããã¯ã©ã¹ã¿ãŒåããããã¡ã€ã«ã·ã¹ãã ã«é 眮ããå¿ èŠããããŸãã
CTDB_PUBLIC_INTERFACE = eth1
ã¯ã©ã€ã¢ã³ããã¯ã©ã¹ã¿ãŒãšå¯Ÿè©±ããããã®ã€ã³ã¿ãŒãã§ãŒã¹ã
CTDB_PUBLIC_ADDRESSES = / etc / ctdb / public_addressesã¯ã©ã¹ã¿ãŒãæäœãããå¯èœæ§ã®ãããããªãã¯IPã¢ãã¬ã¹ãå«ããã¡ã€ã«ãžã®ãã¹ã
CTDB_MANAGES_SAMBA =ã¯ã
CTDBããŒã¢ã³ã¯ãSambaãµãŒãã¹ã管çããŸãã ããã¯ãSambaãã¯ã©ã¹ã¿ãŒã§æ£ããåäœããã®ã«äŸ¿å©ã§ãã CTDBèªäœã¯ãå¿ èŠã«å¿ããŠSambaãèµ·åãŸãã¯ã·ã£ããããŠã³ããŸãã åæã«ãSambaãã¹ã¿ãŒãã¢ããããåé€ããå¿ èŠããããŸãã
CTDB_MANAGES_WINBIND =ã¯ã
åã®ã±ãŒã¹ãšåæ§-Winbind管çã
CTDB_NODES = / etc / ctdb /ããŒã
ã¯ã©ã¹ã¿ãŒã®å éšãã£ããã¢ãã¬ã¹ã®ãªã¹ãã ããŒããã¡ã€ã«ã¯ããã¹ãŠã®ããŒãã§äžæã§ããå¿ èŠããããŸãã
ãã¡ã€ã«/ etc / ctdb / public_addressesã§ãã¯ã©ã€ã¢ã³ããæ¥ç¶ããããã«å¯èœãªãã¹ãŠã®ãããªãã¯IPã¢ãã¬ã¹ãæå®ããå¿ èŠããããŸãã
ãã¡ã€ã«/ etc / ctdb / nodesã§ãã¯ã©ã¹ã¿ãŒå ã®ãã¹ãŠã®ããŒãã®å éšIPã¢ãã¬ã¹ãæå®ããå¿ èŠããããŸãã
è² è·åæ£
è² è·ãåæ£ããæ¹æ³ã¯2ã€ãããŸãã
- ã©ãŠã³ãããã³DNSã®äœ¿çš
- LVS
ããã«ãã©ã®æ¹æ³ããµãŒããŒè² è·ã«å¿ããŠãã©ã³ã¹ãåãããšã¯ã§ããªãããšã«æ³šæããŠãã ããã æŠããŠãã¯ã©ã¹ã¿ãŒã®ç°ãªãããŒãã«ã¯ã©ã€ã¢ã³ããé 次ãªãã€ã¬ã¯ãããããã«ããã©ã³ã·ã³ã°ãåæžãããŸãã
ã©ãŠã³ãããã³DNSã®åæ£
ãã®å Žåã1ã€ã®ã¯ã©ã¹ã¿ãŒåã«å¯ŸããŠè€æ°ã®IPã¢ãã¬ã¹ãDNSã«ç»é²ãããŸãã ã¯ã©ã€ã¢ã³ããDNSãµãŒããŒã«ã¢ã¯ã»ã¹ãããšãã¯ã©ã€ã¢ã³ãã¯ç°ãªãã¯ã©ã¹ã¿ãŒIPã¢ãã¬ã¹ãæäŸããŸãã ãããã£ãŠãåŸç¶ã®åã¯ã©ã€ã¢ã³ãã¯æ°ããIPã¢ãã¬ã¹ãªã©ã«åã§æ¥ç¶ããŸãã
LVSãã©ã³ã·ã³ã°
ãã®å Žåãã¯ã©ã¹ã¿ãŒå šäœãåäžã®IPã¢ãã¬ã¹ãä»ããŠã¯ã©ã€ã¢ã³ãã«æ瀺ãããŸãã ããŒãã®1ã€ãLVSMasterãšããŠéžæãããŸãã ã¯ã©ã¹ã¿ãŒIPã¢ãã¬ã¹ãå²ãåœãŠãããŸãã ãã¹ãŠã®ã¯ã©ã€ã¢ã³ãããã®ã¢ãã¬ã¹ã«ãªã¯ãšã¹ããéä¿¡ããŸãã 次ã«ãLVSMasterã¯èŠæ±ãããŒãã®1ã€ã«ãªãã€ã¬ã¯ãããŸãã ããŒãã¯ãLVSMasterã䜿çšããã«ã¯ã©ã€ã¢ã³ãã«çŽæ¥å¿çããŸãã
LVSã䜿çšããã¹ããŒã ã¯ãè€æ°ã®èªã¿åãæäœã§éåžžã«è¯ãçµæãããããããšãã§ããŸãã æžã蟌ã¿æäœäžã¯ããã¹ãŠãLVSMasterã®é床ãšãããã¯ãŒã¯åž¯åå¹ ã«äŸåããŸãã
ã¯ã©ã¹ã¿ãŒç®¡ç
管çã¯ãctdbã³ãã³ãã䜿çšããŠå®è¡ãããŸãã ããã©ã«ãã§ã¯ãçŸåšã®ããŒãã§å®è¡ãããŸãã ã-nãã¹ã€ããã䜿çšãããšãå¥ã®ããŒããæå®ã§ããŸãã
Ctdbã¹ããŒã¿ã¹ -ã¯ã©ã¹ã¿ãŒã¹ããŒã¿ã¹ãè¿ããŸã
ããŒãã®æ°ïŒ2
pnnïŒ0 172.0.16.101 OK
pnnïŒ1 172.0.16.102 OKïŒãã®ããŒãïŒ
äžä»£ïŒ985898984
ãµã€ãºïŒ2
ããã·ã¥ïŒ0 lmasterïŒ0
ããã·ã¥ïŒ1 lmasterïŒ1
å埩ã¢ãŒãïŒéåžžïŒ0ïŒ
å埩ãã¹ã¿ãŒïŒ0
ããŒãã®ç¶æ ã¯æ¬¡ã®ãšããã§ãã
- OK-éåžžã®æäœ
- DISCONNECTED-ããŒãã¯ç©ççã«ã¢ã¯ã»ã¹ã§ããŸãã
- ç¡å¹-ããŒãã¯ç®¡çè ã«ãã£ãŠç¡å¹ã«ãããŠããŸãã åæã«ãã¯ã©ã¹ã¿å ã§åäœããŸããããã®ãããªãã¯IPã¢ãã¬ã¹ã¯ä»ã®ããŒãã«è»¢éããããµãŒãã¹ã¯å®è¡ãããŸããã ãã ããããŒãã¯TDBããŒã¿ããŒã¹ã®äžéšãæäŸã§ããŸãã
- äžå¥åº·-ããŒãã®åäœã«åé¡ããããŸãã CTDBããŒã¢ã³ã¯æ£ââåžžã«æ©èœããŠããŸããããããªãã¯IPã¯ä»ã®ããŒãã«è»¢éããããµãŒãã¹ã¯æ©èœããŠããŸããã
- çŠæ¢-ããŒãã¯å埩ãé »ç¹ã«è©Šè¡ããäžå®æéåæãããŸããã ãã®æéãçµäºãããšãããŒãã¯èªåçã«æäœã«æ»ããŸãã
- åæ¢-ããŒãã¯åæ¢ããŠãããã¯ã©ã¹ã¿ãŒã«åå ããŠããŸããããå¶åŸ¡ã³ãã³ããåä¿¡ã§ããŸãã
- PARTIALLYONLINE-ãã¹ãã¯åäœããŠããŸããããããªãã¯IPã¢ãã¬ã¹ãæäŸããã€ã³ã¿ãŒãã§ã€ã¹ã®äžéšããªãã«ãªã£ãŠããŸãã å°ãªããšã1ã€ã®ã€ã³ã¿ãŒãã§ãŒã¹ã䜿çšå¯èœã§ãªããã°ãªããŸããã
- å埩ã¢ãŒã-ã¯ã©ã¹ã¿ãŒæäœã¢ãŒãïŒ
- NORMAL-åäœã¢ãŒã
- å埩-ã¯ã©ã¹ã¿ãŒã¯å埩ã¢ãŒãã§ãã ãã¹ãŠã®ã¯ã©ã¹ã¿ãŒããŒã¿ããŒã¹ãããã¯ãããŠããŸãã ãµãŒãã¹ãæ©èœããŸããã
埩æ§ãã¹ã¿ãŒ-埩æ§ãŠã£ã¶ãŒãã§éžæãããããŒã
Ctdb IPã¯ãã¯ã©ã¹ã¿ãŒã®ãããªãã¯IPã¢ãã¬ã¹ãšããŒãããšã®ãããã®ååžã衚瀺ããŸã
ããŒã1ã®ãããªãã¯IP
128.0.16.110ããŒã[1]ã¢ã¯ãã£ã[eth0]å©çšå¯èœ[eth0]æ§ææžã¿[eth0]
128.0.16.111ããŒã[0]ã¢ã¯ãã£ã[]å©çšå¯èœ[eth0]æ§æ[eth0]
æåã®è¡ã¯ãã³ãã³ããå®è¡ãããçŸåšã®ããŒãã§ãã
Ctdb pnn-ã³ãã³ããå®è¡ãããããŒãçªå·ã衚瀺ããŸã
Ctdb disable-çŸåšã®ããŒããç¡å¹ã«èšå®ããŸã
Ctdbã®æå¹å -ç¡å¹åããã®æ»ã
Ctdb stop-çŸåšã®ããŒããåæ¢äœçœ®ã«ç§»åããŸãïŒã¯ã©ã¹ã¿ãŒãåæ§æãããŸãïŒ
Ctdbç¶è¡ -åæ¢äœçœ®ããæ»ãïŒã¯ã©ã¹ã¿ãŒãåæ§æããŸãïŒ
moveip public_ipããŒãã¯ããããªãã¯IPã¢ãã¬ã¹ãããããŒãããå¥ã®ããŒãã«æåã§è»¢éããŸã
ctdb getdbmap -CTDBããŒã¿ããŒã¹ã®ãªã¹ãã衚瀺ããŸãã
ããŒã¿ããŒã¹ã®æ°ïŒ13
dbidïŒ0x1c904dfdååïŒnotify_onelevel.tdbãã¹ïŒ/var/ctdb/notify_onelevel.tdb.0
dbidïŒ0x435d3410ååïŒnotify.tdbãã¹ïŒ/var/ctdb/notify.tdb.0
dbidïŒ0x42fe72c5ååïŒlocking.tdbãã¹ïŒ/var/ctdb/locking.tdb.0
dbidïŒ0x1421fb78ååïŒbrlock.tdbãã¹ïŒ/var/ctdb/brlock.tdb.0
dbidïŒ0xc0bdde6aååïŒsessionid.tdbãã¹ïŒ/var/ctdb/sessionid.tdb.0
dbidïŒ0x17055d90ååïŒconnections.tdbãã¹ïŒ/var/ctdb/connections.tdb.0
dbidïŒ0xf2a58948ååïŒregistry.tdbãã¹ïŒ/var/ctdb/persistent/registry.tdb.0 PERSISTENT
dbidïŒ0x63501287ååïŒshare_info.tdbãã¹ïŒ/var/ctdb/persistent/share_info.tdb.0 PERSISTENT
dbidïŒ0x92380e87ååïŒaccount_policy.tdbãã¹ïŒ/var/ctdb/persistent/account_policy.tdb.0 PERSISTENT
dbidïŒ0x7bbbd26cååïŒpassdb.tdbãã¹ïŒ/var/ctdb/persistent/passdb.tdb.0 PERSISTENT
dbidïŒ0x2672a57fååïŒidmap2.tdbãã¹ïŒ/var/ctdb/persistent/idmap2.tdb.0 PERSISTENT
dbidïŒ0xe98e08b6ååïŒgroup_mapping.tdbãã¹ïŒ/var/ctdb/persistent/group_mapping.tdb.0 PERSISTENT
dbidïŒ0xb775fff6ååïŒsecrets.tdbãã¹ïŒ/var/ctdb/persistent/secrets.tdb.0 PERSISTENT
ctdb shutdown-ctdbããŒã¢ã³ãåæ¢ããŸãïŒservice stdb stopãšåçïŒ
ã¯ã©ã¹ã¿ãŒç£èŠ
ãã©ã«ãã/ etc / ctdbãã«ã¯ã¹ã¯ãªãããnotify.shãããããŸãã ããŒãã®ãã«ã¹ã¹ããŒã¿ã¹ãå€åãããã³ã«åŒã³åºãããŸãã ããšãã°ãSNMPãã©ãããéä¿¡ãããã管çè ã«é»åã¡ãŒã«ã§ã¡ãã»ãŒãžãéä¿¡ãããã§ããŸãã
ãããã«
ãã®èšäºã§ã¯ãSambaã®å埩åãµãŒãã¹ãã©ã®ããã«æ§æãããŠãããã瀺ããŸããã ããŒãã€ã³ãã¯æ¬¡ã®ãšããã§ãã
- CIFSãPOSIXã»ãã³ãã£ã¯ã¹ã«å€æããããã»ã¹ãäžæããã«ç¹å®ã®ã¡ã¿ããŒã¿ã倱ãå¯èœæ§
- é害ãã¯ã©ã€ã¢ã³ãåŽã«è»¢éãããåŸã®ç¶ç¶çãªäœæ¥ã«å¯Ÿãã責任ã®äžéš
- ã¯ã©ã¹ã¿ãŒããŒãã§éããããã¡ã€ã«ã¯ãé害çºçæã«éããããŸã
- è² è·åæ£ã¯ãè² è·ã«é¢ä¿ãªããã¯ã©ã€ã¢ã³ããã¯ã©ã¹ã¿ãŒã®ç°ãªãããŒãã«é 次ãªãã€ã¬ã¯ãããããšã«ããå®è¡ãããŸãã