Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ä¼è¤ç´ä¹ããã®ããã°ï¼éçºã¡ã¢#5 : Amazon Linux 㧠knife-solo ã使ã£ã¦ chef-solo å®è¡ - naoyaã®ã¯ã¦ãªãã¤ã¢ãªã¼ ï¼ã§chef-soloãç´¹ä»ãããVagrantã¨ä¸ç·ã«ã¡ãã£ã¨ããããã°ã¦ã§ã¼ããå·»ãèµ·ããã¾ããã ããã«æ¨æ¥ãå ¥éChef Solo - Infrastructure as Codeãé人åºçãããçºå£²éå§ãæ¬ãåºçãããåã«ä¸åº¦æ«æããchef-soloã§ããããã®æ¬ã®ãé°ã§chef-soloç«¥è²ãåæ¥ãããã¨ãã§ãã¾ããã ç¶ç·¨ãæ¸ãã¾ããã®ã§ããããããã°ãã¡ããã©ãã ç¶ç·¨ï¼ãããVPSã®åæè¨å®ãChef Soloã§ãã£ã¦ã¿ãããµã¼ããã¼ãã£cookbookã®ä½¿ãæ¹ã | tsuchikazu blog ãªãæ«æãããã¨ããã¨ãChefã®å ¬å¼ããã¥ã¡ã³ãããéãå¤ãã¦ãã¡ããã¡ããããã«ãããã§ããnaoyaããã®
ããã«ã¡ã¯ãã¨ã³ã¸ãã¢ã®é´æ¨ã§ãã ãä»æ´èããªã人ã®çºã® Vagrant åå ¥éãã«å¼ãç¶ããä»å㯠Chef åå ¥éããéããã¾ãã ãã®è¨äºã¯ä»¥ä¸ã®ãããªäººã対象ã¨ãã¦ãã¾ãã ã»Chef ã£ã¦ããããä½ï¼ ã»Chef ã£ã¦ååãèãããã¨ãããã©ã触ã£ããã¨ããªãã Chef ã£ã¦ããããä½ï¼ Chef(ã·ã§ã) ã¨ã¯ Ruby 製ã®ã·ã¹ãã æ§æ管çãã¼ã«ã§ã¤ã³ãã©ã®æ§ç¯ãèªååã§ãã¾ãã ãµã¼ããå¼ã£ããã¨ããã人ãªã誰ãããçµé¨ãã¦ããã¨æããããæé æ¸ãã®ä½æã æé æ¸ããã³ãã³ããã³ãããã¦ãã¦ã¼ã¶ä½æãã¦Webãµã¼ãããã¦DBããã¦ãããã¨ãããã®ããã±ã¼ã¸ãå¿ è¦ã«ãªã£ãããæé æ¸ãå¤æ´ãã¦ãã ã©ãèãã¦ããªããã¹ã®æ¸©åºã«ãªãã¾ãã Chef ã¯ã¤ã³ãã©ããã¹ã¦ã³ã¼ãã§ç®¡çããã®ã§ãGitãªã©ã§ã¤ã³ãã©ã管çã§ãããã¤ã©ãã§èª°ãä¿®æ£ããã®ãåããã®ã§ããã¥ã¡ã³ããæ§ç¯æ
æ¬æ¥ãGoogleãCloud SQLï¼MySQLã®ã¬ã³ã¿ã«ã¿ãããªã®ï¼ã®ç¡æçãçºè¡¨ãã¾ããã500MB/6ã¶æã§Google App Engineãªã©ããç¡æã§ä½¿ããããã§ãã ãã¦ãããã¯ããã¨ãã¦æè¿å¼ç¤¾ãªã©ãå«ããä»æã®ç°å¢ã£ã¦æ¬æ°ã ãã¨è¤éåãã¦ã¾ããããOSCã§çºè¡¨ãããåä½ããã®Muninè³æã31pã¨ï¼ã¤æ»ã£ã¦29pãè¦æ¯ã¹ã¦ã¿ã¦ãã ããï½ Muninã§ã¯ãããå®è·µâ ãªã½ã¼ã¹ç£è¦ã-俺ã®ãµã¼ãããããªã«éãã¯ãããªãããä¹ãåãããã«- from Masahito Zembutsu ãããªã®çµ¶å¯¾ãããããï¼ï¼ NoSQLãéåæå¦çãªã©ãæ§ã ãªæ°ããæè¡ã«ãã£ã¬ã³ã¸ãããã¨æã£ã¦ãã¦ããã©ãããæãä»ãããããã¿ãããªãã¨ã£ã¦ããã¾ããããCassandraãããã®ããªãRedisãããã®ããªï¼ã¿ããã«ã¯ã¦ãã®çããè¨äºãããã°èªãã§ã¿ããã ãã©ãã¤ã³ã¹ãã¼ã«ã¨ãé¢åãã
Apacheã®è¨å®ã§ Order deny,allowã¨ã Satisfy anyã¨ãããªãã ãæå³ãããã人ã®ããã«ãåã¯ãã£ã¨ããã£ã¦ãªãã£ãã åºæ¬ Apacheã®ã¢ã¯ã»ã¹å¶å¾¡ã«ã¯ã ãã¹ãã«ããå¶å¾¡ (Order,Allow,Deny) ã¦ã¼ã¶èªè¨¼ã«ããå¶å¾¡ (Auth*, Require) ã®2éããããã Satisfyã¯ã2éãããã¢ã¯ã»ã¹å¶å¾¡ã®ä¸¡æ¹ãæºããå¿ è¦ããããã©ããã決å®ãããããã©ã«ãã¯Satisfy allãSatisfy anyãªããã©ã¡ããçæ¹æºããã°ããã Order http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html#order Order deny,allowã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ã許å¯ããã Order allow,denyã¯ãå ¨ã¦ã®ãã¹ãããã®ã¢ã¯ã»ã¹ãæå¦ããã Order d
MongoDB使ãã¾ããã£ã¦æã«ããããã¬ããªã«ã»ããã ã®ãã·ã£ã¼ãã£ã³ã°ã ã®ããã¡ãã¡æé ã¨ãæãã¦ããã®ãããã©ããããªã£ãã®ã§ããããè¦ããã³ãã³ãçãªæé ã¯ã²ã¨éãããã¾ãããã ããå¾ã¯èªåã§èª¿ã¹ã¦ããã£ã¦ããè³æãã¤ãã£ã¦ã¿ãã®ã ã ã¨ããããã§ããMongoDBã®ã¯ããã¦ã®éç¨ããã¹ããSlideShareã«ããã¾ããã MongoDBã®ã¯ããã¦ã®éç¨ããã¹ã from Akihiro Kuwano å 容 PDFã«ã¯ã以ä¸ã®æ§ãªå 容ãçãè¾¼ãã§ãã¾ãã ã¤ã³ã¹ãã¼ã« ã¬ããªã«ã»ããæ§ç¯ ã·ã£ã¼ãã£ã³ã°è¨å® åºæ¬çãªãªãã¬ã¼ã·ã§ã³ Statç³»ãã¼ã«ã®è¦æ¹ã ãã ããå¾ã ã«å¤ãæ å ±ã«ã¯ãªã£ã¦ããã¨æãã®ã§ã詳ããæ å ±ããææ°ã®æ å ±ãè¦ããæ¹ã«ã¯å ¬å¼ã®Wikiãªããã½ã¼ã¹ãªãè¦ã¦ããã ãã®ãæ¨å¥¨ãããã¾ãï½ æå³ ä»¥åMongoDBã®èãæ¬ãªã©ããã£ã¦ãããã¯ãããããããããå ¥éã
ãµã¼ãã®åä½ã«ç°å¸¸ãçºçããéã«åå ãæ¢ãããã®Linuxã³ãã³ãã§ãèªåç¨ã®ã¡ã¢ã§ãã å ¨ã¦manã¨ãã°ã°ã£ããåºã¦ããã®ã§èª¬æã¯é©å½ã§ããæãã¤ãããå¾ã§è¿½è¨ãã¦ããããã§ãã 対象ã¯Debian Squeezeã«ãªãã¾ãã å ¨ã¦ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã§ãããã®ã§ãããã±ã¼ã¸å㯠[in packagename] ã¨ãã¦ããã¾ãã åæããã³ã¡ã³ããããã¨ããããã¾ãã è¯ãæ°ãªã³ãã³ãã¯è¿½è¨ãã¦ããã¾ãã ï¼è¿½å ããã³ãã³ãï¼ * telnet (+ã³ã¡ã³ã wget, netcat) * arp (+ã³ã¡ã³ã arpwatch) * pstree * fdisk ã³ã¡ã³ãã« gdisk * host, dig * watch * reboot
ããã«ã¡ã¯ãchatiiã§ããã¡ãã£ã¨ã¾ããã«è¨äºæ¸ãã¾ãã FuelPHPã§ãã£ããï¼chatiiã¨ãã¦ã¯ï¼è¦æ¨¡ã®å¤§ããæ¡ä»¶ãããã®ã§ãéçºç°å¢ãããã£ã¨æ±ºãããã¨æãã¾ããããã®ä¸ã§ãä»ã¾ã§æä½æ¥ã§ããã¤ã¤ããããèªååã§ããã ããã£ã¦ããã¨ããããããä»åãã¾ããã£ãã®ã§ãç´¹ä»ãã¡ãªã¿ã«ãä»åã¯FuelPHPã¯é¢ä¿ãªãã§ãã éçºä¼ç¤¾ããããè¦ããæ®éã®ãã¨ãªãã ãããªããéè¯ããã°ã©ãã¼PHPerã ããããããããã ç°å¢ã»æ¡ä»¶ ã½ã¼ã¹ã³ã¼ã管çã¯GitHub ã²ã¨ããªã®ã«ï¼ã²ã¨ããªã®ã«ï¼ LAMPæ§æ éçºãã·ã³ã«ã¯XAMPP/MAMPãå ¥ãããLinuxã®å ´åã¯yum/aptã§åå¾ã ãµã¼ãã¼ã¯ æ¬çªãµã¼ãã¼ï¼www.hoge.comï¼ ãã¹ããµã¼ãã¼ ï¼hoge.dev.example.comï¼ ãã¹ããµã¼ãã¼ã¯ä»äººãã¢ã¯ã»ã¹ã§ããªãããã«ã ä»ã®ããã¸ã§ã¯ãããã¹ããã¾ã
以åãããã°ã«æ¸ãã¦ä»¥æ¥ãæ´»ç¨ãã¦ããpsshã¨pscpãªãã§ããã ä»å±ã³ãã³ãã®pslurpã«ã¤ãã¦ã¯ãã£ããå¿ãã¦å ¨ãå©ç¨ãã¦ããªãã£ããã§ããã ååã®åºèº«ãããçµæ§æ´»ç¨ãã¦ããã¨ããã®ãèãã¦ãæ¹ãã¦ä½¿ã£ã¦ã¿ãã¨å¤§å¤ä¾¿å©ï¼ Parallel sshã§è¤æ°ã®ãã¹ãã¸åæã«ã³ãã³ããå®è¡ãã | Glide Note - ã°ã©ã¤ããã¼ã ç°å¢ã¯SL6.1ã§ãã pslurpã®ä½¿ãã©ãã è¤æ°ã®ãµã¼ãããaccess.logãªã©ã®ãã°ãmy.cnfã¨ãã£ãè¨å®ãã¡ã¤ã«ãªã©ã®ååãã¡ã¤ã«ãæã£ã¦ããå ´å DNSã©ã¦ã³ãããã³ãããã¼ããã©ã³ãµãå©ç¨ãã¦ãã¦ã¢ã¯ã»ã¹ãã°ãåæ£ãã¦ããå ´å é常ä½ãèããscpã¨ãã§æã£ã¦ããã¨ãã¡ã¤ã«ãä¸æ¸ãããã¦ãã¾ãã®ã§ã ãã¹ãæ¯ã«ãã¡ã¤ã«ãåãã¦ç®¡çãããå ´åã«pslurpãæ´»èºãã¾ãã pipãå©ç¨ãã¦psshã®å°å ¥ 2012å¹´ãªãã§easy_i
iperf ã¯ããããã¯ã¼ã¯ã«TCP/UDPã®ãã©ãã£ãã¯ãéä¿¡ãããã©ã¼ãã³ã¹ã測å®ãããã¼ã«ã§ãããã使ã£ã¦èªå® ã®ãããã¯ã¼ã¯é度ã診æããäºãã§ãããiperf ã¯Linuxã®ãªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éããã¦ãããWindowsçã®å®è¡ãã¡ã¤ã«ãç¡åã§ãã¦ã³ãã¼ãã§ããã jperf ã¯ãiperf ã« Java ã§GUIã追å ãããã®ã§ãããã«ä½¿ãããããªã£ã¦ãããããããWindows 7 ã§ã¯Java ãã¤ã³ã¹ãã¼ã«ããã ãã§ã¯ãã¡ã§ãpath ãè¨å®ããªããã° ã'javaw 'ãè¦ã¤ããã¾ããããã¨è¡¨ç¤ºãããã®ã§ã¡ãã£ã¨æ©ã¿ã¾ãããã»ã»ã» iperf ã¯ã2å°ã®PCéã§é度ã測å®ããã½ããã¦ã§ã¢ã§ãçæ¹ããµã¼ããçæ¹ãã¯ã©ã¤ã¢ã³ãã«è¨å®ãã¦æ¸¬å®ããã¾ããä»åã¯ãWH-G300DR ã®LANã«æ¥ç¶ããPC(PhenomII 955 3.2GHz)ããµã¼ãã«è¨å®ãã¦ãNotePC
ããããæ¹æ³ãããã¨ãããã®ã§ããã以ä¸ã®ãããªã·ã§ã«ã¹ã¯ãªããã§ãã¾ããã®ã¯ã©ãã§ãããã? #!/bin/bash function kill_children { # jobs -l | perl -ne 'print "kill $1\n" if /^\S+?\s+(\d+)/' | sh; pkill -P $$; wait; } trap "kill_children" EXIT HOSTS="192.168.1.1 192.168.1.2" for host in $HOSTS do ssh $host tail -F /service/foo/log/main/current & done wait ã¡ãã£ã¨ç®æ¡æ¸ãã§è§£èª¬ããã¨ä»¥ä¸ã®ãããªãã¨ããããªã£ã¦ãã¾ãã & ã§ããã¯ã°ã©ã¦ã³ãã¸ã§ããã¯ããããwait ã§ãããã®çµäºãå¾ ã¤trap ã EXIT 㯠atexit
Zoff PCã®ã«ã©ã¼ã¿ã¤ãç¼é¡ãæç¨ãã¦ããã¤ã³ãã©å ¼ã½ããã¦ã§ã¢ã¨ã³ã¸ãã¢ã®bokkoã§ãã å¤ä¼ã¿ã¯å±±ç»ã -> 温æ³ã§æ ã èªé©ã«éããã¦ã¾ããããä¼ã¿æãããçèçã§ä½ã®ãã¡ãã¡ãçãã§ã(><)ã ä»åã¯pixivã§æ´»ç¨ãã¦ãããã¼ã¿ã¹ãã¢ããã®å¨è¾ºããã«ã¦ã§ã¢ã®è©±ã3åãããã«åãã¦ãããã¨æãã¾ãã pixivãæ¯ãããã¼ã¿ã¹ã㢠pixivã§ã¯ä¸»ã«ä»¥ä¸ã®2ã¤ããã¼ã¿ã¹ãã¢ã¨ãã¦æ´»ç¨ãã¦ãã¾ãã MySQL KyotoTycoon MySQL pixivã§ã¯ã¦ã¼ã¶ãã¤ã©ã¹ããããã¯ãã¼ã¯ããããã¯ãããã«é¢é£ããæ å ±ã¨ãã£ããµã¼ãã¹ã®æ ¹å¹¹ã«é¢ãããã¼ã¿ã¯MySQLã«ä¿åãã¦ãã¾ãã ããã¯MySQLã®é«ãä¿¡é ¼æ§ã®ã»ãã«ããã¯ã·ã社å ã§MySQLã®éç¨ã«é¢ãããã¦ãã¦ãèç©ããã¦ããããèªä½ã®éç¨ãã¼ã«ç¾¤ãå å®ãã¦ããã¨ããã®ã大ããªçç±ã§ãã KyotoTycoon Kyot
Websecurifyã¯ä¸»ç«ã£ãWebãµã¼ãã«ãããã»ãã¥ãªãã£ãã§ãã¯ãèªååãã¦ãããã½ããã¦ã§ã¢ã§ãã Webãµã¤ããå·¡ãã»ãã¥ãªãã£åé¡ã¯å¤ã ããã¾ããèªååããã¦ããæ»æã½ããã¦ã§ã¢ããããã¡ãã£ã¨ããæ²¹æã§ä¸æ°ã«éè¦ãã¼ã¿ãå¼ãæãããããéã«ç ´å£ããã¦ãã¾ãå¯è½æ§ãããã¾ãããããäºåã«ç¢ºèªãã¹ã使ã£ã¦ããããã½ããã¦ã§ã¢ãWebsecurifyã§ãã ã¡ã¤ã³ç»é¢ã§ãã ãã¹ããè¡ãURLãå ¥åãã¾ããå®è¡åã«ç¢ºèªãåºã¾ãã ãã¹ãã®å®è¡ä¸ã§ãã å®äºãã¾ããã ã¬ãã¼ãç»é¢ã§ã¤ã³ã·ãã³ãã®è©³ç´°ã確èªã§ãã¾ãã Websecurifyã¯ä»£è¡¨çã¨è¨ããã»ãã¥ãªãã£ãã§ãã¯ã«ã¤ãã¦èªåã§è¡ã£ã¦ããã¾ããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ããã¼ã«ã«ãã¡ã¤ã«ã®èªã¿è¾¼ã¿ãã¯ãã¹ãµã¤ãã¹ã¯ãªããã£ã³ã°ãCSRFãªã©å¤å²ã«ãããã¾ãããµã¼ãã®ç¨®å¥ãå¤æããä¸ã§ããæ¹ãå¤ããã®ã§ããã確度ãé«ããªãã¾ã
shell script ã¯æ®æ®µããã¦éãããã¨é¡ã£ã¦ãã¾ãªãããã§ããããã¾ã«ã¯æ¸ããªãã¨ãããªããã¨ãããã®ã§ãããããã¨ãã¯è¦ãã¦ããã¨ä¾¿å©ãª tips ã2ã¤ã autodie ã£ã½ãããset -eã¨ããã¨ãã³ãã³ãã®å®è¡ã«å¤±æããã¨ãã«ããã§å®è¡ãã¨ã¾ãã®ã§ä¾¿å©ã #!/bin/sh set -e perl -e 'die' echo SHOULD NOT REACH HEREã¨ãã㨠% ./hoge.sh Died at -e line 1. % echo $? 255ã¨ãªã£ã¦ãæå¾ã¾ã§ãããã«æ»ã«ã¾ãã è¤æ°ã®ã³ãã³ããé çªã«å®è¡ããã¨ãã«ä¾¿å©ã ãªãã以ä¸ã®ãããªæåããããã ããã§ãã ãã ã失æããã³ãã³ãã until ã¾ã㯠while ã«ã¼ãã®ä¸é¨ã§ããã if æã®ä¸é¨ã§ããã && ã¾ã㯠|| ãªã¹ãã®ä¸é¨ã§ããã ã³ãã³ãã®è¿ãå¤ã ! ã§å転ããã¦ã
(ã¿ã¤ãã«ã¯é£ãã§ã) ããå æ¸ã>/dev/null 2>&1ã¨æ¸ãã®ãããããã©ãã - DQNEOèµ·æ¥æ¥è¨ ãã®è¨äºã®ã¿ã¤ãã«ã twitter ã§æµãã¦ããã®ãè¦ã¦ããããã ï¼åºåã /dev/null ã«æ¨ã¦ããªãã¦ã¨ãã§ããªãããï¼ãã¨æã£ã¦ããèªãã ã /dev/null ã«ééããªãæ¨ã¦ãæ¹æ³ã ã£ãã®ã§ã¤ã crontabã« > /dev/null æ¸ãããæ¤ åæãã 2012-06-13 00:01:17 via YoruFukurou ã¨ã¤ã¶ããã¦ãã¾ã£ãã®ã§ãããã§ã¯åºåãæ¨ã¦ãªãããã«ã¯ã©ãããã°ããã®ããç¾æç¹ã§ã®å人çãã¹ããã©ã¯ãã£ã¹ãæ¸ãçãã¦ããã¾ãã ããã©ã«ã : ã¡ã¼ã«ã§éã (MAILTO) ãã£ãã cron daemon ããã°ãæ¨ã¦ãªãããã«ããããã¡ã¼ã«ã§éã£ã¦ãããã®ã«ãããã > /dev/null ã§è¸ã¿ã«ããã¨ã¯ã²ã©ãã ã¨ã¯ããã
ã¡ããã©ï¼å¹´åã«ãé«è² è·ãµã¤ãã®ããã«ããã¯ãè¦ã¤ããã«ã¯ãã¨ããè¨äºãæ²è¼ãã¦ãã¾ããããã®æã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ã£ã¦çµæ§å¤§å¤ã§æ©ã¾ããã§ããããã¯ããã¾ãã¦ãæ°å ¥ãã®@pandax381ã§ãã ãã°ããã¯è¦ãã¦ããªããã® ããµã¤ãã®å¿çãé ããã¨ããåé¡ãçºçããå ´åããã®åå ã¯ã©ãã«ããã§ããããã Webã¢ããªã±ã¼ã·ã§ã³ã®å¦çã«æéãæãã£ã¦ãã DBãµã¼ãã«æããã¯ã¨ãªã¼ã®å¿çãé ã ãµã¼ãã®å¦çè½åãè¶ ãã¦ãã ãªã©ãªã©ãããã¤ãã®å¯è½æ§ãããã¾ããé常ãä¸ã«æãã¦ãããããªåé¡ã¯ãã¢ããªã±ã¼ã·ã§ã³ããµã¼ãã®ãã°ã調æ»ãããã¨ã§ãåå ãçªãæ¢ãããã¨ãã§ãã¾ãã ä¸æ¹ã§ããããã£ããã°ã®èª¿æ»ã ãã§ã¯ããã®åå ã«ãã©ãçããã¨ãã§ããªãã£ãããç¸å½ãªè¦å´ãä¼´ãã±ã¼ã¹ãããã¾ãã ãããµã¤ãã®ããæ¥ã®åºæ¥äº ã¤ãå æ¥ã®ãã¨ã§ãããKLabã®éå¶ãã¦ããæã½ã¼ã·ã£ã«ã²ã¼ã ã«ã¦ããµ
ã¯ããã« ã¢ã¯ã»ã¹ãæ¥å¢ããã¨ãå¿çæéãèããæªåãããµã¤ãã¯ããã¾ãããï¼ æ®æ®µã¯200ããªç§ä»¥å ã§å®å®ãã¦ã¢ã¯ã»ã¹ããã°ãã¦ããã®ã«ãã¤ãã³ããããã£ã³ãã¼ã³ãããéå§ããç¬éãããæ®æ®µã®ï¼åãï¼åã®ã¢ã¯ã»ã¹ã殺å°ãããã®çµæãã¬ã¹ãã³ã¹ã¿ã¤ã ã3ç§ã¨ã9ç§ã¨ããããããã«ãªã£ã¦ãã¾ããã¨ã£ã¦ããã¾ãããã ãããµã¤ãã®å®ç¶ ã¤ãå æ¥ã¾ã§ããããªãµã¤ããç§ã®ç®ã®åã«ãããã¾ãããèªç¤¾ã§éå¶ãã¦ããæã½ã¼ã·ã£ã«ç³»ã®ãµã¤ããªãã§ãããã¤ãã³ãéå§æå»ã¨åæã«ã¢ã¯ã»ã¹æ°ãæ¥å¢ããã®ã§ããã¨ã¯ãããæè©®ã¯æ®æ®µã®2åã¨ã3åç¨åº¦ã®æ°ãªã®ã ãããå°ãªãã¨ã1ç§ä»¥å ã«ã¬ã¹ãã³ã¹ãè¿ãããããã®æ§è½ã¯ç¶æããããã®ã§ãã ãããå®éã¯å°ã£ããã¨ã«ãå¿çã«3ç§ä»¥ä¸ãããã£ã¦ãã¾ãå¦çã大éã«çºçãã¦ãã¾ãç¶æ³ã«é¥ã£ã¦ãã¾ã£ã¦ãã¾ãããããã¯ãã£ã¨ãã©ããã«ããã«ããã¯ãããã«éãããã¾ããã 仮説ãç«
2. ããã ⺠ãããã ⺠ã¯ã©ã¤ã¢ã³ã(ssh/scp)ã®è©± ãã¼ã転éã®è©± å¤æ®µssh ãã®ä»ã®è»¢éã®è©±ã»ä»ã®ãªãã·ã§ã³ ⺠ãµã¼ã(sshd)ã®è©± ⺠ã¡ãã£ã¨ããçå ⺠ã»ãã¥ãªãã£ã®è©± ⺠ã¾ã¨ã 2 / 62 5. RFC RFC 4250 The Secure Shell (SSH) Protocol Assigned Numbers RFC 4251 The Secure Shell (SSH) Protocol Architecture RFC 4252 The Secure Shell (SSH) Authentication Protocol RFC 4253 The Secure Shell (SSH) Transport Layer Protocol RFC 4254 The Secure Shell (SSH) Connection Protocol RF
MySQLã§ãã¬ããªã±ã¼ã·ã§ã³ãã¼ã¹ã®HAãªæ§æã«ã¤ãã¦èããã¡ã¢ã§ãã 3å°(ã¨ããã2å°ï¼1å°)ãããããªãã¨æã£ã¦ãã¦ãååã¯ãã®çç±ããå¾åã§ã¯{ãã¹ã¿,ã¹ã¬ã¼ã}ã{åèµ·ä¸è½ã«ãªã£ã,ã¡ãã£ã¨ãã¦ã³ãã¦ãã復帰ãã}å ´åã®ãªã«ããªãã©ã³ã«ã¤ãã¦æ¸ãã¾ãã ä»ã®ã¨ããã¯ããããã¹ãããªã¨æã£ã¦ããã®ã§ããããããããã»ããããã¨æãï¼ãããããããããï¼ããªã©ãªã©ã®ãæè¦ã¯ã³ã¡ã³ããTBãªã©ã§ããã ããã¨ããããã§ãã ã´ã¼ã« ãã¹ã¿ãè½ã¡ã¦ããã¼ããå¯ã¦ããããããã«ããã ãªã«ããªã®ä½æ¥ã¯ã§ããã ãåç´ã«ããã¤ãçæéã§å®äºããããã«ããã ããã©ãããã®ã¯ãã åºæ¬æ§æãæ¹é 2å°ï¼1å° ãµã¼ãã¹ã§ä½¿ãã®ã¯2å° (db1, db2) ãã1å°ã¯ç®¡çç¨ (db3) ã¹ã¬ã¼ããå¤æ°ä¸¦ã¹ãæ§æã«ã¯ããªã å°æ°å¢ããã¨ç®¡çã³ã¹ããä¸ãã ãã¹ã¿ãã¦ã³æã®ãã§ã¤ã«ãªã¼ãã¨ãã®ãã§ã¤ã«ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}