
By Navin Sabharwal, Manak Wadhwa
Automation via Chef Opscode offers an in-depth knowing of Chef, that is written in Ruby and Erlang for configuration administration, cloud infrastructure administration, method management, and community management.
Targeted at directors, specialists, and architect, the ebook courses them during the complex good points of the instrument that are precious for infrastructure automation, devops automation, and reporting. The ebook presumes wisdom of Ruby and Erlang that are used as reference languages for growing recipes and cookbooks and as a refresher on them to aid the reader get on velocity with the move of book.
The ebook offers step-by-step directions on install and configuration of Chef, utilization eventualities of Chef, in infrastructure automation via delivering universal eventualities like digital laptop provisioning, OS configuration for home windows, Linux, and Unix, provisioning and configuration of net servers like Apache in addition to well known databases like MySQL.
It additional elaborates at the construction of recipes, and cookbooks, which assist in deployment of servers and purposes to any actual, digital, or cloud place, irrespective of the dimensions of the infrastructure.
The books covers complicated positive aspects like LWRPs and Knife and likewise comprises a number of illustrative pattern cookbooks on MySQL, Apache, and CouchDB deployment utilizing a step-by-step strategy.
Read or Download Automation through Chef Opscode: A Hands-on Approach to Chef PDF
Similar system administration books
Java Performance and Scalability: Server-Side Programming Techniques
This e-book used to be written with one objective in brain: to supply Java programmers with the services had to construct effective, scalable Java code. the writer stocks his adventure in server-side functionality tuning via measured functionality tests, known as optimizations. every one optimization discusses suggestions to enhance the functionality and scalability of your code.
Deploying Microsoft Forefront Protection 2010 for Exchange Server (It Professional Series)
Get centred, real-world counsel for making plans and imposing vanguard safety for trade Server--and support shield firm e mail from viruses, unsolicited mail, phishing, and coverage violations. Guided through key participants of the Microsoft vanguard group, you are going to delve into approach elements, good points, and functions, and step via crucial making plans and layout concerns.
Extra resources for Automation through Chef Opscode: A Hands-on Approach to Chef
Sample text
U Installing chef on the nodes using a knife bootstrap operation. u Creating cookbooks. u Creating roles/environments or any other policies and then uploading them to the chef server. u Managing nodes using knife. Prerequisite Before we start with the installation, we must make sure we meet the prerequisites required to install and configure a workstation properly. u A working chef server with which we will configure our workstation. u Chef client requires at least 512MB of RAM, 15GB storage, and one vCPU (virtual CPU) running properly.
You will see a screen similar to the one in Figure 3-17 if the Installation is working properly. Figure 3-17. Testing successful Now the next step would be to set the network adapter of your virtual machine to bridged. It should look similar to what we see in Figure 3-18. 36 CHAPTER 3 N INSTALLATION Figure 3-18. Set network adapter as bridged Restart the network services of the virtual machine and run ifconfig command to get the IP address of the virtual machine as shown in Figure 3-19. Figure 3-19.
This client is used to register any node on the chef server. For example: validation_client_name “chef-validator” validation_key This option is used to specify the location of the validation key. pem” 60 CHAPTER 6 Working with Knife Knife is a command line utility that comes with chef and is used to interact with the chef server which is used to manage chef. Management in chef includes many tasks. u Managing nodes u Uploading cookbooks and recipes from the local chef repository to the chef server u Managing roles u Managing environments u Managing cloud resources which include provisioning on AWS (Amazon Web Services), Azure, or any other cloud provider u Bootstrapping chef on nodes Along with the aforementioned tasks, chef can be used to perform many other tasks which we discuss in the upcoming sections of this chapter.