FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


middleware:bind:index.html



Differences

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

Link to this comparison view

Next revision
Previous revision
middleware:bind:index.html [2018/02/06 23:48]
kurihara created
middleware:bind:index.html [2019/02/11 00:45] (current)
kurihara
Line 7: Line 7:
 \\ \\
  
-===== bind Operation =====+===== BIND(named) Operation with Fabric =====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ fab -l |grep -F bind. $ fab -l |grep -F bind.
Line 13: Line 13:
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-$ fab  -H x.x.x.x auth.pro  bind.xxxxx+$ fab  -H x.x.x.x   bind.xxxxx
 </sxh> </sxh>
  
  
-==== Ref. Remote Shell Commands ====+==== Fabric Temporary Run Call Examples ====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 $ H=test-serve-01,test-server-02 $ H=test-serve-01,test-server-02
  
-$ fab -H $H auth.pro -- sudo diff /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.20171205 +$ fab -H $H  -- "ps aux |grep named" 
-$ fab -H $H auth.pro -- sudo mv /etc/vsftpd/vsftpd.conf.20171205 /etc/vsftpd/vsftpd.conf+$ fab -H $H  -- "lsof -i |grep named"
  
-$ fab -H $H auth.pro -- "ps aux |grep vsftpd" +$ fab -H $H  -- sudo systemctl status named 
-$ fab -H $H auth.pro -- "lsof -i |grep ftp" +$ fab -H $H  -- sudo systemctl restart named 
-$ fab -H $H auth.pro -- sudo systemctl status vsftpd + 
-$ fab -H $H auth.pro -- sudo systemctl restart vsftpd+$ fab -H $H  -- sudo named-checkconf /etc/named.conf 
 + 
 +$ fab -H $H  -- sudo rndc reload  #Update All Zone Contents 
 +$ fab -H $H  -- sudo rndc reconfig  #add new zone file
 </sxh> </sxh>
  
Line 50: Line 53:
     '''yum install vsftpd '''     '''yum install vsftpd '''
     sudo("rpm -q bind            > /dev/null 2>&1 || yum -y install bind")     sudo("rpm -q bind            > /dev/null 2>&1 || yum -y install bind")
 +    sudo("rpm -q bind-utils      > /dev/null 2>&1 || yum -y install bind-utils")
  
  
Line 69: Line 73:
  
 \\ \\
-===== BIND(named) Sample Configuration ===== +===== BIND(named) Configuration Examples===== 
-  *[[middleware:bind:named.conf_default.html]]+  *[[middleware:bind:conf001.html]] 
 +  *[[middleware:bind:conf002.html]] 
 +  *[[middleware:bind:conf003.html]] 
 + 
 +  *[[middleware:bind:conf101.html]] 
  
  
Line 77: Line 86:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-<catlist ..: -noAddPageButton -smallHead -sortAscending>+<catlist .: -noAddPageButton -smallHead -sortAscending>
 </WRAP> </WRAP>
 \\ \\
 [[:index.html#Middleware Management|Top#Middleware Management]] [[:index.html#Middleware Management|Top#Middleware Management]]


middleware/bind/index.html.1517928533.txt.gz · Last modified: 2018/02/06 23:48 by kurihara