Sponsored Content
Full Discussion: Configuration manager
Operating Systems Linux Configuration manager Post 302979782 by stomp on Friday 19th of August 2016 02:23:39 AM
Old 08-19-2016
Hi,

some thoughts at the moment:

  • I'm using opscode chef at the moment, because my chef advised me to do so. The learning curve is steep, but after I got it, it helped me a lot.
  • I'm very fond of the extensible data discovery called "OHAI" available within chef. Every system is inventorized with a high grade of details and you can write data collection modules yourself. The data is available everywhere within chef and outside too, which is extremeley useful. You want a list of software packages from every machine? You want to search for a specific MAC address in your comany? You want an individual hardware report for all your machines? No problem. The data only waits to be searched.
  • This configuration management adds a considerable extra amount of resource overhead to the machines if regularly executed or as an additional service that has to run.
  • Personally I like the method to not use configuration management at all, but an approach to only use self created packages to reach the same goal: Nice video about an existing solution here: OSDC 2013 | Schlomo Schapiro: Configuration Management and Linux Packages (ENG) - YouTube
    The piece of software behind the video is named YADT
  • What I dislike about chef is, that the platform support is limited to current mainstream linux distributions, which causes some older legacy distributions can not be managed with chef. What I also disklike are things that some extension package handles things in other ways the os doing it. E. g. the solid mysql-chef-gem(Yes it's based on ruby). sets up a system that allows multiple instances of mysql at the same machine and so setup of the mysql packages and the setup of the mysql-chef-way interferes with each other. That's why I'm not using the good chef-mysql extensions and stick to my own "recipes" here.

Last edited by stomp; 08-19-2016 at 01:03 PM.. Reason: added YADT-URL
 

7 More Discussions You Might Find Interesting

1. Debian

gnome file manager configuration question

Is there a way to configure the gnome file manager to open each directory in the same window instead of opening a new one? (Debian 5.0.0) (5 Replies)
Discussion started by: snorkack59
5 Replies

2. Solaris

RAID manager or veritas volume manager

Can somebody kindly help me to determine which one i should choose to better manipulate OS volume. RAID manager or veritas volume manager? Any critical differences between those two? Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies

3. Solaris

issues with Veritas volume manager configuration

hi all i am a newbie to solaris and i am doing some R&D in veritas volume manager. This is my first day with veritas. I downloaded and installed Veritas storage foundation 5.1 package in my sun solaris 5.10 sparc machine. When i try to create disk group in vxvm, it giving one error message. I am... (6 Replies)
Discussion started by: kingston
6 Replies

4. Solaris

Symantec/Veritas Volume Manager - subdisk * not in configuration

Hello, There once was a disk. Veritas thought it wasn't happy, but it really was. The disk was all alone on a plex. There was another plex, in the same volume, that was fine and happy with its own single disk. I removed the plex with the unhappy disk. Then I went into vxdiskadm, removed... (2 Replies)
Discussion started by: kity1kity
2 Replies

5. Filesystems, Disks and Memory

Backup Sun StorageTek Common Array Manager's configuration

In Sun manuals, I didn't find how to backup Sun StorageTek Common Array Manager's configuration. Is there a way to do it like backing up Brocade switch configuration? CAM is under Solaris 10. Thank you in advance! (0 Replies)
Discussion started by: aixlover
0 Replies

6. Red Hat

Configuration problem in virt-manager

HI, I use red hat linux ES 5. I start the virt-manager and add new guest host in it . But When I choose parXXX-virtuXXXXX ...not full-virtXXXx... I get below screen to fill installtion source Please indicate where installation media is available for the operating system you would like to... (1 Reply)
Discussion started by: chuikingman
1 Replies

7. UNIX for Advanced & Expert Users

Please advise configuration manager

Hello Dears, I am up to install configuration manager as the number of Linux systems are growing alot in my company. can please advise any of them? Puppet, spicewalk ansilble etc.. please share you opinion. My aim is to have config manager to automate/provision systems and to have inventory... (1 Reply)
Discussion started by: Vit0_Corleone
1 Replies
KNIFE-BOOTSTRAP(1)						    Chef Manual 						KNIFE-BOOTSTRAP(1)

NAME
knife-bootstrap - Install Chef Client on a remote host SYNOPSIS
knife bootstrap (options) -i, --identity-file IDENTITY_FILE The SSH identity file used for authentication -N, --node-name NAME The Chef node name for your new node -P, --ssh-password PASSWORD The ssh password -x, --ssh-user USERNAME The ssh username -p, --ssh-port PORT The ssh port --bootstrap-version VERSION The version of Chef to install --bootstrap-proxy PROXY_URL The proxy server for the node being bootstrapped --prerelease Install pre-release Chef gems -r, --run-list RUN_LIST Comma separated list of roles/recipes to apply --template-file TEMPLATE Full path to location of template to use --sudo Execute the bootstrap via sudo -d, --distro DISTRO Bootstrap a distro using a template --[no-]host-key-verify Enable host key verification, which is the default behavior. DESCRIPTION
Performs a Chef Bootstrap on the target node. The goal of the bootstrap is to get Chef installed on the target system so it can run Chef Client with a Chef Server. The main assumption is a baseline OS installation exists. This sub-command is used internally by some cloud com- puting plugins. The bootstrap sub-command supports supplying a template to perform the bootstrap steps. If the distro is not specified (via -d or --distro option), an Ubuntu 10.04 host bootstrapped with RubyGems is assumed. The DISTRO value corresponds to the base filename of the template, in other words DISTRO.erb. A template file can be specified with the --template-file option in which case the DISTRO is not used. The sub-com- mand looks in the following locations for the template to use: o bootstrap directory in the installed Chef Knife library. o bootstrap directory in the $PWD/.chef. o bootstrap directory in the users $HOME/.chef. The default bootstrap templates are scripts that get copied to the target node (FQDN). The following distros are supported: o centos5-gems o fedora13-gems o ubuntu10.04-gems o ubuntu10.04-apt The gems installations will use RubyGems 1.3.6 and Chef installed as a gem. The apt installation will use the Opscode APT repository. In addition to handling the software installation, these bootstrap templates do the following: o Write the validation.pem per the local knife configuration. o Write a default config file for Chef (/etc/chef/client.rb) using values from the knife.rb. o Create a JSON attributes file containing the specified run list and run Chef. In the case of the RubyGems, the client.rb will be written from scratch with a minimal set of values; see EXAMPLES. In the case of APT Package installation, client.rb will have the validation_client_name appended if it is not set to chef-validator (default config value), and the node_name will be added if chef_node_name option is specified. When this is complete, the bootstrapped node will have: o Latest Chef version installed from RubyGems or APT Packages from Opscode. This may be a later version than the local system. o Be validated with the configured Chef Server. o Have run Chef with its default run list if one is specfied. Additional custom bootstrap templates can be created and stored in .chef/bootstrap/DISTRO.erb, replacing DISTRO with the value passed with the -d or --distro option. See EXAMPLES for more information. EXAMPLES
Setting up a custom bootstrap is fairly straightforward. Create a .chef/bootstrap directory in your Chef Repository or in $HOME/.chef/boot- strap. Then create the ERB template file. mkdir ~/.chef/bootstrap vi ~/.chef/bootstrap/debian5.0-apt.erb For example, to create a new bootstrap template that should be used when setting up a new Debian node. Edit the template to run the com- mands, set up the validation certificate and the client configuration file, and finally to run chef-client on completion. The bootstrap template can be called with: knife bootstrap mynode.example.com --template-file ~/.chef/bootstrap/debian5.0-apt.erb Or, knife bootstrap mynode.example.com --distro debian5.0-apt The --distro parameter will automatically look in the ~/.chef/bootstrap directory for a file named debian5.0-apt.erb. Templates provided by the Chef installation are located in BASEDIR/lib/chef/knife/bootstrap/*.erb, where BASEDIR is the location where the package or Gem installed the Chef client libraries. BUGS
knife bootstrap is not capable of bootstrapping multiple hosts in parallel. The bootstrap script is passed as an argument to sh(1) on the remote system, so sensitive information contained in the script will be visi- ble to other users via the process list using tools such as ps(1). SEE ALSO
knife-ssh(1) AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community. DOCUMENTATION
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this docu- ment under the terms of the Apache 2.0 License. CHEF
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home Chef 10.12.0 June 2012 KNIFE-BOOTSTRAP(1)
All times are GMT -4. The time now is 10:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy