FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


preparation:directory-structure.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:directory-structure.html [2019/02/11 01:03]
kurihara
preparation:directory-structure.html [2020/01/22 09:08] (current)
kurihara
Line 8: Line 8:
 ===== FastHandle Manager Server ===== ===== FastHandle Manager Server =====
 ====$FHHOME Top Directory==== ====$FHHOME Top Directory====
 +Choose a HOME directory.
 +
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
 +Example:
 +/home/$USER/fhhome        # $FHHOME
 /home/fasthandle/fhhome   # $FHHOME /home/fasthandle/fhhome   # $FHHOME
-    fh.env +/home/fasthandle/fabric   # $FHHOME 
-    linux/ + 
-    others/ +                    fh.env 
-    win/+                    fhscripts/ 
 +                    linux/ 
 +                    windows/ 
 +                    others/ 
 +</sxh> 
 + 
 + 
 +\\ 
 +====FastHand Scripts Directory==== 
 +<sxh bash toolbar:false gutter:false> 
 +$FHHOME/fhscripts/ 
 + 
 +          fhscripts/      # This is FastHandle Scripts for execute from manager server. 
 +               fhhelp.sh     # fhhelp.sh |less 
 + 
 +               fhghost.sh    # fhghost.sh hosts/xxxx 
 + 
 +               fhssh.sh      # fhssh.sh  -H x.x.x.x auth.test 
 +               fhping.sh     # echo x.x.x.x | fhping.sh 
 +               fhfping.sh    # echo x.x.x.x | fhfping.sh 
 +                
 +               check_loginpass.exp 
 +               check_rootpass.exp
 </sxh> </sxh>
  
-====Linux Directory====+====Fabric Directory for Linux====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-/home/fasthandle/fhhome/linux/+$FHHOME/linux/
  
           fabfile/           fabfile/
Line 35: Line 61:
               test-db.py   # fab  test-db.createfile               test-db.py   # fab  test-db.createfile
  
-              20180620.py   # fab  20180620.xxxxx +              20180620_user1.py   # fab  20180620_user1.xxxxx 
-              20180925.py   # fab  20180925.xxxxx +              20180925_user2.py   # fab  20180925_user2.xxxxx
- +
- +
- +
-          bin/      # This is FastHandle Scripts for execute from manager server. +
-               fhhelp.sh     # fhhelp.sh |less +
- +
-               fhghost.sh    # fhghost.sh hosts/xxxx +
- +
-               fhssh.sh      # fhssh.sh  -H x.x.x.x auth.test +
-               fhping.sh     # echo x.x.x.x | fhping.sh +
-               fhfping.sh    # echo x.x.x.x | fhfping.sh +
-                +
-               check_loginpass.exp +
-               check_rootpass.exp+
  
           hosts/           hosts/
Line 133: Line 145:
  
 </sxh> </sxh>
 +
 +====Fabric Directory for Windows====
 +<sxh bash toolbar:false gutter:false>
 +$FHHOME/windows/
 +
 +          fabfile/
 +              __init__.py
 +
 +              test.py    # fab  test.test01
 +              
 +              xxxx.py    # fab  xxx.yyyy
 +
 +
 +              20180620_user1.py   # fab  20180620_user1.xxxxx
 +              20180925_user2.py   # fab  20180925_user2.xxxxx
 +
 +          hosts/
 +               test
 +               pro_win
 +               stg_win
 +
 +          key/
 +              id_rsa.fasthandle.pro-fasthandle-1
 +              id_rsa.fasthandle.stg-fasthandle-1
 +              id_rsa.fasthandle.dev-fasthandle-1
 +
 +
 +          target/
 +
 +              key/
 +                  id_rsa.USER.HOSTNAME
 +                  id_rsa.user01.test-server-01
 +                  id_rsa.user02.test-server-02
 +
 +
 +              windows/
 +                  hosts_20201112
 +
 +          output/
 +              201712
 +                  systeminfo.test-server1.20171129_1039    # sdiff -w 200  file1 file2
 +                  systeminfo.test-server2.20171129_1039
 +
 +          log/
 +              history.yyyymm.log
 +              history.201701.log
 +              history.201702.log
 +
 +          release/
 +              2015/
 +              2016/
 +              2017/
 +                  20171105/
 +                      operation_user01.txt
 +                      hosts_user1.txt
 +                      user1.py
 +          tmp/
 +
 +</sxh>
 +
  
 +\\
 \\ \\
 ===== FastHandle Target Server  ===== ===== FastHandle Target Server  =====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-/home/fasthandle/+Example: 
 +/home/$USER/fhhome/ 
 +/home/fasthandle/fhhome/ 
     scripts/     scripts/
         xxx.sh         xxx.sh


preparation/directory-structure.html.1549814639.txt.gz · Last modified: 2019/02/11 01:03 by kurihara