Tuesday, 12 June 2012

puppet master installation in RHEL 5

I have installed puppet enterprise along with dns.


[root@puppet ~]# ./puppet-enterprise-2.5.1-el-5-i386/puppet-enterprise-installer
================================================================================

Puppet Enterprise v2.5.1 installer

Puppet Enterprise documentation can be found at http://links.puppetlabs.com/puppet_enterprise_2.5_documentation

--------------------------------------------------------------------------------



STEP 1: SELECT AND CONFIGURE ROLES

   This installer will offer to install the puppet master, console, cloud
   provisioner, and puppet agent roles.

-> puppet master

   The puppet master serves configurations to a group of puppet agent nodes.
   This role also provides MCollective's message queue and client interface.
   It should be installed on a robust, dedicated server.

?? Install puppet master? [y/N] y

-> cloud provisioner

   The cloud provisioner can create and bootstrap new machine instances and
   add them to your Puppet infrastructure. It should be installed on a
   trusted node where site administrators have shell access.

?? Install the cloud provisioner? [y/N] y

-> console

   The console is a web interface for viewing reports, classifying nodes,
   directly managing resources, controlling Puppet runs, and invoking
   MCollective agents. It should usually be installed on the puppet master
   server, but can also installed separately.

?? Install the console? [Y/n] y

-> puppet agent

   The puppet agent role is automatically installed with the console, puppet
   master, and cloud provisioner roles.

?? The puppet master's certificate will contain a unique name ("certname");
   this should be the main DNS name at which it can be reliably reached.
   Puppet master's certname? [Default: puppet.anjan.local]
?? The puppet master's certificate can contain DNS aliases; agent nodes will
   only trust the master if they reach it at its certname or one of these
   official aliases. Puppet master's DNS aliases (comma-separated list)?
   [Default: puppet,puppet.anjan.local]
?? Admin email address (will be used as account name) for accessing the
   console interface? root@puppet.anjan.local
?? Password for user root@puppet.anjan.local (minimum 8 characters)?
Confirm Password:
?? The console requires a MySQL database server. Install a new database
   server from your operating system's repository? [Y/n] y
?? The new MySQL server software has a 'root' user account; what should its
   password be (minimum 4 characters)?
Confirm Password:

   The console requires an SMTP server to email account information to
   users.
?? What is the name of your SMTP server? puppet.anjan.local
?? Console database name? [Default: console]
?? Console database user? [Default: console]
?? Database user password (minimum 4 characters)?
Confirm Password:
!! ERROR: Password mismatch: Please try again
?? Database user password (minimum 4 characters)?
Confirm Password:
?? What is the name of the authentication database? [Default: console_auth]
?? What is the name of the user authentication database user? [Default:
   console_auth]
?? What is the password for console_auth (the user authentication database
   user)?
Confirm Password:

-> Vendor Packages

   The installer has detected that Puppet Enterprise requires additional
   packages from your operating system vendor's repositories, and can
   automatically install them. If you choose not to install these packages
   automatically, the installer will exit so you can install them manually.

   Additional vendor packages required for installation:
   * jre >= 1.6.0
   * mysql
   * mysql-server

?? Install these packages automatically? [Y/n] y

-> Convenience Links

   The selected Puppet software will be installed into "/opt/puppet", which
   may not be included in your default shell PATH. For ease of use, this
   installer can create symbolic links to these executables in
   "/usr/local/bin".

?? Create symbolic links to Puppet executables in "/usr/local/bin"? [Y/n] y

--------------------------------------------------------------------------------

STEP 2: CONFIRM PLAN

You have selected to install the following components (and their dependencies)
* Puppet Master
* Console
* Cloud Provisioner
* Puppet Agent

?? Perform installation? [Y/n] y

## Saved answers to file: ./puppet-enterprise-2.5.1-el-5-i386/answers.lastrun.puppet.anjan.local

================================================================================
## Saved answers to file: /etc/puppetlabs/installer/answers.install
Created: /etc/puppetlabs/facter/facts.d

--------------------------------------------------------------------------------

STEP 3: INSTALL PACKAGES

## Installing packages from repositories...
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-openjdk.i386 1:1.6.0.0-1.2.b09.el5 set to be updated
--> Processing Dependency: jpackage-utils >= 1.7.3-1jpp.2 for package: java-1.6.0-openjdk
--> Processing Dependency: libgif.so.4 for package: java-1.6.0-openjdk
---> Package mysql.i386 0:5.0.77-3.el5 set to be updated
--> Processing Dependency: perl(DBI) for package: mysql
---> Package mysql-server.i386 0:5.0.77-3.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
---> Package giflib.i386 0:4.1.3-7.1.el5_3.1 set to be updated
---> Package jpackage-utils.noarch 0:1.7.3-1jpp.2.el5 set to be updated
---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated
---> Package perl-DBI.i386 0:1.52-2.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch       Version                     Repository  Size
================================================================================
Installing:
 java-1.6.0-openjdk     i386       1:1.6.0.0-1.2.b09.el5       Server      28 M
 mysql                  i386       5.0.77-3.el5                Server     4.8 M
 mysql-server           i386       5.0.77-3.el5                Server     9.8 M
Installing for dependencies:
 giflib                 i386       4.1.3-7.1.el5_3.1           Server      39 k
 jpackage-utils         noarch     1.7.3-1jpp.2.el5            Server      61 k
 perl-DBD-MySQL         i386       3.0007-2.el5                Server     147 k
 perl-DBI               i386       1.52-2.el5                  Server     605 k

Transaction Summary
================================================================================
Install      7 Package(s)        
Update       0 Package(s)        
Remove       0 Package(s)        

Total download size: 44 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           3.6 GB/s |  44 MB     00:00    
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : perl-DBI                                                 1/7
  Installing     : jpackage-utils                                           2/7
  Installing     : mysql                                                    3/7
  Installing     : perl-DBD-MySQL                                           4/7
  Installing     : giflib                                                   5/7
  Installing     : mysql-server                                             6/7
  Installing     : java-1.6.0-openjdk                                       7/7

Installed:
  java-1.6.0-openjdk.i386 1:1.6.0.0-1.2.b09.el5    mysql.i386 0:5.0.77-3.el5  
  mysql-server.i386 0:5.0.77-3.el5               

Dependency Installed:
  giflib.i386 0:4.1.3-7.1.el5_3.1     jpackage-utils.noarch 0:1.7.3-1jpp.2.el5
  perl-DBD-MySQL.i386 0:3.0007-2.el5  perl-DBI.i386 0:1.52-2.el5              

Complete!
## Installing packages from files...
Preparing...                ########################################### [100%]
   1:pe-puppet-enterprise-re########################################### [  2%]
   2:pe-ruby-libs           ########################################### [  4%]
   3:pe-ruby                ########################################### [  5%]
   4:pe-httpd               ########################################### [  7%]
   5:pe-ruby-mysql          ########################################### [  9%]
   6:pe-facter              ########################################### [ 11%]
   7:pe-ruby-irb            ########################################### [ 13%]
   8:pe-ruby-rdoc           ########################################### [ 14%]
   9:pe-rubygems            ########################################### [ 16%]
  10:pe-rubygem-stomp       ########################################### [ 18%]
  11:pe-rubygem-rake        ########################################### [ 20%]
  12:pe-mcollective-common  ########################################### [ 21%]
  13:pe-rubygem-rack        ########################################### [ 23%]
  14:pe-httpd-passenger     ########################################### [ 25%]
  15:pe-rubygem-activesuppor########################################### [ 27%]
  16:pe-rubygem-activerecord########################################### [ 29%]
  17:pe-rubygem-builder     ########################################### [ 30%]
  18:pe-rubygem-excon       ########################################### [ 32%]
  19:pe-rubygem-formatador  ########################################### [ 34%]
  20:pe-rubygem-guid        ########################################### [ 36%]
  21:pe-rubygem-mime-types  ########################################### [ 38%]
  22:pe-rubygem-multi-json  ########################################### [ 39%]
  23:pe-rubygem-net-ssh     ########################################### [ 41%]
  24:pe-rubygem-net-scp     ########################################### [ 43%]
  25:pe-rubygem-nokogiri    ########################################### [ 45%]
  26:pe-rubygem-rbvmomi     ########################################### [ 46%]
  27:pe-rubygem-ruby-hmac   ########################################### [ 48%]
  28:pe-rubygem-fog         ########################################### [ 50%]
  29:pe-rubygem-trollop     ########################################### [ 52%]
  30:pe-ruby-shadow         ########################################### [ 54%]
  31:pe-puppet              ########################################### [ 55%]
  32:pe-rubygem-hiera       ########################################### [ 57%]
  33:pe-augeas-libs         ########################################### [ 59%]
  34:pe-tanukiwrapper       ########################################### [ 61%]
  35:pe-activemq            ########################################### [ 63%]
  36:pe-augeas              ########################################### [ 64%]
  37:pe-rubygem-hiera-puppet########################################### [ 66%]
  38:pe-cloud-provisioner   ########################################### [ 68%]
  39:pe-puppet-server       ########################################### [ 70%]
  40:pe-mcollective         ########################################### [ 71%]
  41:pe-mcollective-client  ########################################### [ 73%]
  42:pe-rubygem-stomp-doc   ########################################### [ 75%]
  43:pe-ruby-augeas         ########################################### [ 77%]
  44:pe-ruby-ldap           ########################################### [ 79%]
  45:pe-ruby-ri             ########################################### [ 80%]
  46:pe-mod_ssl             ########################################### [ 82%]
  47:pe-libevent            ########################################### [ 84%]
  48:pe-memcached           ########################################### [ 86%]
  49:pe-puppet-dashboard    ########################################### [ 88%]
  50:pe-rubygem-sinatra     ########################################### [ 89%]
  51:pe-console-auth        ########################################### [ 91%]
  52:pe-rubygem-ar-extension########################################### [ 93%]
  53:pe-rubygem-dalli       ########################################### [ 95%]
  54:pe-live-management     ########################################### [ 96%]
  55:pe-puppet-dashboard-bas########################################### [ 98%]

  56:pe-rubygem-tilt        ########################################### [100%]
## Setting up puppet master...
## Checking the agent certificate name detection...
## Setting up puppet agent...
## Setting up the console...
## Starting http server for puppet master and console.
## Creating symbolic links in "/usr/local/bin"...
Generating collective password...
Running puppet apply to configure MCollective ...
MCollective configuration is complete ...

--------------------------------------------------------------------------------

STEP 4: DONE

Thanks for installing Puppet Enterprise!
   Puppet Enterprise has been installed to "/opt/puppet," and its
   configuration files are located in "/etc/puppetlabs".
## Answers from this session saved to './puppet-enterprise-2.5.1-el-5-i386/answers.lastrun.puppet.anjan.local'

================================================================================

The console can be reached at the following URI:
 *  https://puppet.anjan.local:443

   If you have a firewall running, please ensure the following TCP ports are
   open: 8140, 61613, 443
   WARNING: This system has 1010.88 MB of memory, which is below the minimum
   requirement of 1 GB for the puppet master role. You can attempt to use
   this system as a puppet master, but will probably experience serious
   problems unless you increase its memory.

=========================================================================

No comments:

Post a Comment