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/27 00:21] kurihara [$HGHOME/hosts/test] |
preparation:host-list.html [2019/02/11 00:56] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[: | [[: | ||
| - | ====== Preparation | + | ====== 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 ===== | ||
| - | ==== $FHHOME/hosts/test ==== | + | ==== $FHLINUX/ |
| + | |||
| + | <sxh bash toolbar: | ||
| + | 10.50.0.1 | ||
| + | 10.50.0.2 | ||
| + | 10.50.0.3 | ||
| + | </ | ||
| + | |||
| + | ==== $FHLINUX/hosts/test ==== | ||
| <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 |
| </ | </ | ||
| + | ==== $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 | ||
| + | </ | ||
| \\ | \\ | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.