
saltstack
文章平均质量分 81
shanliangliuxing
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
匹配minion id
转自:http://wiki.saltstack.cn/topics/targeting/globbing* 原文:http://docs.saltstack.com/topics/targeting/globbing.html * 译者: pengyaominion id minion的唯一标示。默认情况minion id是minion的主机名(FQDN),你可以通过id转载 2013-03-29 10:32:26 · 1087 阅读 · 0 评论 -
saltstack官方文档——Configuring the Salt Minion
转自:http://docs.saltstack.com/ref/configuration/minion.htmlConfiguring the Salt MinionThe Salt system is amazingly simple and easy to configure, the two components of the Salt system each have转载 2013-04-18 18:09:56 · 1534 阅读 · 0 评论 -
saltstack官方文档——Salt File Server
转自:http://docs.saltstack.com/ref/file_server/index.htmlSalt File ServerSalt comes with a simple file server suitable for distributing files to the Salt minions. The file server is a st转载 2013-04-18 17:58:33 · 2236 阅读 · 0 评论 -
saltstack官方文档——Python client API
转自:http://docs.saltstack.com/ref/python-api.htmlPython client APISalt is written to be completely API centric, Salt minions and master can be built directly into third party applicatio转载 2013-04-18 17:56:46 · 7904 阅读 · 0 评论 -
saltstack官方文档——Salt Syndic
转自:http://docs.saltstack.com/ref/syndic.html?highlight=syndicSalt SyndicThe Salt Syndic interface is a powerful tool which allows for the construction of Salt command topologies. A basic Salt转载 2013-04-18 17:55:15 · 2077 阅读 · 0 评论 -
saltstack官方文档——The Top File
转自:http://docs.saltstack.com/ref/states/top.html?highlight=top%20fileThe Top FileThe top file is used to map what SLS modules get loaded onto what minions via the state system. The top file cr转载 2013-04-18 17:53:27 · 1269 阅读 · 0 评论 -
saltstack官方文档——Full list of builtin state modules
转自:http://docs.saltstack.com/ref/states/all/index.html?highlight=full%20listFull list of builtin state modulesaliasConfiguration of email aliases.alternativesConfigur转载 2013-04-18 18:33:37 · 1033 阅读 · 0 评论 -
saltstack官方文档——Configuring the Salt Master
转自:http://docs.saltstack.com/ref/configuration/master.htmlConfiguring the Salt MasterThe Salt system is amazingly simple and easy to configure, the two components of the Salt system each have转载 2013-04-18 18:07:26 · 2444 阅读 · 0 评论 -
saltstack官方文档——Highstate data structure definitions
转自:http://docs.saltstack.com/ref/states/highstate.html#term-state-treeHighstate data structure definitionsTHE SALT STATE TREETop fileThe main state file that instructs minions what environ转载 2013-04-18 14:12:05 · 1436 阅读 · 0 评论 -
saltstack官方文档——Full list of builtin execution modules
转自:http://docs.saltstack.com/ref/modules/all/index.html?highlight=full%20listFull list of builtin execution modulesVirtual modulessalt.modules.pkgsalt.modules.sys转载 2013-04-18 18:32:20 · 1583 阅读 · 0 评论 -
saltstack官方文档——Command Line Reference
转自:http://docs.saltstack.com/ref/cli/index.htmlCommand Line ReferenceSalt can be controlled by a command line client by the root user on the Salt master. The Salt command line client uses the转载 2013-04-18 18:05:47 · 1104 阅读 · 0 评论 -
salt自定义returner+fluent+mysql进行数据采集
转自:http://bbs.linuxtone.org/forum.php?mod=viewthread&tid=24213&fromuid=15864背景:salt自带的有很多可选的returner,但是都需要在minion做配置,我感觉这点挺操蛋,而且正好我们平台上在使用fluent做采集,于是就自定义一个reutren,然后用fluent采集,处理,入库过程如下:转载 2013-06-04 11:27:05 · 1658 阅读 · 0 评论 -
Salt实战之自动安装部署MooseFS
转自:http://wiki.saltstack.cn/reproduction/salt-auto-deploy-moosefs作者: Rainbow+暮然回首,我做运维已经有六年多了,从最开始那个一无所知的菜鸟,到现在能够胸有成竹的管理公司几百台服务器,中间走了不少的弯路。就拿批量管理服务器这块儿来说吧,几年前自己只会Shell脚本,在服务器不多的时候,转载 2013-05-28 21:48:19 · 1810 阅读 · 0 评论 -
Pillar Walkthrough
转自:http://wiki.saltstack.cn/topics/tutorials/pillar转载地址: http://blog.youkuaiyun.com/qingchn/article/details/8753542译者:葱油拌面官方原文:http://docs.saltstack.com/topics/tutorials/pillar.html转载 2013-05-28 12:56:48 · 940 阅读 · 0 评论 -
saltstack官方文档——File Server Client API
转自:http://docs.saltstack.com/ref/file_server/file_roots.htmlFile Server ConfigurationThe Salt file server is a high performance file server written in ZeroMQ. It manages large files quickly an转载 2013-05-09 12:01:40 · 2541 阅读 · 0 评论 -
运维自动化之salt
转自:http://wiki.saltstack.cn/reproduction/om-auto-salt参考:http://blog.lightcloud.cn/?p=251转载出处: http://blog.lightcloud.cn/?p=251作者: halfss目录引言: 关于运维saltstack的基本介绍salt的安转载 2013-05-22 19:56:31 · 1955 阅读 · 0 评论 -
saltstack官方文档——Modules(自定义module)
转自:http://docs.saltstack.com/ref/modules/index.htmlModulesSalt modules are the functions called by the salt command.See alsoFull list of builtin modulesSalt ships with many modules tha转载 2013-05-17 00:00:58 · 3346 阅读 · 0 评论 -
使用Salt管理用户
转自:http://wiki.saltstack.cn/reproduction/managing_user_with_salt使用Salt管理用户转载地址: http://pengyao.org/managing_user_with_salt.html英文原文出处: http://intothesaltmine.org/blog/html/2012/12/11转载 2013-04-19 13:03:44 · 2220 阅读 · 0 评论 -
在SaltStack中使用Pillar
转自:http://wiki.saltstack.cn/reproduction/using_pillar_data_in_saltstack在SaltStack中使用Pillar原文出处: http://intothesaltmine.org/blog/html/2013/02/28/using_pillar_data_in_saltstack.html译者:转载 2013-04-19 14:58:30 · 2154 阅读 · 0 评论 -
saltstack官方文档——State Enforcement
转自:http://docs.saltstack.com/ref/states/index.htmlState EnforcementSalt offers an optional interface to manage the configuration or "state" of the Salt minions. This interface is a fully capab转载 2013-04-18 14:10:28 · 1205 阅读 · 0 评论 -
salt returners
转自:http://wiki.saltstack.cn/ref/returners/indexsalt returners将salt minion执行命令的返回数据发送到指定的returner上* 原文出处: http://docs.saltstack.com/ref/returners/index.html * 译者: pengyaoReturners转载 2013-04-16 18:53:18 · 1726 阅读 · 0 评论 -
如何使用Salt State
转自:http://wiki.saltstack.cn/topics/tutorials/starting_states* 原文: http://docs.saltstack.com/topics/tutorials/starting_states.html * 译者: pengyao如何使用Salt State简单,明了,简单明了需要强大(po转载 2013-04-04 10:09:59 · 1650 阅读 · 0 评论 -
salt内置执行模块列表
转自:http://wiki.saltstack.cn/modules/all* 原文: http://docs.saltstack.com/ref/modules/all/ * 译者: pengyao虚拟模块salt.modules.pkgsalt.modules.sys模块名描述转载 2013-04-04 10:09:04 · 2110 阅读 · 0 评论 -
yaml简介以及在python上的应用
转自:http://angeloce.iteye.com/blog/385976YAML是一种直观的能够被电脑识别的的数据序列化格式,容易被人类阅读,并且容易和脚本语言交互。YAML类似于XML,但是语法比XML简单得多,对于转化成数组或可以hash的数据时是很简单有效的。 YAML语法规则: http://www.ibm.com/developerworks转载 2013-04-01 14:32:27 · 1056 阅读 · 0 评论 -
json对象格式化字符串输出
转自:http://www.cnitblog.com/seeyeah/archive/2009/09/29/61618.html函数的主要功能是:传入一个Json对象(为了节省空间,一般请求返回的Json都是没有格式化的,可读性不好),可以输出格式化字符串,提高Json可读性。虽然很多IDE或工具已经实现,但有时做简单测试时,格式化还是需要的。假设,JS调用(假设界面有一个转载 2013-04-01 14:33:35 · 2724 阅读 · 0 评论 -
func-mcollective-salt-and-rundeck(saltstack简介)
转自:http://wiki.saltstack.cn/func-mcollective-salt-and-rundeck* 原文: http://www.coloandcloud.com/editorial/func-mcollective-salt-and-rundeck/* 译者: pengyao* 译者注: 无意中看到这篇文章,才知道世界上还有salt这个神器,转载 2013-03-26 16:40:09 · 2357 阅读 · 0 评论 -
saltstack实战之基础配置
转自:http://wiki.saltstack.cn/salt-use-base我线上大部分系统为Centos 5 以上,部署Salt方式通过Yum方式.系统软件和配置大量采用RPM包方式管理[自制RPM], 我所有的服务器采用服务器IP为Minion端的ID,每一个IP会自动匹配出IDC【机房】,ROLE【角色】,以及Pro【项目】比如IDC【机房】获取方式:pillar/转载 2013-03-31 12:36:33 · 2409 阅读 · 0 评论 -
saltstack配置
转自:http://wiki.saltstack.cn/topic/configuration*原文出处: http://docs.saltstack.com/topics/configuration.html 译者: pengyao目录master配置minion配置运行saltKey 管理发送指令Salt安装后,需要对salt进行简单转载 2013-03-30 11:02:06 · 1353 阅读 · 0 评论 -
Salt Stack初探之另外一种用Python写的配置管理系统(saltstack实例)
转自:http://wiki.saltstack.cn/reproduction/salt-first-viewSalt Stack初探之另外一种用Python写的配置管理系统文章来源: http://www.oschina.net/translate/getting-started-salt-stack-other-configuration-management-s转载 2013-03-28 16:01:34 · 3272 阅读 · 0 评论 -
Salt Keepalive分析
转自:http://wiki.saltstack.cn/salt-keepaliveSalt Keepalive分析在salt 0.11版本时碰到了一个问题,就是salt master意外重启后(断电服务器重启,然后重启了salt master服务),结果minion netstat显示为ESTABLIASHED,结果master无法连通minion,查阅salt转载 2013-04-04 10:10:39 · 1404 阅读 · 0 评论 -
安装epel源
转自:http://laibulai.iteye.com/blog/1416536来自余洪春老师《构建高可用linux服务器》 简单记录一下,加强记忆 安装epel源的好处就是epel这个项目是由fedora维护的,在维护的这个源中包含许多软件,包括ntop,nagios之类的,也就是说,你安装了epel源就可以直接用yum install ntop来安转载 2013-04-09 18:10:13 · 9425 阅读 · 0 评论 -
让apache可执行远程需root权限的命令
转自:http://www.linuxfly.org/post/344/ 昨天提到,当想在Web页面上去调用一个需要root权限的命令时,可以使用赋予脚本suid权限,并且交换euid和uid的方式来解决。但现在又遇到一个新问题,httpd服务器与需执行的root权限命令并不在一台服务器上。也就是说,需要从Web页面上调用一个远程服务器上的需root权限的系统命令。这可是一个让人头转载 2013-04-23 22:53:33 · 3412 阅读 · 0 评论 -
深入saltstack(dive-into-saltstack)
转自:http://wiki.saltstack.cn/reproduction/dive-into-saltstack* 原文出处: http://www.ituring.com.cn/article/37783 * 译者:yinchuan[译者注] 这是一篇发表在opencredo官网的博文,通过比较流行的Puppet和新发展起来的Salt,详细地介绍了Salt的功能。转载 2013-04-15 12:05:09 · 1796 阅读 · 0 评论 -
ubuntu下用service httpd restart重启apache
转自:http://blog.youkuaiyun.com/zwfcan/article/details/8231864service httpd restart 出现 httpd:unrecognized service 错误 #将apache注册为系统服务# cp /usr/local/apache2/bin/apachectl /etc/i转载 2013-03-28 18:23:53 · 5071 阅读 · 0 评论 -
使用M2Crypto加密数据
转载自:http://besteam.im/blogs/article/57/。加解密数据、操作密钥、操作SSL协议普遍使用了OpenSSL。虽然还有其它的使用C/C++开发的加密处理库,但是Python环境下支持最好的使用最广泛的还是OpenSSL。据python.org官方网站,目前有几个库提供了加密功能。PyOpenSSL。这个库是比较早的,但是作者已经停止开发,转载 2013-03-26 15:39:06 · 4670 阅读 · 0 评论 -
saltstack安装
转自:http://www.xue5.com/Server/Web/674125.html之前尝试了下puppet,感觉还是比较重,比较繁琐。早上试了下SaltStack,python写的就是兼容性好,安装起来也方便,试用了一些,还是挺方便的,就是不知道承载能力怎么样。下面是安装教程salt-master安装[salt-master]# yum install转载 2013-03-26 15:43:33 · 2094 阅读 · 0 评论 -
编译安装M2Crypto-0.20.2
转自:http://blog.youkuaiyun.com/sonny45/article/details/7694515编译安装M2Crypto-0.20.2最新需要用到RSA对称密钥加密,所以需要用到M2Crypto,可怜的我发现编译这东西一点都不容易,以下是我的杯具经验总结。服务器环境$ lsb_release -aLSB Version::core-3.0-ia32:c转载 2013-03-26 15:35:59 · 1680 阅读 · 0 评论 -
安装zeromq-2.2.0
转自:http://blog.youkuaiyun.com/niitlcj/article/details/7846838安装zeromq-2.2.0centos安装编译时需要用的程序yum install gccyum install gcc-c++yum install makeyum install uuid-develyum install libuuid-de转载 2013-03-26 15:40:03 · 1140 阅读 · 0 评论 -
Node groups和Compound matchers(混合匹配)
转自:http://wiki.saltstack.cn/topics/targeting/nodegroupsNode groupsNode group为预先在master配置文件中定义的minion组.用来进行批量对minion进行操作.更多关于批量操作minion的方法可以参考: Compound matchersNode group配置使用比较简单转载 2013-04-10 11:13:07 · 1204 阅读 · 0 评论 -
salt相关使用
转自:http://wiki.saltstack.cn/reproduction/salt-use-01* 原文出处: http://blog.halfss.com/blog/2013/06/15/saltxiang-guan-shi-yong/ * 作者: halfsssalt相关使用目录salt相关使用nodegroup复转载 2013-06-19 11:10:50 · 1493 阅读 · 0 评论