如何使用厨师做中并行引导不同的机器上? [英] How to do parellel bootstrap on different machine using chef?

查看:265
本文介绍了如何使用厨师做中并行引导不同的机器上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我已经写了五种不同的配方和我有五种不同的目标节点。

Suppose I have written five different recipes and I have five different target nodes.

如何能发射引导程序命令,将在那些涉及所有5个节点,它会在每个目标节点上并行执行指定的配方(一对一)。

How can I fire a bootstrap command that will address all 5 nodes at ones and it will execute the specified recipes(one for one) in parallel on each target node.

推荐答案

有办法使用spiceweasel在一个时间来引导多台机器上的多个食谱。在该第一安装在节点上的spiceweasel包。 ü需要创建YAML文件,并在文件中加载数据乌尔..喜欢节点IP,菜谱名称。

There is way to bootstrap multiple cookbooks on multiple machines at a time using spiceweasel . In this first install the spiceweasel package on the node . U need to create a yaml file and load ur data in the file .. like node ip , cookbook name .

通过这个链接,它会给你一个想法

go through this link , it will give you an idea

https://github.com/mattray/spiceweasel#cookbooks

这篇关于如何使用厨师做中并行引导不同的机器上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆