FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:set:index.html



Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
os:linux:set:index.html [2018/02/26 00:42]
kurihara [Table]
os:linux:set:index.html [2019/02/11 00:40] (current)
kurihara
Line 13: Line 13:
 $ fab -l |grep set $ fab -l |grep set
  
-$ fab -H $H auth.pro  set.centos7_init +$ fab -H $H   set.centos7_init 
-$ fab -H $H auth.pro  set.centos6_init+$ fab -H $H   set.centos6_init
 </sxh> </sxh>
  
Line 22: Line 22:
 $ H=test-server-1 $ H=test-server-1
  
-$ fab -H $H auth.pro -- hostname+$ fab -H $H  -- hostname
  
 # LANG # LANG
-$ fab -H $H auth.pro -- localectl status   #Check locale CentOS7 +$ fab -H $H  -- localectl status   #Check locale CentOS7 
-$ fab -H $H auth.pro -- 'localectl list-locales |egrep -i "ja|jp"' # Check available locale list+$ fab -H $H  -- 'localectl list-locales |egrep -i "ja|jp"' # Check available locale list
 </sxh> </sxh>
  
Line 39: Line 39:
 from fabric.contrib import files from fabric.contrib import files
 from fabric.contrib.files import sed, append, contains from fabric.contrib.files import sed, append, contains
 +from datetime import datetime
  
 FHHOME=os.environ["FHHOME"] FHHOME=os.environ["FHHOME"]
Line 182: Line 183:
 | [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony.conf]] (CentOS)\\ [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony/chrony.conf]] (Ubuntu)  |                                                              | | [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony.conf]] (CentOS)\\ [[os:linux:set:deamon:etc_chrony.conf.html|/etc/chrony/chrony.conf]] (Ubuntu)  |                                                              |
 | /etc/default/grub                                                                                                                                       | crashkernel=128M                                             | | /etc/default/grub                                                                                                                                       | crashkernel=128M                                             |
 +| [[os:linux:set:deamon:etc_systemd_journald.conf.html|/etc/systemd/journald.conf]]                                                                       | RateLimitInterval=30s\\ RateLimitBurst=10000                 |
  
 \\ \\


os/linux/set/index.html.1519573341.txt.gz · Last modified: 2018/02/26 00:42 by kurihara