Sponsored Content
Operating Systems AIX Chef client on VIOs? How do you manage your VIO configs? Post 303039646 by zxmaus on Friday 11th of October 2019 01:17:49 AM
Old 10-11-2019
no issues but as I said we just reinstalled them a couple of weeks ago to 3.1.0.21 so they are latest and greatest. But so far chef is doing a great job updating the root password, /etc/resolv.conf and other files to our standards - and it has not yet killed a box Smilie I am not sure how a 2000 day old VIOS would behave (not to mention that I am pretty sure that version is no longer supported by IBM since a while anyways - what do you have, 2.5.x?. Do you have any physical box with similar old OS you could try if it would generally work for that OS version? I am more of a chef user, so all I do is install the client software and run it and check afterwards that the initial run did what it was supposed to do Smilie
 

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-ENVIRONMENT(1)						    Chef Manual 					      KNIFE-ENVIRONMENT(1)

NAME
knife-environment - Define cookbook policies for the environments in your infrastructure SYNOPSIS
knife environment sub-command (options) SUBCOMMANDS
Environment subcommands follow a basic create, read, update, delete (CRUD) pattern. The following subcommands are available: CREATE
knife environment create environment (options) -d, --description DESCRIPTION The value of the description field. Create a new environment object on the Chef Server. The envrionment will be opened in the text editor for editing prior to creation if the -n option is not present. DELETE
knife environment delete environment (options) Destroy an environment on the Chef Server. A prompt for confirmation will be displayed if the -y options is not given. EDIT
knife environment edit environment (options) Fetch environment and display it in the text editor for editing. The environment will be saved to the Chef Server when the editing session exits. FROM FILE
knife environment from file file (options) Create or update an environment from the JSON or Ruby format file. See format for the proper format of this file. LIST
knife environment list (options) * -w, --with-uri: Show the resource URI for each environment SHOW
knife environment show environment (options) DESCRIPTION
Environments provide a means to apply policies to hosts in your infrastructure based on business function. For example, you may have a sep- arate copy of your infrastructure called "dev" that runs the latest version of your application and should use the newest versions of your cookbooks when configuring systems, and a production instance of your infrastructure where you wish to update code and cookbooks in a more controlled fashion. In Chef, this function is implemented with environments. Environments contain two major components: a set of cookbook version constraints and environment attributes. SYNTAX
A cookbook version constraint is comprised of a cookbook name and a version constraint. The cookbook name is the name of a cookbook in your system, and the version constraint is a String describing the version(s) of that cookbook allowed in the environment. Only one version con- straint is supported for a given cookbook name. The exact syntax used to define a cookbook version constraint varies depending on whether you use the JSON format or the Ruby format. In the JSON format, the cookbook version constraints for an environment are represented as a single JSON object, like this: {"apache2": ">= 1.5.0"} In the Ruby format, the cookbook version contraints for an environment are represented as a Ruby Hash, like this: {"apache2" => ">= 1.5.0"} A version number is a String comprised of two or three digits separated by a dot (.) character, or in other words, strings of the form "major.minor" or "major.minor.patch". "1.2" and "1.2.3" are examples of valid version numbers. Version numbers containing more than three digits or alphabetic characters are not supported. A version constraint String is composed of an operator and a version number. The following operators are available: = VERSION Equality. Only the exact version specified may be used. > VERSION Greater than. Only versions greater than VERSION may be used. >= VERSION Greater than or equal to. Only versions equal to VERSION or greater may be used. < VERSION Less than. Only versions less than VERSION may be used. <= VERSION Less than or equal to. Only versions lesser or equal to VERSION may be used. ~> VERSION Pessimistic greater than. Depending on the number of components in the given VERSION, the constraint will be optimistic about future minor or patch revisions only. For example, ~> 1.1 will match any version less than 2.0 and greater than or equal to 1.1.0, whereas ~> 2.0.5 will match any version less than 2.1.0 and greater than or equal to 2.0.5. FORMAT
The JSON format of an envioronment is as follows: { "name": "dev", "description": "The development environment", "cookbook_versions": { "couchdb": "= 11.0.0" }, "json_class": "Chef::Environment", "chef_type": "environment", "default_attributes": { "apache2": { "listen_ports": [ "80", "443" ] } }, "override_attributes": { "aws_s3_bucket": "production" } } The Ruby format of an environment is as follows: name "dev" description "The development environment" cookbook_versions "couchdb" => "= 11.0.0" default_attributes "apache2" => { "listen_ports" => [ "80", "443" ] } override_attributes "aws_s3_bucket" => "production" SEE ALSO
knife-node(1) knife-cookbook(1) knife-role(1) http://wiki.opscode.com/display/chef/Environments http://wiki.opscode.com/display/chef/Ver- sion+Constraints AUTHOR
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community. DOCUMENTATION
This manual page was written by Daniel DeLeo dan@opscode.com. Permission is granted to copy, distribute and / or modify this document 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-ENVIRONMENT(1)
All times are GMT -4. The time now is 08:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy