Table of Contents


I'm creating FastHandle2.
https://github.com/kuritaka/fasthandle2


FastHandle - IT Operations Examples


What is FastHandle?

FastHandle is tools to make infrastructure construction operations and test operations more efficient.
FastHandle will make your operation faster and more accurate.
And FastHandle aims to improve Linux knowledge by looking at settings and commands on the official site.

FastHandle is also a Fabric framework.
And FastHandle use Fabric and Expect and so on.




FastHandle Characteristic


FastHandle Contents

FastHandle-init
(fh-init.sh)
Basic OS Settings before installing FastHandle
FastHandle with Fabric a remote server configuration and test with Fabric
FastHnadle Scritps FastHnadle Scritps supports FastHandle.
fhlogin.sh
fhping.sh - check ping
check_loginpass.sh
check_rootpass.sh


OS Configuration Flow with FastHandle

  1. OS installation
  2. minimum configuration with FastHandle-init
  3. Create User and Group with FastHandle
  4. Install Package with FastHandle
  5. OS Configuration with FastHandle
  6. Enable/Disable Service with FastHandle


Note


Preparation

Manager Server
Target Server


How to use FastHandle with Fabric

Basic


Linux

$FHHOME/linux/fabfile/xxxx.py

OS

Linux Fabric Examples
BASIC
Linux User Management with Fabric (user.py) user.py is create user and check user infomation.
Linux Package Management with Fabric (pkg.py) pkg.py is installing packages and check packages.
Scripts
Linux Network Configuration with Fabric (net.py)
Set Linux Configuration with Fabric (set.py)
Popular
Linux OS Configuration
Get Linux Configuration with Fabirc (get.py) Scripts
Check Linux Status with Fabric (check.py)
Popular
Scripts
Linux Operation with Fabric (ope.py) reboot/shutdown
check time
Confirm communication requirements


Middleware Management

Apache httpd (httpd.py)
Nginx (nginx.py)
BIND (bind.py)
Postfix (postfix.py)
Squid (squid.py)
MariaDB
Oracle
vsftpd (vsftpd.py)
rsyslog (rsyslog.py)
NTP
DHCP
TFTP (tftp.py)


Programming Languages


Windows

$FHHOME/windows/fabfile/xxxx.py


Others

$FHHOME/others/fabfile/xxxx.py

I use Fabric for simple tasks and repetitive tasks.


FastHandle Scripts

$FHHOME/fhscripts/xxx.sh
$FHHOME/fhscripts/xxx.exp

fhxxxx
check_xxxx
create_xxxx
get_xxxx


Appendix





This project is maintained by Takaaki Kurihara