First of all, Triaquae is based on the SSH way to the host batch management, installation Triaquae This side can be graphics, or not graphics! Then triaquae access must be supported by the graphical interface!traquae is written in Python language, implemented in a large number of host push files, execute command of a process! Triaquae add a host or something is also more convenient, because it is a web-based graphical interface! Relatively simple!triaquae the overall operation of the command of what the time of receipt is not too slow! But maybe the server is too large to say that it is not appropriate! Because after all, SSH-based! If the size of the server is too large, it is necessary to consider changing a batch management tool as needed!
TRIAQUAE deployment After the completion of the use of tutorials, small partners, go to try batch management it! About web operations here's a tutorial
http://triaquae.readthedocs.org/en/latest/
The writing is still quite comprehensive! Old boy in about this out of a use video! Pretty good!
http://edu.51cto.com/index.php?do=lession&;id=15761
There are also below!
Introduction to the features implemented by TRIAQUAE:
1, Push file
2, Batch execution command
3, server hardware information collection
4, scheduled scheduled task deployment
5, Bulk software deployment
6, you can manage the server separately! #比如说3台服务器, it is possible to operate only on servers 1 and 3rd.
Installation steps for Triaquae
Configure the IP address of this machine, because Triaquae is web-based, so httpd support is required,
In addition, the installation process will be like the database to write files, so you need to open the database
In addition Triaquae uses Python to write out, need python2.6 above support
Yum-y Install httpd
Yum-y install gcc gcc-c++ make Sysstat NC
Yum-y Install Python-devel
Yum-y install MySQL mysql-server mysql-devel
Yum-y Install RRDtool
After the installation environment is set up, unpack the package.
Tar zxf triaquae.2014-04-26.tar.gz
And then go into the install inside the ZIP package.
CD Triaquae/install
Python setup.py build--prefix=/usr/local/triaquae #指定安装目录在这个路径
Python setup.py Install #执行安装
Then start the database with the HTTPD service
Service httpd Start
Service mysqld Start
And go inside the database.
mysql> set password for ' root ' @ ' localhost ' =password (' Coral '); #给数据库设置密码
mysql> CREATE DATABASE triaquae; #建立需要的库
Mysql> quit #退出来
Then go back to the installation directory
Here you need to explain that the files written to the database can be written in, because triaquae/triaquae/conf/tri_config.py
The default specified database account password and database address in this file are all in this machine! If you have changed your database account password, you need to modify it in this installation directory and perform the steps!
The content of the file is the same as what needs to be changed below!
Cd/root/triaquae/install
Python setup.py init #想数据库中写入文件供web访问
cd/usr/local/triaquae/triaquae/conf/#进入安装目录下的conf下
Vim tri_config.py
Mysql_name = ' triaquae ' #数据库名字
Mysql_host = ' localhost ' #数据库所在的地点
Mysql_port = ' 3306 ' #数据库的端口
Mysql_user = ' root ' #数据库帐号
Mysql_pass = ' Coral ' #数据库密码
tri_ip = ' 10.110.9.169 ' #
Ip
Smtp_server = ' [email protected] ' #邮件
Mail_username = ' Leygy '
Mail_password = ' 12345 '
After configuration is complete
Cd.. /sbin
Python tri_service.py start
Start the service, if the boot succeeds, it is accessed in the browser http://localhost:7000,
Because there is no package to install Python-mysql This module before, so start error! Of course, the installation is not necessary!
If you start an error, perform the below
Tar zxf mysql-python-1.2.3c1.tar.gz
CD MYSQL-PYTHON-1.2.3C1
Python setup.py Install
Then switch to Triaquae's installation directory, start the service again, and then access http://localhost:7000
Account Admin
Password triaquae
TRIAQUAE deployment is complete, small friends, go to try batch management! About web operations here's a tutorial
http://triaquae.readthedocs.org/en/latest/
The writing is still quite comprehensive! Old boy in about this out of a use video! Pretty good!
http://edu.51cto.com/index.php?do=lession&;id=15761
About Triaquae, that's it! About the installation package I have uploaded to my 51cto download! You can download it if you need it, or you can download it yourself!
I wish you a happy life here!!!
This article is from the "Bucket Month" blog, please be sure to keep this source http://douyue.blog.51cto.com/10174393/1641435
Batch management tool, triaquae! is relatively simple