Want to route traffic based on headers, paths, subdomains or other attributes? Check out internal endpoints. â
Want to route traffic based on headers, paths, subdomains or other attributes? Check out internal endpoints. â
About V2 Serverspec/Specinfra v2 has been just released. See the document about v2. About With Serverspec, you can write RSpec tests for checking your servers are configured correctly. Serverspec tests your serversâ actual state by executing command locally, via SSH, via WinRM, via Docker API and so on. So you donât need to install any agent softwares on your servers and can use any configuration
Puppet ã Chef ã§æ§ç¯ãããµã¼ãã RSpec ã§ãã¹ããã ã§æ¸ããä»çµã¿ã使ããããããããã« serverspec ã¨ããåå㧠gem åãã¦ã¿ãã rubygems.org ã«ãç»é²ãã¦ããã®ã§ãgem install ã§ã¤ã³ã¹ãã¼ã«ã§ããã $ gem install serverspec ã¤ã³ã¹ãã¼ã«ããããé©å½ãªãã£ã¬ã¯ããªã§ serverspec-init ãå®è¡ãããã¨ãéå½¢ã¨ãªããã£ã¬ã¯ããªããã¡ã¤ã«ãçæããã $ serverspec-init + spec/ + spec/www.example.jp/ + spec/www.example.jp/httpd_spec.rb + spec/spec_helper.rb + Rakefile spec/www.example.jp/httpd_spec.rb ããµã³ãã«ãã¹ãã³ã¼ãã§ããããªæãã«ãªã£ã¦
ãµã¼ãã¼ã®ãªã½ã¼ã¹ãè¦ãã«ã¯ã°ã©ãåã¯éè¦ã§ãããæ¨ç§»ã§ã¯ãªããªã¢ã«ã¿ã¤ã ãªç¶æ³ãä¾ãã°ç§åä½ã®ã¹ãã¤ãã¼ãªè² è·ãè¦ãã«ã¯ããµã¼ãã¼ä¸ã§vmstatãiostatãªã©ã®*statãã¡ããªã¼ãå©ãå¿ è¦ãããã¾ãã ãã¦ãvmstatã¯ã¡ã¢ãªã®ç¶æ³ããããã¯æ°åä½ã®I/Oç¶æ³ã¯è¦ããã¾ããããã¤ãåä½ã®I/Oç¶æ³ããããã¯ã¼ã¯ã®éä¿¡ãåä¿¡ãã¤ãæ°ãè¦ããã¨ã¯ã§ãã¾ããã # vmstat 1 procs -----------memory---------- ---swap--- -----io----- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 3 1 0 4724956 355452 726532 0 0 54 484 3 3 1 0 99 0 0 2 0 0 47
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}