PRG 211 All Discussions

You can buy more tutorials at a more favorable price from the below link. ****************************************************************************************** — — — — — — — — — — — — — — — — —…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




How CHEF works???

CHEF is an open-source configuration management tool. Earlier system administrators used to manage the machines/servers like updating, installation, security, etc. By configuration we mean- each minute detail of our machine. Due to which chances of error increase because it’s done manually by an administrator. CHEF, an automated tool comes into existence.

DevOps CHEF tool comes into an operation section. Now instead of the system administrator, DevOps Engineer will handle the server configuration process using script. Infrastructure builds/configured by a script is known as IAC (Infrastructure as code).

It’s the Pull based management tool. Pull configuration nodes check the server periodically and fetch the configuration from it. Nodes itself sends a pull request to modify/update the specific configurations.

Advantage: when new nodes get linked with the server, the node automatically sends the pull request to validate the updated configurations.

CHEF is written in Ruby and Erlang. CHEF is used by Facebook, AWS ops work, etc. CHEF is an administrator tool that system admins used to do manually, now we can automate that task using this CHEF tool. Turns code into infrastructure. Code/script are repeatable, versionable, and testable.

Advantage of CM Tool =>

Ohai => In this complete current configuration of our node is stored.

Idempotency => Tracking the state of system resources to ensure that the change in configurations that are not required(Because of the same version) should not reapply, reducing the time.

Components of Chef =>

DevOps Engineer modify/write the code in this workstation. Here, the Code is also known as a recipe whereas the Collection of the recipe is known as a cookbook. Workstation Communicate with the chef–server using a knife. A knife is a command-line tool that uploads the cookbook to the server.

2. Chef-Server =>

The Chef server act as an intermediate between the workstation and the node. All types of the cookbook are stored here. Plus, the Server can be hosted Locally or Remotely.

3. Node=>

Nodes are host systems that have to be configured. Ohia fetches the current version of the software of the node. Node communicates with the chef-server using a chef-client using a knife. As different nodes can have a different state of configurations so chef-client is installed at each node.

Add a comment

Related posts:

Making a healthy routine during quarantine

As you know we all are facing with the pandemic. It affects us in different ways. Unfortunately, for most of us this pandemic affects our daily lives and routines in a negative way so how can we…

Toxic Masculinity Needs Men Standing up for Women

Men need to stand up for women when it comes down to it. I know ‘not all men’ and that you are different. But I have noticed that men tend to back down when a woman is defended by a man. I have…

4. Getting Started with Orange Tool

Orange tool is a tool used in data science. In this blog, I will discuss the basics of Orange Tool and its various features. So let's get started. Orange is an open-source data visualization, machine…