Haproxy is a popular open-source load balancer. Robin discusses how to use and deploy an haproxy cookbook for high availability in your Chef configurations.
- [Instructor] Now that you've written the default recipe…for your load balancer cookbook, myhaproxy,…and uploaded it to your Chef server,…we're ready to bootstrap a new node.…You might check and make sure you've got…all these pieces in place.…At this point, we left off running a knife cookbook list…in order to make sure that our cookbooks…are all on the Chef server and available.…You'll see myhaproxy is listed at the 0.1.0 version.…
Now, I also want to make sure my nodes are ready.…You'll see when running knife node list that I have…two web servers, the same ones that I've plugged in,…their public host names and public IP addresses…to our myhaproxy cookbook.…Now I'm ready to bootstrap a new node.…Do you remember the bootstrapping process?…To bootstrap a node, remember, we use the knife bootstrap…command and supply the FQDN or the public IP address…for this new node.…
We'll also need to authenticate to it,…specify the --sudo option, and we'll give our node a name.…I'm going to call it load-balancer.…We'll also specify the run list.…
- Configuration management
- Using Chef
- Installing the Chef development kit (ChefDK)
- Provisioning a CentOS instance
- Using recipes and the Apache cookbook
- Working with nodes and node objects
- Using templates and embedded Ruby
- Hosting a Chef server
- Provisioning nodes with AWS
- Testing deployments with Kitchen
- Exploring the Chef Supermarket
- Resolving dependencies with Berkshelf
- Working with server roles, environments, and data bags
Skill Level Beginner
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Started with Chef
2. From Recipes to Cookbooks
3. The Chef Server
4. Going Full Scale
Next steps3m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.