PuppetDB安装指南
来源:互联网 发布:m123软件 编辑:程序博客网 时间:2024/06/10 12:02
PuppetDB安装
#######################################
2014年6月23日 10:25:36
一、安装要求:
1.JDK1.7或以上版本
2.Puppet3.5.1或更高版本
3.Puppet已配置执行Puppet agent --test没有问题
二、安装步骤
1.puppet源配置好
2.apt-get install puppetdb
3.apt-get install puppet-terminus
三、配置
1.配置/etc/puppet/puppet.conf
加入如下内容:
[master]
storeconfigs = true
storeconfigs_backend = puppetdb
reports = store,puppetdb
2.配置/etc/puppet/puppetdb.conf
[main]
server = puppetdb.example.com
port = 8081
3.配置/etc/puppet/routes.yaml
加入以下内容:
---
master:
facts:
terminus: puppetdb
cache: yaml
四、重启Puppet Master
service puppetmaster restart
五、启动puppetdb
service puppetdb start
puppetdb的log在/var/log/puppetdb/puppetdb.log中
六、测试
在Puppet集群中任意选择一台agent执行
puppet agent --test
在PuppetDB机器上查看log,出现如下这两行,表示安装完成:
2012-05-17 13:08:41,664 INFO [command-proc-67] [puppetdb.command] [85beb105-5f4a-4257-a5ed-cdf0d07aa1a5] [replace facts] screech.example.com
2012-05-17 13:08:45,993 INFO [command-proc-67] [puppetdb.command] [3a910863-6b33-4717-95d2-39edf92c8610] [replace catalog] screech.example.com
#######################################
2014年6月23日 10:25:36
一、安装要求:
1.JDK1.7或以上版本
2.Puppet3.5.1或更高版本
3.Puppet已配置执行Puppet agent --test没有问题
二、安装步骤
1.puppet源配置好
2.apt-get install puppetdb
3.apt-get install puppet-terminus
三、配置
1.配置/etc/puppet/puppet.conf
加入如下内容:
[master]
storeconfigs = true
storeconfigs_backend = puppetdb
reports = store,puppetdb
2.配置/etc/puppet/puppetdb.conf
[main]
server = puppetdb.example.com
port = 8081
3.配置/etc/puppet/routes.yaml
加入以下内容:
---
master:
facts:
terminus: puppetdb
cache: yaml
四、重启Puppet Master
service puppetmaster restart
五、启动puppetdb
service puppetdb start
puppetdb的log在/var/log/puppetdb/puppetdb.log中
六、测试
在Puppet集群中任意选择一台agent执行
puppet agent --test
在PuppetDB机器上查看log,出现如下这两行,表示安装完成:
2012-05-17 13:08:41,664 INFO [command-proc-67] [puppetdb.command] [85beb105-5f4a-4257-a5ed-cdf0d07aa1a5] [replace facts] screech.example.com
2012-05-17 13:08:45,993 INFO [command-proc-67] [puppetdb.command] [3a910863-6b33-4717-95d2-39edf92c8610] [replace catalog] screech.example.com
关于PuppetDB的API使用请看:
http://docs.puppetlabs.com/puppetdb/2.0/api/query/v4/nodes.html
1 1
- PuppetDB安装指南
- puppetdb 搭建
- PF_RING开发指南 安装指南
- Hadoop安装指南 / Hive安装指南
- Clearcase2003安装指南
- Mono安装指南
- Sybase ASE 安装指南
- Apache完全安装指南
- ejbca安装指南
- AppFuse安装指南
- Eclipse安装指南
- Mono安装指南
- SkinEngine控件安装指南
- Maven安装全程指南
- 安装测试指南
- 安装ACDSee 7指南
- proftp1.2.10 安装指南
- FreeBSD安装指南
- strcpy(str1,str2);
- 机房收费系统重构(二)—菜鸟入门
- scrapy解决网站对IP有限制防抓取功能
- 堆的优先队列2
- RedHat Linux6 系统硬盘换到其他机器后,无法认到网卡问题
- PuppetDB安装指南
- SVN的分支、主干合并的使用说明
- 无线模块 RXB12-315m TXB12-315M 应用
- STM32 systick做为系统时间使用(非简单延时)
- 自动识别手势
- epoll详解
- 整理Linux (以Ubuntu 为例) 基本命令 apt-get
- 创建虚拟设备(缓冲读写方式)-模拟文件读写操作
- CocoaPods