FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


Sidebar


Top     SiteMap

Manager Server

Target Server

$FHHOME/bin/xxx.sh | xxxx.exp













.

preparation:host-list.html



Top#Preparation

Preparation Host List

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/hosts/tmp

10.50.0.1    tmp-web-01
10.50.0.2    tmp-web-02
10.50.0.3    tmp-web-03

$FHLINUX/hosts/test

# web
test-web-01   web   reboot1
test-web-02   web   reboot2
test-web-03   web   reboot3

# ap
test-ap-01    ap    reboot1
test-ap-02    ap    reboot2
test-ap-03    ap    reboot3

#db
test-db-01    db    reboot1
test-db-02    ap    reboot2

$FHLINUX/hosts/pro

# 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

$FHLINUX/hosts/stg

# 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




Hosts test



preparation/host-list.html.txt ยท Last modified: 2019/02/11 00:56 by kurihara