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/11/26 23:39]
kurihara [Hosts test]
preparation:host-list.html [2019/02/11 00:56] (current)
kurihara
Line 1: Line 1:
 [[:index.html#Preparation|Top#Preparation]] [[:index.html#Preparation|Top#Preparation]]
-====== Preparation FastHandle Host List ======+====== Preparation Host List ======
  
 \\ \\
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 =====
  
-==== $HGHOME/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>
  
  
 +==== $FHLINUX/hosts/pro ====
 +
 +<sxh bash toolbar:false gutter:false>
 +# web
 +pro-web-01   web   reboot1
 +pro-web-02   web   reboot2
 +pro-web-03   web   reboot3
 +
 +# ap
 +pro-ap-01    ap    reboot1
 +pro-ap-02    ap    reboot2
 +pro-ap-03    ap    reboot3
 +
 +#db
 +pro-db-01    db    reboot1
 +pro-db-02    ap    reboot2
 +</sxh>
 +
 +==== $FHLINUX/hosts/stg ====
 +
 +<sxh bash toolbar:false gutter:false>
 +# web
 +stg-web-01   web   reboot1
 +stg-web-02   web   reboot2
 +stg-web-03   web   reboot3
 +
 +# ap
 +stg-ap-01    ap    reboot1
 +stg-ap-02    ap    reboot2
 +stg-ap-03    ap    reboot3
 +
 +#db
 +stg-db-01    db    reboot1
 +stg-db-02    ap    reboot2
 +</sxh>
  
 \\ \\
Line 39: Line 91:
 <WRAP box 90%> <WRAP box 90%>
 [[:index.html#Preparation|Top#Preparation]] [[:index.html#Preparation|Top#Preparation]]
-<catlist -noAddPageButton -noHead -sortAscending>+<catlist -noAddPageButton -noHead>
 </WRAP> </WRAP>
 \\ \\
 [[:index.html#Preparation|Top#Preparation]] [[:index.html#Preparation|Top#Preparation]]


preparation/host-list.html.1511707197.txt.gz · Last modified: 2017/11/26 23:39 by kurihara