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
Last revision Both sides next revision
preparation:directory-structure.html [2019/02/11 01:03]
kurihara
preparation:directory-structure.html [2020/01/22 09:03]
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> </sxh>
  
-====Linux Directory====+ 
 +\\ 
 +====FastHand Scripts====
 <sxh bash toolbar:false gutter:false> <sxh bash toolbar:false gutter:false>
-/home/fasthandle/fhhome/linux/ +$FHHOME/fhscripts/
- +
-          fabfile/ +
-              __init__.py +
- +
-              test.py    # fab auth.pro  test.test01 +
- +
-              user.py    # fab auth.pro  user.useradd_user01 +
-              centos.py  # fab auth.pro centos.init +
-              httpd.py   # fab auth.pro httpd.install_yum +
-              nginx.py   # fab auth.pro nginx.install_yum +
-              squid.py   # fab auth.pro squid.install_yum +
- +
-              test-web.py  # fab auth.pro test-web.createfile +
-              test-ap.py   # fab auth.pro test-ap.createfile +
-              test-db.py   # fab auth.pro test-db.createfile +
- +
-              20180620.py   # fab auth.pro 20180620.xxxxx +
-              20180925.py   # fab auth.pro 20180925.xxxxx +
  
- +          fhscripts/      # This is FastHandle Scripts for execute from manager server.
-          bin/      # This is FastHandle Scripts for execute from manager server.+
                fhhelp.sh     # fhhelp.sh |less                fhhelp.sh     # fhhelp.sh |less
  
Line 51: Line 40:
                check_loginpass.exp                check_loginpass.exp
                check_rootpass.exp                check_rootpass.exp
 +</sxh>
 +
 +====Fabric Linux Directory====
 +<sxh bash toolbar:false gutter:false>
 +$FHHOME/linux/
 +
 +          fabfile/
 +              __init__.py
 +
 +              test.py    # fab  test.test01
 +
 +              user.py    # fab  user.useradd_user01
 +              centos.py  # fab  centos.init
 +              httpd.py   # fab  httpd.install_yum
 +              nginx.py   # fab  nginx.install_yum
 +              squid.py   # fab  squid.install_yum
 +
 +              test-web.py  # fab  test-web.createfile
 +              test-ap.py   # fab  test-ap.createfile
 +              test-db.py   # fab  test-db.createfile
 +
 +              20180620_user1.py   # fab  20180620_user1.xxxxx
 +              20180925_user2.py   # fab  20180925_user2.xxxxx
  
           hosts/           hosts/
Line 134: Line 146:
 </sxh> </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.txt · Last modified: 2020/01/22 09:08 by kurihara