Book Image

LEARNING PUPPET

Book Image

LEARNING PUPPET

Overview of this book

Table of Contents (17 chapters)
Learning Puppet
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building the load balancer node


Now we know how the cluster will look once the load balancer node has been added to the cluster. To create the load balancer node, we will first create a new virtual machine clone that will be used as the development environment for the load balancer Puppet module development. Let's get on with it then.

Cloning a new virtual machine for the load balancer

If you have any virtual machines running at the moment, I'd recommend to shut them down now to reduce the memory usage on the host computer. We will begin by creating a new clean virtual machine for the load balancer module development using the following steps:

  1. Select the virtual machine puppet-agent.

  2. Click the Snapshots button.

  3. Choose the puppet-agent-web snapshot.

  4. Click the Clone button.

  5. Provide a name for the new virtual machine, for example, puppet-agent-loadbalancer and tick the box Reinitialize the MAC address of all network cards.

  6. Click on Next.

  7. In the Clone type view, select Linked clone.

  8. Click on Clone.

  9. You...