Sponsored Content
Operating Systems AIX Chef client on VIOs? How do you manage your VIO configs? Post 303038659 by RecoveryOne on Tuesday 10th of September 2019 01:43:36 PM
Old 09-10-2019
Chef client on VIOs? How do you manage your VIO configs?

I know the VIOs are generally to be treated as an appliance and one should never drop down to oem_setup_env. In reality however, oem is a very useful tool to get the job done. So that leads me into the question of using the Chef client on a VIO.

Currently a big push to manage all our *nix infrastructure with a compliance as code type of tool. Make sure there's odm alerts, ntp is set, whole list of other things. And force a box back into compliance if its out of spec. In past this was managed by each lpar holding a directory with scripts and items added to the appropriate places.

Has anyone tried to run the Chef client on the VIO? I see that the AIX cookbook has a nimviosupdate to help build resources. However, I am not finding a lot of information about actual customers running the client on the VIO in a production setting. So, has anyone ran the Chef client on the VIO? Did you have any issues with IBM support if they noticed the client running? Looking at the supported software solutions I see that the puppet client is supported, but no mention of Chef. In a document by Paul Finley from 2016, there is mention of VIOS Patch management with Chef but unable to find anything beyond that.

So part two of my question:
If you are not running any sort of configuration management on the VIOs, then how are you controlling the configs for your VIOs?

In the past, each VIO was built as needed but DNS servers retire and new ones get put into place. Search domains same thing. We've even had to change our NTP server. Doing this all by hand is tedious.

Thanks everyone!
 

7 More Discussions You Might Find Interesting

1. AIX

vio server and vio client

Hi, I want to know wheather partition size for installation of vio client can be specified on vio server example If I am installing vio server on blade with 2*300gb hard disk,after that I want to create 2 vio client (AIX Operating system) wheather I can specify hard disk size while... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. AIX

rebooting vio client

Hi, I would like to reboot vio client but I am not able to access vio client(I am not able to get putty) , I am able to get putty of vio server, is there any command by using which from vio server I can reboot vio client? (3 Replies)
Discussion started by: manoj.solaris
3 Replies

3. AIX

Finding cpu information on vio client

Hi, I am having single p series blade with Single Physcial CPU with dual core, on that vio server is installed, I have created vio client allocate 0.9 each cpu , now when I am running prtconf command on vio client it is showing "2" no of processor, My query using which command it will... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

4. AIX

Unable to connect VIO client

Hi I am facing very strange issue on my vio server 5 vio clients are confgured, now I am to connect 3 vio client , i am unable to connect 2 vio client my ip address,subnet mask,gateway is correct. i have rebooted and reconfigured the ip address, but issue is persists. Kindly suggest how to... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

5. AIX

how will i know if a lun has been already mapped to a vio client

Hi im logged in to the vio servers now. when i give # lspv | wc -l i get the count as 6246 how will i know if a lun has been already mapped to a vio client or it is left free without mapping to any of the vio client ? (1 Reply)
Discussion started by: newtoaixos
1 Replies

6. AIX

vio server ethernet to vio client ethernet(concepts confusing)

Hi In the vio server when I do # lsattr -El hdisk*, I get a PVID. The same PVID is also seen when I put the lspv command on the vio client partition. This way Im able to confirm the lun using the PVID. Similarly how does the vio client partition gets the virtual ethernet scsi client adapter... (1 Reply)
Discussion started by: newtoaixos
1 Replies

7. AIX

cdrom confusion on the vio client lpar

Hi In my vio server I have the below output $ lsvopt | grep -i SAPSITGS sapsitgs_cdrom TL12UP.iso 3182 In my vio client lpar I have the below output root@sapsitgs:/ # lsdev -Cc cdromcd0 Available Virtual SCSI Optical Served by VIO Server cd1... (1 Reply)
Discussion started by: newtoaixos
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 11:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy