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 Last revision Both sides next revision | ||
preparation:host-list.html [2017/12/10 23:59] kurihara |
preparation:host-list.html [2018/01/11 01:23] 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/ | ||
+ | |||
+ | <sxh bash toolbar: | ||
+ | 10.50.0.1 | ||
+ | 10.50.0.2 | ||
+ | 10.50.0.3 | ||
+ | </ | ||
==== $FHHOME/ | ==== $FHHOME/ | ||
Line 12: | Line 29: | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
# web | # web | ||
- | 10.50.0.1 | + | test-web-01 |
- | 10.50.0.2 | + | test-web-02 |
- | 10.50.0.3 | + | test-web-03 |
# ap | # ap | ||
- | 10.50.0.4 | + | test-ap-01 |
- | 10.50.0.5 | + | test-ap-02 |
- | 10.50.0.6 | + | test-ap-03 |
#db | #db | ||
- | 10.50.0.7 | + | test-db-01 |
- | 10.50.0.8 | + | test-db-02 |
</ | </ | ||
Line 31: | Line 48: | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
# web | # web | ||
- | 10.50.0.1 | + | pro-web-01 |
- | 10.50.0.2 | + | pro-web-02 |
- | 10.50.0.3 | + | pro-web-03 |
# ap | # ap | ||
- | 10.50.0.4 | + | pro-ap-01 |
- | 10.50.0.5 | + | pro-ap-02 |
- | 10.50.0.6 | + | pro-ap-03 |
#db | #db | ||
- | 10.50.0.7 | + | pro-db-01 |
- | 10.50.0.8 | + | pro-db-02 |
</ | </ | ||
Line 49: | Line 66: | ||
<sxh bash toolbar: | <sxh bash toolbar: | ||
# web | # web | ||
- | 10.50.0.1 | + | stg-web-01 |
- | 10.50.0.2 | + | stg-web-02 |
- | 10.50.0.3 | + | stg-web-03 |
# ap | # ap | ||
- | 10.50.0.4 | + | stg-ap-01 |
- | 10.50.0.5 | + | stg-ap-02 |
- | 10.50.0.6 | + | stg-ap-03 |
#db | #db | ||
- | 10.50.0.7 | + | stg-db-01 |
- | 10.50.0.8 | + | stg-db-02 |
</ | </ | ||
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.