Ubuntu 14.04 System Installation Foreman

Source: Internet
Author: User
Tags ruby on rails puppet labs

Foreman is an integrated data center lifecycle Management tool that provides service provisioning, configuration management, and reporting capabilities, as well as puppet Dahboard, Foreman is also a Ruby on Rails program. Foreman and Dashboard different place is that foreman more attention to the ability of service to open and manage data centers, such as the Boot tool, PXE boot server, DHCP server and server provisioning tools to integrate.

Foreman Machine Unified Management Platform

  • The foreman can be integrated with puppet, usually as a front-end access for puppet.

  • Foreman takes care of provisioning until the point puppet are running, allowing puppet to doing what it does best. (It's too hard to turn-_-!!)

  • Foreman can display system catalog information through the Facter component, and can provide real-time information from the puppet host report

  • Foreman can prepare you to manage all the work of the new machine. Its design goal is to be able to automate all manual management tasks and reconfigure the machine through foreman.

  • Foreman can manage large-scale (and of course small-scale), enterprise-class networks, possibly with many domains, subnets, and many puppet master nodes. Foreman can also implement the backtracking of the configuration version.

foreman can run on almost all popular  Linux  systems, such as:

    • rhel/centos/fedora/oracle Enterprise linux/scientific linux/der Linux operating system

    • suse/opensuse

    • debian/ubuntu

    • coreos

    • junos

Also supports many cloud providers, such as:

  • Vmware

  • Amazon EC2

  • Libvirt

  • OpenStack

  • OVirt and RHEV

  • Rackspace

  • Google Compute Engine

How to Install
OK, now let's go into the subject and follow the command below to enter, first switch to the Root account:
sudo su
or enter
Su

Enable the Puppet labs and Foreman libraries:

apt-get-y install ca-certificates
wget https://apt.puppetlabs.com/ Puppetlabs-release-trusty.deb
Dpkg-i puppetlabs-release-trusty.deb
Echo "Deb http://deb.theforeman.org/ Trusty 1.9 ">/etc/apt/sources.list.d/foreman.list
Echo" Deb Http://deb.theforeman.org/plugins 1.9 ">>/ Etc/apt/sources.list.d/foreman.list
Wget-q http://deb.theforeman.org/pubkey.gpg-o-| apt-key Add-

Update Source:

Apt-get Update

Download the Foreman-installer installation script:

Apt-get-y Install Foreman-installer

To run the Foreman installation command:

Foreman-installer

After a few minutes, you'll see the following output:

[...]

success!
* Foreman is running @ https://server.unixmen.local
Initial credentials is admin/jrpiwspsbxbdzv57
* Foreman Proxy is running at https://server.unixmen.local:8443
* puppetmaster are running at Port 8140
The full log is At/va R/log/foreman-installer/foreman-installer.log

Note the user name and password that are displayed in bold. Later we need to access the Foreman panel.

Configure Foreman

First, we need to enable "diffs", which will help you see the foreman report.

Edit/etc/puppet/puppet.conf File:

Vi/etc/puppet/puppet.conf

Locate the following line and modify it to ture:

[...]

Show_diff = True

[...]

Save and close the file.

Next, we need to add the Foreman host to the Foreman database. Run:
Puppet Agent--test

Output content:

warning:unable to fetch my node definition, but the agent run would continue:
Warning:error on S Erver:failed to find server1.unixmen.local via exec:execution of '/etc/puppet/node.rb server1.unixmen.local ' returned 1:
info:retrieving pluginfacts
info:retrieving plugin
info:caching catalog for server1.unixmen.local
Info : Applying configuration Version ' 1441613934 '
notice:finished catalog run in 0.22 seconds

Note: The Puppet version will display a warning message: The first time that the node can ' t is found. Ignore the warning to continue.

If you want to dive into the Linux system novice, you can also download a German Linux software center trial.
Free: Http://www.nfs-cloud.cn:81/appCenter/open/softcenter

Ubuntu 14.04 System installation Foreman

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.