Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
7. è² è·è©¦é¨å¯¾è±¡ã·ã¹ãã å ¨ä½å ã¯ã©ã¦ãä¸ã§ã¹ã±ã¼ã«å¯è½ãªã·ã¹ãã ãæ§æ Elastic Load Balancing Availability Zone Availability Zone RDS DB instance RDS DB instance standby (Multi-AZ) EC2 instance web app server EC2 instance web app server EC2 instance web app server EC2 instance web app server ⢠LAMPæ§æã®ã·ã¹ãã ⢠WEBã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¯LBã®å¾ãã«è¨ ç½®ããã¦ãã â¢ å ¨ã¦AZï¼ãã¼ã¿ã»ã³ã¿ã¼ï¼ãã¾ããã å½¢ã§è¨ç½® ããåä¸é害ç¹ã¯ãªã ⢠ãã£ãã·ã¥ãå©ç¨ ⢠DBã¯ã¹ã±ã¼ã«ã¢ããã§å¯¾å¿ ElastiCache ElastiCache
ããã«ã¡ã¯ãæè¤ã§ãã æè¿ãDockerãªã©ã®ã³ã³ããåä»®æ³åæè¡ãChef, Ansible, Itamae ãªã©ã«ããITã¤ã³ãã©æ§ç¯ã»éç¨èªååæè¡ã®å©ç¨ãé²ãã§ãã¾ããä¸æ¹ã§ãä½å¹´ãåãã¦ãæ´å²ããç©ã¿éãã¦ããã·ã¹ãã ãæ°å¤ãããã¾ããããã¦ãç§ãå«ãã¦ãããã®éç¨ã«é¢ããäºãããã§ãããããããªãæ´å²ãã®ããã·ã¹ãã ããä½ã¨ãéç¨ãå¹çåãããã¨æãäºãããããããã¾ããã ä»æ¥ã¯ããããã¸ã§ããè¤æ°ãµã¼ãã«å¯¾ããéç¨ãå¹çåããRundeckãåãä¸ãã¾ãããä½ãã§ããã®ï¼ããã¯ãããããããã¦ãå©ç¨æã®çæç¹ãã®3ç¹ã«ã¤ãã¦ã話ããã¾ãã â»OSã¯CentOS 6ç³»ãRundeck ã¯ãã¼ã¸ã§ã³ 2.4.0ãJava VM 㯠Oracle JDK 1.7.0_72 ãå©ç¨ãã¦ãã¾ãã cronãLinuxç³»OSã«æ¨æºæè¼ããã¦ããã¸ã§ãã¹ã±ã¸ã¥ã¼ã©ã§ããæ¨æºã§ä½¿ãããã
ã¯ããã« ãµã¼ããéç¨ãããç°å¢ãæ§ç¯ããããã¦ãã¦ãããããã®ããã»ã¹ã§åãã¦ããã°ã©ãã ã£ãã»ã»ããªã©å°ãã¨ããããã¾ãã ãããªã¨ãã«é ¼ãã«ãªããããããªãã³ãã³ãã 3ã¤ãç´¹ä»ãã¾ãã @madeth 師å ã«æãã¦ããã ãã¾ããã 1. proc ã§ããã»ã¹ã使ã£ã¦ãããã¡ã¤ã«ãè¦ã å°ã£ãã㨠ããã»ã¹ã®åããã°ã®ãã¹ãã©ããã¦ãåãããªãã»ã»ã è§£æ±ºæ³ (ç·¨é 2014/09/10) ç¥ãããããã»ã¹ã® ID ã調ã¹ã¾ãã $ ps aux | grep unicorn deploy 3335 xxx xxx xxx xxx X XX 15:14 0:07 unicorn master -c /var/www/myproject/unicorn/staging.rb -E staging -D ããã»ã¹ID (ãã®å ´å㯠3335) ããã¨ã« root 権éã§ãã¡ã¤ã«ãã£ã¹ã¯ãª
ãµã¼ãç£è¦ã«è¶ 使ãããtopã³ãã³ãã®ã¾ã¨ã ãµã¼ããéç¨ãã¦ããã¨ãã使ãtopã³ãã³ãã§ãããæ¨æºã®top以å¤ã«ãè²ã 便å©ãªãã®ãããã®ã§ã¾ã¨ãã¦ã¿ã¾ããã ããã«ããã¯ã¨ããã°ããããã¯ã¼ã¯ããã£ã¹ã¯IOãã¹ã¯ãããCPUãã¡ã¢ãªã¨ãã£ããã®ãé¢é£ãã¾ããããã¼ã«ã§è¦è¦åãããã¨ã§ããåããããã対çãã¨ãã¾ããã htop ãã¡ãããé常ã®topãããããã«å¤æ°ã®æ å ±ã表示ãã¦ããããã¼ã«ã CPUãã¡ã¢ãªã®ç¶æ ãè¦è¦çã«ã°ã©ãã§è¡¨ç¤ºããã¦ããããè¤æ°CPUãããå ´åãããããã«å©ç¨çã表示ãã¦ããã¦ããããããã§ãã pstreeã§è¡¨ç¤ºãããããªããªã¼+topã³ãã³ãã®ãããªè¡¨ç¤ºã t ãæ¼ãã°åãæ¿ãããã¾ãã å ¬å¼ãµã¤ãä¸ã«ãã128ã³ã¢ç©ãã ãã·ã³ã®htopçµæãé¢ç½ãã 次ã®ããã«ãã¹ã¦ã°ã©ãã§è¡¨ç¤ºããã¦ããããã128ã³ã¢ãã£ãã¨ãã¦ãç¬æã«è² è·ãææ¡ã§ãã¾ããã io
Tomcat 7 ã§ã¯ã©ã¹ã¿ãçµãéãããã©ã«ãã®server.xmlã®Clusterãã³ã¡ã³ãã¢ã¦ããã¦è¨å®ãããã¨æã£ããå¦ãªãã°ãåºããå¾®å¦ã«ããã£ãã Feb 07, 2013 10:26:51 PM org.apache.catalina.ha.deploy.FarmWarDeployer start SEVERE: FarmWarDeployer can only work as host cluster subelement!ãã? ã¨æã£ã¦è¦ãã¨ãããã©ã«ãã®é å¸ç©ã®server.xmlã§ã¯Cluster㯠ã®è¦ç´ é¢ä¿ã§ã以ä¸ã®ããã«æ¸ããã¦ã³ã¡ã³ãã¢ã¦ãããã¦ããã <!-- <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> -->ããããClustering/Session Replic
Immutable Infrastructureã¯ã¢ããªã±ã¼ã·ã§ã³ã®ã¢ã¼ããã¯ãã£ãå¤ãã¦ãããä¼è¤ç´ä¹æ°ï¼åç·¨ï¼ ä»®æ³åãã¯ã©ã¦ããåºç¤ã¨ããæ°ããã¤ã³ãã©ã®èãæ¹ã§ãããImmutable Infrastructureãã注ç®ããã¦ãã¾ãã3æ25æ¥ããã®Immutable Infrastructureããã¼ãã«æ¸è°·ã®DeNAãªãã£ã¹å¤§ä¼è°å®¤ã§éå¬ãããåå¼·ä¼ãImmutable Infrastructure Conference #1ãã¯ã150人ã®å®å¡ã«400人以ä¸ãç³ãè¾¼ã人æ°ã¶ãã§ããã ããã¾ã§ã®Immutable Infrastructureã«é¢ããè°è«ã¯ããã«ãããã¤ãªã©éç¨ã¨ã¤ã³ãã©å¨ãã®è©±é¡ãä¸å¿ã§ããããæåã®ã»ãã·ã§ã³ã§ç»å£ããä¼è¤ç´ä¹æ°ã¯ãImmutable Infrastructureãçµæçã«ã¢ããªã±ã¼ã·ã§ã³ã¢ã¼ããã¯ãã£ã«ã大ããªå½±é¿ãä¸ãããããã¢ããªã±
MySQL Performance Blogã®ç¿»è¨³ãã¤ã³ã¹ãã¼ã«å¾ã«å¿ ãè¨å®ã確èªããªããã°ãªããªãè¨å®ãã©ã¡ã¼ã¿10ã¤ãæãããã®æå³ã解説ãããMySQLã®è¨å®å¤æ´æã®ãä¸è¬çãªæ³¨æç¹ãåããã¦ã January 28, 2014 By Stephane Combaudon æã ãããã©ã¼ãã³ã¹ç£æ»ã®ä»äºãããæã«ã¯ãMySQLã®è¨å®ã®ã¬ãã¥ã¼ã¨æ¹åææ¡ãæ±ããããã大æµã®å ´åãããããã®ãªãã·ã§ã³ãããä¸ã§ã»ãã®ããã¤ãã®è¨å®ããå¤æ´ããããã«ææ¡ããªããã¨ã«ãå¤ãã®é¡§å®¢ã¯é©ãããã®è¨äºã®ã´ã¼ã«ã¯ããã£ã¨ãéè¦ãªè¨å®ãããã¤ãæãã¦ã¿ããã¨ã«ããã æ¢ã«ãããã£ãææ¡ã¯éå»ã«ããã¦ãããæ°å¹´åã®ãã®ã§ããã以æ¥MySQLã®ä¸çã§ã¯ããããã®å¤åããã£ãã®ã ã 話ã®åã« çç·´ãã人ã§ããé大ãªãã©ãã«ãå¼ãèµ·ãããã¹ããã§ãããã¨ããããå¾ã£ã¦ãããã«æãããã®ãç²ç®çã«é©ç¨ããåã«ã
ã¤ã³ãã©æ å½ã®æ± ç°ï¼@mikedaï¼ã§ãã tmuxã使ãåãã¦1å¹´ãããã«ãªãã¾ããã ä»æ¥ã¯tmuxã®ãæ®æ®µã®ãªãã¬ã¼ã·ã§ã³ã§ãã使ã£ã¦ãæ©è½ãç´¹ä»ãã¾ãã è¤æ°ãµã¼ãã§åæãªãã¬ã¼ã·ã§ã³ tmuxã«ã¯ãã¼å ¥åãå ¨ã¦ã®paneã§åæããæ©è½ãããã¾ãã ãã®æ©è½ã使ã£ã¦è¤æ°paneã§ããããå¥ã®ãµã¼ãã«sshãã°ã¤ã³ããã¨ã è¤æ°ãµã¼ãã«åãã³ãã³ããæã£ããã å 容ãåãè¨å®ãã¡ã¤ã«ã§ããã°viã§åæç·¨éããããã§ãã¾ãã åæãã/ããªãã¯ã³ãã³ãã§ãåãæ¿ãããã¾ããã set-window-option synchronize-panes on set-window-option synchronize-panes off tmux.confã«ã·ã§ã¼ãã«ãããè¨å®ãã¦ããã¨ä¾¿å©ã§ãã bind e setw synchronize-panes on bind E setw sy
ã¯ããã¦ã®ããã VPS + CentOS ã®åæè¨å®ãããã¥ã¼ãã³ã°ãªã©ã®ä½æ¥ã¾ã¨ãã§ä¸è¬çãªãµã¼ãã¼ã®è¨å®æ¹æ³ãç´¹ä»ãã¾ãããããããã®VPS ã®è¨å®ã®ä¸ã§ APC ã®å ¥ãæ¹ã nginx ã®å ¥ãæ¹ãªã©ã¯è©¦ããªãã£ãã®ã§è¿½è¨ã¨ãã¦ã¡ã¢ãã¦ããã¾ãã ä»åã以ä¸ã®è¨äºãåèã«ããã¦é ãã¾ãããããã«å ¨ã¦ãããã®ã§ç§ã®è¨äºã§ã¯ä½æ¥ãã·ã³ãã«ã«ç´¹ä»ãã¦ããã¾ããããã«æ¸ãã¦ãªãç©ã«ã¤ãã¦ã¯ãã®è¨äºã§æ¸ãã¦ã¿ã¾ãã ã¦ã§ãéçºè ã®ããã®ã1æéã§ã§ããLAMPç°å¢æ§ç¯è¡ï¼CentOSç·¨ï¼ â ãããã¤ã³ã¿ã¼ãããåµæ¥æ¥è¨ CentOS 5.6 ã¸ã¢ããã°ã¬ã¼ããã ããã VPS ã¯ãã®ããã°ãæ¸ãã¦ããç¾æç¹ã§å¥ç´ããç¶æ ã 㨠CentOS 5.5 ãã¤ã³ã¹ãã¼ã«ããã¦ãã¾ãããã®ãã CentOS ã 5,6 ã«ã¢ãããã¼ããã¾ãã ã¾ãèªåã®ç°å¢ã CentOS 5.5 ãªã®ãã調ã¹ã¾ã
æè¿å¦ç§ã®å人3人ã¨ãµã¼ã/ã»ãã¥ãªãã£ã«ã¤ãã¦ã®åå¼·ä¼ãé±1ã§è¡ã£ã¦ãã¦ãæ¯åä½ã調ã¹ã¦ãããã¨ã«ãªã£ã¦ãããä»å㯠apache ã®è¨å®ã«ã¤ãã¦å°ã調ã¹ã¦ãã¾ãããåå¿è ãã¾ã¨ããã®ã§ééã£ã¦ããé¨åãããããããã¾ããããåå¼·ã®å½¹ã«ç«ã¦ã¦é ããã°å¹¸ãã§ãã httpd.confã¯ã©ãã«ããï¼ æå°éã®httpd.conf 3ã¤ã®ã»ã¯ã·ã§ã³ ã»ã¯ã·ã§ã³1: GlobalEnvironment ã»ã¯ã·ã§ã³2: MainServerConfiguration ã»ã¯ã·ã§ã³3: VirtualHosts ã¢ã¸ã¥ã¼ã«ã®è¿½å å¤é¨è¨å®ãã¡ã¤ã«ã®èªè¾¼ã¿ ãµã¼ããªã½ã¼ã¹ã®ç£è¦æ¹æ³ httpd.confã¯ã©ãã«ããï¼ OSã«ãã£ã¦ç°ãªãã¾ããã以ä¸ã®é層ã«ç½®ãã¦ããå¯è½æ§ãé«ãã§ãã CentOSãFedoraãªã©Red Hatç³» /etc/httpd/conf/ SUSEç³»ãMacOSX /etc/a
ãããã®VPSã試ãã¦ãã¾ãããã ãåå.comã§åå¾ããç¬èªãã¡ã¤ã³ãå²ãå½ã¦ãæ¹æ³ãããããããªãã£ããã ãã¡ã¤ã³è¨å®ã«IPãç»é²ã§ããããããã§ããã©ã ãåå.comã®å ´åãã¼ã ãµã¼ãã¼ç»é²ããã§ããªããããªããã 試è¡é¯èª¤ï¼ã¨ããã»ã©ã§ã¯ããã¾ããã試ãã¦ã¿ã¦ã§ãã¾ããã â ã¾ããã¬ã³ã¿ã«DNSã¬ã³ã¼ãè¨å®ã§ããã¹ãåãTYPEãVALUEï¼IPï¼ããè¨å®ã *.hoge.comãAã59.106.***.***ï¼ãããã®VPSã®IPï¼ åã®å ´åããµããã¡ã¤ã³ç¡ãã使ãã®ã§è¿½å 㧠hoge.comãAã59.106.***.***ï¼ãããã®VPSã®IPï¼ â ããã§è¨å®å¾ããã¡ã¤ã³ã®ãã¼ã ãµã¼ãã¼ãå¤æ´ ãã©ã¤ããªï¼ã01.dnsv.jp ã»ã«ã³ããªï¼ã02.dnsv.jp ã«å¤æ´ã ããã§ã¨ããããããããã¿ããã§ãã BINDã§ããããè¨å®ãã¦DNSè¨ç½®ããæãããã®ããªï¼
å æ¥ãWeb ãµã¼ãåå¼·ä¼ #2 ãéããã¾ãããå 容ã¯ãApache ã®ãã¥ã¼ãã³ã°ã¨ãããã¨ã§ãåå ãããã£ãã®ã§ãããä»ã®äºå®ããã£ã¦åå ã§ãã¾ããã§ããã ããã§ãåãå人çã«è¡ã£ã¦ãã Apache ã®ãã¥ã¼ãã³ã°ãç´¹ä»ãããã¨æãã¾ããæåãã¹ã©ã¤ãã§ä½æããããã¨æã£ãã®ã§ãããããã°ã«ã¾ã¨ããã»ãããããããªã®ã§ããã°ã«ã¾ã¨ãã¦ããã¾ãã ã¾ãã大åæã¨ã㦠Apache ããã¥ã¼ãã³ã°ããããã§ã大äºãªãã¨ã¯ãã® Apache ãæä¾ãã Web ãµã¼ãã¹ã®ç¨®é¡ã®ãã£ã¦å¤§ãããã¥ã¼ãã³ã°ããå 容ãç°ãªãã¨ãããã¨ã§ããä¾ãã°ãåç»ã»åçå ±æãµã¼ãã¹ã¨æ ªä¾¡æ å ±ã®ãµã¼ãã¹ãæ¯è¼ããã¨ãå½ç¶ã®ãã¨ãªãã大ãããµã¼ãã¹ã®å 容ãç°ãªãã¾ãããHTTP ã¬ãã«ã§ã¿ãã¨ã¯ã©ã¤ã¢ã³ãããã®ãªã¯ã¨ã¹ãæ°ããã¼ã¿ãµã¤ãºããªã©ãããªãéã£ã¦ãã¾ãã ã§ãã®ã§ãã¾ãã¯èªåãæ±ã£ã¦ããã¦ã§ããµã¼ã
Design paper of the home serverï¼å ¬éçï¼ æ¬æ¸ã§ã¯ãèªå® ãµã¼ãã®è¨è¨ã¨æ§ç¯ã«ã¤ãã¦è¿°ã¹ãã Design paper of the home server ã´ã¼ã« ã¢ã¼ããã¯ã㣠ã¤ã³ãã©ã¹ãã©ã¯ãã£ãã¶ã¤ã³ ãããã¯ã¼ã¯ ãµã¼ã ã½ããã¦ã§ã¢ã¹ã¿ã㯠ãã¡ã¤ã¢ã¦ã©ã¼ã« å ±éåºç¤ DNS ã¡ã¼ã«éä¿¡ ãã°ç®¡ç èªè¨¼ ãã¡ã¤ã«å ±æ managementï¼VMãã¤ãã¼ãã¤ã¶ï¼ ã¹ãã¬ã¼ã¸ ã«ã¡ã©ç£è¦ VMã²ã¹ãä»æ§ lisaï¼å ¬éWebãµã¼ãï¼ å¤é¨å ¬éWebãµã¼ã ushaï¼å ±éåºç¤ãµã¼ãï¼ ã¤ã³ããªã¡ã³ãã¼ã·ã§ã³ å ±éä»æ§ NFSãã¦ã³ã ãã°ç®¡ç...
ããã«ã¡ã¯ãã¤ã³ãã©ãã¼ã ã® ebisawa ã§ãã ä»åã¯ã°ãªã¼ã®ã¤ã³ãã©ã«ãããå種æ©å¨ã®ç£è¦ãã©ã®ããã«è¡ããã¦ããã®ããç´¹ä»ããã¦ããã ãããã¨æãã¾ããä¸è¬ã«ãµã¼ãã®ç£è¦ã¨ããã¨ãã·ã¹ãã ãã¦ã³ãæ¤åºããããã®æ»æ´»ç£è¦ãæå³ããå ´åã¨ããããã¯ã¼ã¯ãã©ãã£ãã¯çã®ã¢ãã¿ãªã³ã°ã®ãã¨ãæå³ããå ´åã¨ãããã¾ããä»åã®ç£è¦ã¯ç¹ã«å¾è ã«ã¤ãã¦ã®ã話ã§ãã大è¦æ¨¡ãªã¤ã³ãã©ã®ç£è¦ã«ã¯ããã¯ãç¹æã®èª²é¡ãããã¾ãã ã©ããªãã¼ã«ã使ã£ã¦ããã®ã ã°ãªã¼ã§ã¯ãµã¼ãã®å種ãªã½ã¼ã¹ä½¿ç¨ç¶æ³ãã¢ãã¿ãªã³ã°ãã¦ã°ã©ãåããããã®ãã¼ã«ã¨ãã¦ãCacti ãå©ç¨ãã¦ãã¾ããCacti ã¯ã大å¤æåãªãã¼ã«ãªã®ã§çæ§ãåç¥ãã¨æãã¾ãããããã¯ã¨ã³ãã® RRDtool ã§ä½æããã°ã©ããé²è¦§ããããã®ä½¿ããããã¦ã¼ã¶ã¼ã¤ã³ã¿ã¼ãã§ã¤ã¹ãåãã¦ãã¾ãã http://www.cacti.net/ ãã¼ã«ã®ä½¿
ï¼ è¥èãã¼ã¯ç®¡çè ã«æ§ãã ï¼ LinuxãUNIXãWindowsã®ãã¡ã¤ã«ãµã¼ãï¼ããªã³ããµã¼ãã¨ãã¦ãã¾ããã¨ãã§ãããSambaãã¯ãæ軽ã«ãã¡ã¤ã«å ±æç°å¢ãæ§ç¯ãããã¨ãã§ãããµã¼ã管çå ¥éã«ãã´ã£ããã§ããã¤ã³ã¿ã¼ãããä¸ã®é¢é£æ å ±ãè±å¯ã§ããããã£ããåºæã確ãããªãã¨èª¤ã£ãè¨å®ãæãæããããã¾ãã ãªã¼ãã³ã½ã¼ã¹ã»ã½ãªã¥ã¼ã·ã§ã³ã»ãã¯ããã¸æ ªå¼ä¼ç¤¾ 代表åç· å½¹ ãã¼ãã¢ã¼ããã¯ã å°ç°å èå¸ 2008/4/22 Windowsã¨ã®ãã¡ã¤ã«äº¤æãæ軽ã«å®ç¾ããSamba Sambaã¯ãLinuxãUNIXãWindowsã®ãã¡ã¤ã«ãµã¼ãï¼ããªã³ããµã¼ãã¨ãã¦ãã¾ããã¨ãã§ãããªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ï¼OSSï¼ã§ããSambaã®å°å ¥ã«ãã£ã¦ãLinuxã¨Windowsãæ··å¨ããç°å¢ã§ãæ軽ã«æ å ±å ±æãè¡ããããã«ãªãã¾ãã Sambaã¯ã大ãã以ä¸ã®4ã¤ã®æ©è½ãæä¾ãã¾
ã¼ãåã§ã§ããä»®æ³å VMware Serverã®ã¤ã³ã¹ãã¼ã«ãã管çã¾ã§ ç¡åã§æä¾ããã¦ããä»®æ³åã½ããã¦ã§ã¢ãVMware Serverãã¯ãSOHOãå°ä¼æ¥ã§ã®ãµã¼ãéç´ãã¬ã¬ã·ã¼ç°å¢ã®ä¿å ¨ã«é©ãã¦ããããã®ã¤ã³ã¹ãã¼ã«ããä»®æ³ãã·ã³ã®æ§ç¯ã管çæ¹æ³ã¾ã§ã解説ãããï¼ç·¨éå±ï¼ å浦è¨è¡ 2008/3/27 ãµã¼ãéç´ã ããããªãVMware Serverã®ã¡ãªãã ãVMware Serverãï¼http://www.vmware.com/products/server/ï¼ã¯ãç±³å½ã´ã¤ã¨ã ã¦ã§ã¢ç¤¾ãç¡åã§æä¾ãã¦ããä»®æ³åã½ããã¦ã§ã¢ã§ããã´ã¤ã¨ã ã¦ã§ã¢ã®ç¡åã½ããã¨ãã¦ã¯ãVMware Playerããããç¥ããã¦ãã¾ãããVMware Serverã«ã¯ã以ä¸ã®ãããªç¹å¾´ãããã¾ãã ä»®æ³åã¨ã³ã¸ã³ã¨ç®¡çç»é¢ãåé¢ãã¦ãã ä»®æ³ãã·ã³ã®ä½ææ©è½ããã ä»®æ³ãã·ã³ã®ãã¼ãã¦ã§ã¢æ§æ
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}