FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
preparation:host-list.html [2017/11/13 00:27] kurihara |
preparation:host-list.html [2019/02/11 00:56] (current) kurihara |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Preparation | + | [[: |
+ | ====== Preparation | ||
+ | \\ | ||
+ | {{INLINETOC}} | ||
+ | \\ | ||
- | ===== Example : hosts_test | + | ===== 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 ===== | ||
+ | |||
+ | ==== $FHLINUX/ | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
- | # Example | + | 10.50.0.1 |
- | 10.50.0.1 | + | 10.50.0.2 |
- | 10.50.0.2 | + | 10.50.0.3 |
- | 10.50.0.3 | + | |
- | 10.50.0.4 | + | |
- | 10.50.0.5 | + | |
- | 10.50.0.6 | + | |
- | 10.50.0.7 | + | |
- | 10.50.0.8 | + | |
</ | </ | ||
+ | ==== $FHLINUX/ | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | # web | ||
+ | test-web-01 | ||
+ | test-web-02 | ||
+ | test-web-03 | ||
+ | |||
+ | # ap | ||
+ | test-ap-01 | ||
+ | test-ap-02 | ||
+ | test-ap-03 | ||
+ | |||
+ | #db | ||
+ | test-db-01 | ||
+ | test-db-02 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== $FHLINUX/ | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | # web | ||
+ | pro-web-01 | ||
+ | pro-web-02 | ||
+ | pro-web-03 | ||
+ | |||
+ | # ap | ||
+ | pro-ap-01 | ||
+ | pro-ap-02 | ||
+ | pro-ap-03 | ||
+ | |||
+ | #db | ||
+ | pro-db-01 | ||
+ | pro-db-02 | ||
+ | </ | ||
+ | |||
+ | ==== $FHLINUX/ | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | # web | ||
+ | stg-web-01 | ||
+ | stg-web-02 | ||
+ | stg-web-03 | ||
+ | |||
+ | # ap | ||
+ | stg-ap-01 | ||
+ | stg-ap-02 | ||
+ | stg-ap-03 | ||
+ | |||
+ | #db | ||
+ | stg-db-01 | ||
+ | stg-db-02 | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | \\ | ||
+ | ===== Hosts test ===== | ||
+ | <sxh bash toolbar: | ||
+ | $ fhghost.sh web hosts/test | fab auth.pro -- hostname | ||
+ | </ | ||
+ | |||
+ | |||
+ | \\ | ||
+ | <WRAP box 90%> | ||
+ | [[: | ||
+ | <catlist -noAddPageButton -noHead> | ||
+ | </ | ||
+ | \\ | ||
+ | [[: |
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.