FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


preparation:host-list.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
preparation:host-list.html [2017/12/10 23:59]
kurihara
preparation:host-list.html [2019/02/11 00:56] (current)
kurihara
Line 6: Line 6:
 \\ \\
  
 +
 +===== How to write hosts list =====
 +
 +  *Target server in the first column of the file.
 +  *1 row 1 host
 +  *Anything after the second row is good. You can add any number of groups.
 +  *# Is a comment
 +
 +\\
 ===== Examples ===== ===== Examples =====
  
-==== $FHHOME/hosts/test ====+==== $FHLINUX/hosts/tmp ==== 
 + 
 +<sxh bash toolbar:false gutter:false> 
 +10.50.0.1    tmp-web-01 
 +10.50.0.2    tmp-web-02 
 +10.50.0.3    tmp-web-03 
 +</sxh> 
 + 
 +==== $FHLINUX/hosts/test ====
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 # web # web
-10.50.0.1    test-web-01   web   reboot1 +test-web-01   web   reboot1 
-10.50.0.2    test-web-02   web   reboot2 +test-web-02   web   reboot2 
-10.50.0.3    test-web-03   web   reboot3+test-web-03   web   reboot3
  
 # ap # ap
-10.50.0.4    test-ap-01    ap    reboot1 +test-ap-01    ap    reboot1 
-10.50.0.5    test-ap-02    ap    reboot2 +test-ap-02    ap    reboot2 
-10.50.0.6    test-ap-03    ap    reboot3+test-ap-03    ap    reboot3
  
 #db #db
-10.50.0.7    test-db-01    db    reboot1 +test-db-01    db    reboot1 
-10.50.0.8    test-db-02    ap    reboot2+test-db-02    ap    reboot2
 </sxh> </sxh>
  
  
-==== $FHHOME/hosts/pro ====+==== $FHLINUX/hosts/pro ====
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 # web # web
-10.50.0.1    pro-web-01   web   reboot1 +pro-web-01   web   reboot1 
-10.50.0.2    pro-web-02   web   reboot2 +pro-web-02   web   reboot2 
-10.50.0.3    pro-web-03   web   reboot3+pro-web-03   web   reboot3
  
 # ap # ap
-10.50.0.4    pro-ap-01    ap    reboot1 +pro-ap-01    ap    reboot1 
-10.50.0.5    pro-ap-02    ap    reboot2 +pro-ap-02    ap    reboot2 
-10.50.0.6    pro-ap-03    ap    reboot3+pro-ap-03    ap    reboot3
  
 #db #db
-10.50.0.7    pro-db-01    db    reboot1 +pro-db-01    db    reboot1 
-10.50.0.8    pro-db-02    ap    reboot2+pro-db-02    ap    reboot2
 </sxh> </sxh>
  
-==== $FHHOME/hosts/stg ====+==== $FHLINUX/hosts/stg ====
  
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 # web # web
-10.50.0.1    stg-web-01   web   reboot1 +stg-web-01   web   reboot1 
-10.50.0.2    stg-web-02   web   reboot2 +stg-web-02   web   reboot2 
-10.50.0.3    stg-web-03   web   reboot3+stg-web-03   web   reboot3
  
 # ap # ap
-10.50.0.4    stg-ap-01    ap    reboot1 +stg-ap-01    ap    reboot1 
-10.50.0.5    stg-ap-02    ap    reboot2 +stg-ap-02    ap    reboot2 
-10.50.0.6    stg-ap-03    ap    reboot3+stg-ap-03    ap    reboot3
  
 #db #db
-10.50.0.7    stg-db-01    db    reboot1 +stg-db-01    db    reboot1 
-10.50.0.8    stg-db-02    ap    reboot2+stg-db-02    ap    reboot2
 </sxh> </sxh>
  


preparation/host-list.html.1512917976.txt.gz · Last modified: 2017/12/10 23:59 by kurihara