Beruflich Dokumente
Kultur Dokumente
This document describes how to install Enterprise Chef, and all three of the current add-ons for
both Ubuntu & RHEL-based hosts. It includes a description of each command, and then the
command itself to accommodate for the dierent OSs, as well as example package filenames,
and a way to Verify successful installations for each component. NOTEs have also been added
to connect you with additional or option information on a given topic.
NOTE: Enterprise Chef can be configured in several ways to support a "Scaled Front End" (API
handling/web interface) topology, a "Scaled Back End" (node information/user databases)
topology, a "Standalone" topology (bother fron & back ends are on a single system), and a
"High Availability" topology (both scaled front & back ends).
This guide covers the installation of a Chef Server on a single system (referred to as
"Standalone").
Prerequisites
Greater detail regarding prerequisites for installing Enterprise Chef can be found on the Docs
Site but is meant to be a more concise document.
If you don't already have packages, you will need to contact Chef Sales or your sales
representative.
4 platform-specific packages are required (example package filenames given):
Enterprise Chef (private-chef-x.x.x-x)
Reporting (opscode-reporting-x.x.x-x)
Push Jobs (opscode-push-jobs-server_x.x.x-x)
Management Console (opscode-manage_x.x.x-x)
The push-jobs cookbook:
Downloaded directly from Amazon S3
Or from the Community Site
The separate push-jobs-client packages (example package filenames given):
opscode-push-jobs-client-x.x.x-x
Minimum System requirements:
Operating Systems:
Red Hat Enterprise Linux 6.2 or newer
CentOS 6.2 or newer
Ubuntu Linux 10.04, 11.04, 12.04
At Minimum:
4 cores, 2.0 GHz AMD 41xx/61xx or Intel Xeon 5000/E5 CPUs
4 GB RAM
5 GB free in /opt
5 GB free in /var
Ensure no previous versions of Open Source Chef or Enterprise Chef server are currently
installed. A fresh OS is recommended.
sudo yum list | grep -E 'chef|opscode'
sudo dpkg --get-selections | grep -E 'chef|opscode'
Verify:
Run the built-in tests:
sudo private-chef-ctl test
Installing Reporting
On the Chef Server
Install the package:
sudo rpm -Uvh opscode-reporting-x.x.x-x.elx.x86_64.rpm
sudo dpkg -i opscode-reporting_x.x.x-x.ubuntu.xx.xx_amd64.deb
Verify:
Run the built-in tests:
sudo opscode-reporting-ctl test
Run chef-client -l info on a node and look for: INFO: Sending
resource update report near the end of the output ("Reporting" enabled in
Verify:
Attempt to run the following:
knife runs --help NOTE: See the Docs site page for more instructions
on using the knife runs subcommand provided by knifereporting .
Verify:
Run the built-in tests:
opscode-push-jobs-server-ctl test
On the Node
NOTE: the Push Jobs client can be installed either through the use of the push-jobs
cookbook (described in the On the Workstation section below), or via some either means,
using the push-jobs-client packages directly. At this time, Push Jobs can only be run on 64bit nodes.
Install via the push-jobs-client packages:
sudo rpm -Uvh opscode-push-jobs-client-x.x.x-x.elx.x86_64.rpm
sudo dpkg -i opscode-push-jobs-client_x.x.xx.ubuntu.xx.xx_amd64.deb
Verify:
Confirm that the Pushy Client Service is running on the node
On the Workstation
Install the knife-push gem:
gem install knife-push
Verify:
Attempt to run the following:
knife job --help NOTE: See the Docs site page for instructions on
using the knife job subcommand provided by knife-push .
(Optional) If you are installing the push-jobs-client via the push-jobs cookbook:
Download the push-jobs cookbook either from the community site using
knife cookbook site install push-jobs from within your chefrepo
run
Run chef-client (to setup the "opscode-push-jobs-client" service on the node)
Verify:
Confirm that the Chef Server can communicate with the node:
Run knife node status on the workstation and look for node_name
available in the output
Verify:
Visit Chef Server url:
Create first user through the "Sign up" link
DISCLAIMER: These instructions were authored and tested with Enterprise Chef version
11.1.6, Reporting version 1.2.0, Management Console version 1.3.1, and the Push Jobs
Server version 1.1.2, the Push Jobs Client version 1.1.1, the knife-push Ruby gem version
0.5.0, the knife-reporting Ruby gem version 0.3.2, and the push-jobs cookbook 2.2.0. But
these instructions should apply to future versions of each.
If you have any questions of feedback on this document, please contact sales@getchef.com.
2008-2014 Chef. All
Rights Reserved.
1008 Western
Ave #600
Seattle, WA
98104
tel: 206508-4799
fax: 206223-2770